This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# lamp | |
# | |
augment() { | |
# ls! | |
sed -i 's/alias l=.*/l() { ls -alh --group-directories "$@"; }/' rootfs/root/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = Model | |
var events = require('events') | |
var inherits = require('inherits') | |
var queue = require('queue') | |
inherits(Model, events.EventEmitter) | |
function Model (storage, data) { | |
this.id = storage.key() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am jessetane on github. | |
* I am jessetane (https://keybase.io/jessetane) on keybase. | |
* I have a public key whose fingerprint is C9C3 DBDE 2175 5791 D23E F7D4 5BDD 3A6B 8AC9 2EBD | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hg = require('hyperglue2') | |
var html = '<div><ul><li></li></ul></div>'; | |
var el = hg(html, { li: [ 1, 2, 3 ] }); | |
console.log(el); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ c=jt | |
+ configfile=/var/lib/lxc/jt/config | |
+ d=/sys/fs/cgroup | |
+ d2=/usr/lib/x86_64-linux-gnu/lxc//sys/fs/cgroup | |
+ lxcpath= | |
+ '[' '!' -d /sys/fs/cgroup ']' | |
+ mount -n -t tmpfs tmpfs /usr/lib/x86_64-linux-gnu/lxc//sys/fs/cgroup | |
++ /bin/ls /sys/fs/cgroup | |
+ for dir in '`/bin/ls $d`' | |
+ '[' cgmanager = devices ']' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main | |
lxc.network.type = veth | |
lxc.network.mtu = 1462 | |
lxc.network.flags = up | |
lxc.network.link = br0 | |
lxc.rootfs = /var/lib/lxc/arch/rootfs | |
lxc.utsname = arch | |
lxc.network.hwaddr = 00:03:26:a4:a7:56 | |
lxc.arch = amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var queue = require('queue'); | |
function Fetcher() { | |
this.fetch = this.fetch.bind(this); | |
} | |
Fetcher.prototype.fetch = function(cb) { | |
var self = this; | |
// for our example, make sure all jobs timeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var queue = require('queue'); | |
function Fetcher() { | |
this.fetch = this.fetch.bind(this); | |
} | |
Fetcher.prototype.fetch = function(cb) { | |
var self = this; | |
// for our example, make sure all jobs timeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
# infos | |
artist="Kanye West" | |
album="Yeezus" | |
tracks=( | |
"On Sight" | |
"Black Skinhead" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8082; | |
return 404; | |
} | |
server { | |
server_name nginx.website.com; | |
listen 8082; | |
root /home/ubuntu/website.com/builds/nginx/www; | |
index index.php index.html; |