Skip to content

Instantly share code, notes, and snippets.

View sheenobu's full-sized avatar
🙃
smug

Sheena Artrip sheenobu

🙃
smug
View GitHub Profile
@btbytes
btbytes / nixos-levelup.md
Created February 16, 2016 18:11
Nix/NixOS leveling up

Leveling up with NixOS

I think NixOS/Nix have what I call as the "Scala/Haskell/$AlienLookingTechnology problem" (and it does not help that there is a large overlap between the these communities); that is, there are things about the technology that I really like and would like to start using immediately, but then come across a blog post, a piece of code that is so over my head that I back off and go do something else. I had this problem with Scala till I read Martin Odersky's "Scala levels: beginner to expert, application programmer to library designer"

@drkarl
drkarl / gist:739a864b3275e901d317
Last active October 17, 2023 10:43
Ask HN: Best Linux server backup system?

Linux Backup Solutions

I've been looking for the best Linux backup system, and also reading lots of HN comments.

Instead of putting pros and cons of every backup system I'll just list some deal-breakers which would disqualify them.

Also I would like that you, the HN community, would add more deal breakers for these or other backup systems if you know some more and at the same time, if you have data to disprove some of the deal-breakers listed here (benchmarks, info about something being true for older releases but is fixed on newer releases), please share it so that I can edit this list accordingly.

  • It has a lot of management overhead and that's a problem if you don't have time for a full time backup administrator.
@otherjoel
otherjoel / webmention.php
Last active February 20, 2023 20:57 — forked from adactio/webmention.php
Add simple file logging
<?php
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
# http://creativecommons.org/publicdomain/zero/1.0/
#
# Webmention Emailer
# ------------------
#
# An incremental evolution of Jeremy Keith's "minimum viable" webmention,
# I've added some minimal code to have webmentions emailed to an address

Keybase proof

I hereby claim:

  • I am erynofwales on github.
  • I am erynofwales (https://keybase.io/erynofwales) on keybase.
  • I have a public key whose fingerprint is 7BDF 859E 4100 1C15 1A9F 0B11 FF6C 66F5 E56D 0154

To claim this, I am signing this object:

@edeustace
edeustace / remove_namespaces.scala
Created December 26, 2013 14:20
scala remove namespaces
val xml = <item name="ed" test="true"
xmlns="http://www.somenamespace.com"
xmlns:xsi="http://www.somenamespace.com/XMLSchema-instance">
<blah>
<node>value</node>
</blah>
</item>
import scala.xml._
@wsargent
wsargent / docker_cheat.md
Last active August 31, 2023 12:10
Docker cheat sheet
@jlfwong
jlfwong / RequireJSsubprocess.md
Created September 29, 2013 19:24
Require JS Subprocess Rubber Ducky Log

Building the package! RequireJS plugin, I'm getting weird side effect problems.

Requiring a package first:

> require(["package!issues.js"]); null
null
Require Package: issues.js package_loader_plugin.js?bust=1379092758956:96
XHR finished loading: "http://localhost:1234/javascript-packages.json".

jquery.js?bust=1379092758956:8526

@trinitronx
trinitronx / truecrypt_fix.bash
Last active April 27, 2023 15:45 — forked from jimjh/truecrypt_fix.bash
Fixes annoying brew doctor messages caused by Truecrypt
#!/bin/bash
libs=( "/usr/local/lib/libmacfuse_i32.2.dylib" \
"/usr/local/lib/libosxfuse_i32.2.dylib" \
"/usr/local/lib/libosxfuse_i64.2.dylib" \
"/usr/local/lib/libmacfuse_i64.2.dylib" \
"/usr/local/lib/libosxfuse_i32.la" \
"/usr/local/lib/libosxfuse_i64.la" \
"/usr/local/lib/pkgconfig/osxfuse.pc" )
@dsdstudio
dsdstudio / ipojo.gradle
Last active October 1, 2018 16:39
gradle -> felix-ipojo bytecode manipulation
apply plugin: "osgi"
apply plugin: "java"
apply plugin: "maven"
version = "0.0.1"
buildscript {
repositories {
mavenCentral()
}