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
while inotifywait -e MODIFY -r $HOME 2> /dev/null | |
do | |
bundle exec nanoc compile | |
done; |
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/sh | |
git rebase --interactive --autosquash \ | |
$(git merge-base $(git symbolic-ref --short HEAD) master) |
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
function celebrate(emoji, length) { | |
if (length <= 0) return; | |
const idx = Math.random() * emoji.length | 0; | |
process.stdout.write(emoji[idx]); | |
return celebrate(emoji, length - 1); | |
} | |
const celebrationEmoji = ["🎉","👏","🎂","🎊","💃","👍","🎈","🍰",]; | |
celebrate(celebrationEmoji, 140); |
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
Ladies and Gentlemen We Are Floating in Cyberspace: Learning to be a better developer through the teachings of Black Flag, My Bloody Valentine, and John Cage. |
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
/*global Reveal*/ | |
window.AUDIO_TIMER = 0; | |
Reveal.addEventListener('slidechanged', (event) => { | |
if (window.location.search.match(/(controls=false|postMessageEvents=true)/i)) | |
return null; | |
const slide = event.currentSlide; | |
const options = slide.dataset; |
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
$ sudo su - | |
# mkdir /etc/resolver | |
# cat > /etc/resolver/test | |
nameserver 127.0.0.1 | |
port 2155 | |
^D | |
^D | |
$ brew install dnsmasq | |
$ dnsmasq --port=2155 --no-resolv --address=/.test/127.0.0.1 | |
$ ping foo.test |
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
curl -vX HEAD http://www.flatworldknowledge.com | |
* About to connect() to www.flatworldknowledge.com port 80 (#0) | |
* Trying 74.205.58.83... connected | |
* Connected to www.flatworldknowledge.com (74.205.58.83) port 80 (#0) | |
> HEAD / HTTP/1.1 | |
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 | |
> Host: www.flatworldknowledge.com | |
> Accept: */* | |
> | |
< HTTP/1.1 200 OK |
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
testing gist.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
kasdfklajsdglkjasldkgjaslk | |
kfasdfasdf | |
jdasfasklasdjfklasdjfjasdkjfaklsdjfajds |
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
{ | |
"_rev": "1-2a72e7738102ec7b7cd20bc9672d22ba", | |
"issuer": "http://www.p2pu.org", | |
"issuerName": "P2PU School of Webcraft", | |
"timestamp": "1295203497", | |
"issuee": "brianloveswords@gmail.com", | |
"title": "HTML5 Expert", | |
"description": "Has demonstrated excellence in HTML5", | |
"image": "url-for-image", | |
"proof": "url-for-work", |