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 amackworth on github. | |
* I am amackworth (https://keybase.io/amackworth) on keybase. | |
* I have a public key whose fingerprint is 1F62 209D E06A AF7F 81C7 053A B66B 3615 010B 656C | |
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
### Keybase proof | |
I hereby claim: | |
* I am alexanderpine on github. | |
* I am amackworth (https://keybase.io/amackworth) on keybase. | |
* I have a public key whose fingerprint is 1F62 209D E06A AF7F 81C7 053A B66B 3615 010B 656C | |
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
find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g' |
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
{ sum += $4 } | |
END { mb = sum / 1024 | |
gb = mb / 1024 | |
printf \"%.0f MB (%.2fGB) of available disk space\n\", mb, gb | |
} | |
EOF |
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 t(s,d,p){for(p in d)s=s.replace(new RegExp('{'+p+'}','g'),d[p]);return s;} | |
/* | |
String templating engine: | |
t("Hello {name}!, It is {date}!", { name: "Thomas", date: function(){ return new Date }}); | |
// = "Hello Thomas!, It is Sun May 08 2011 15:15:33 GMT-0400 (EDT)!" | |
*/ |