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
APKTIDFWrku426AbENXpGLMP1sNFa26rLt_h4AHu-316N6e22k7A |
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
/** | |
* | |
* Think you're something special? Automatically "react" | |
* to your own Slack messages. | |
* | |
* Example: | |
* autoReact('crab') // automatically react with the crab emoji | |
* | |
* Related: http://slackhq.com/post/123561085920/reactions | |
* |
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
SIZE=1024 | |
DISKNAME=ramdisk | |
MOUNTPATH="$HOME/mnt" | |
DISK="$(basename $(hdiutil attach -nomount "ram://$(( ${SIZE} * 1024 * 1024 / 512 )))" | |
diskutil partitionDisk "${DISK}" GPT APFS %noformat% R | |
newfs_apfs -v "${DISKNAME} "${DISK}s1" | |
diskutil mount -mointPoint "${MOUNTPATH}" "${DISKNAME}" |
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
package main | |
import ( | |
"fmt" | |
"os" | |
"os/exec" | |
"os/signal" | |
"syscall" | |
) |
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
[ | |
{ | |
"angel": { | |
"Name": "Angel", | |
"Facebook": null, | |
"Skype": [ | |
"(angel)", | |
"(A)", | |
"(a)" | |
] |
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
/* | |
* $ echo "these are words" | confirm-pipe | xxd | |
* these are words | |
* | |
* type c to confirm, anything else to quit | |
* 00000000: 7468 6573 6520 6172 6520 776f 7264 730a these are words. | |
* | |
*/ | |
package main |
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
javascript:(function(){var a=document.getElementsByTagName('img'),i=a.length;while(b=a[--i]){b.setAttribute('src','http://placekitten.com/'+b.width+'/'+b.height);}}()); |
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 http://nodejs.org/dist/node-v0.4.9.tar.gz | tar xz | |
cd node-v0.4.9/ | |
./configure --prefix=~/local | |
mkdir ~/local | |
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
. ~/.bashrc | |
make install | |
curl http://npmjs.org/install.sh | sh | |
npm-g install stylus |
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
javascript:(function(){var a=document.getElementsByTagName('img'),i=a.length;while(b=a[--i]){b.setAttribute('src','http://placekitten.com/'+b.width+'/'+b.height);}})(); |
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(){ | |
if (typeof window.console === 'undefined'){ | |
//Load Firebug Lite | |
var firebug_Script = document.createElement('script'); | |
firebug_Script.setAttribute('src','https://getfirebug.com/firebug-lite.js#startOpened'); | |
document.body.appendChild(firebug_Script); | |
var tI = setInterval(function(){ | |
if(typeof window.console !== 'undefined'){ | |
console.info('Firebug Lite attached.'); | |
clearInterval(tI); |
NewerOlder