My closest friends are true hackers - curious people who love to create and to master tools and systems. It seemed like companies had no way of identifying these people - at the resume stage, they tend to look like crap early in their careers. So this is for them: they are the best, and we're giving companies x-ray vision.
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 | |
set +x | |
set -e | |
sudo -v | |
pushd `mktemp -d` | |
wget "http://www.makemkv.com/download/makemkv-bin-1.9.10.tar.gz" "http://www.makemkv.com/download/makemkv-oss-1.9.10.tar.gz" "http://ffmpeg.org/releases/ffmpeg-3.0.2.tar.bz2" |
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 | |
set +x | |
set -e | |
sudo -v | |
sudo mount -o remount,size=2048M /tmp | |
pushd `mktemp -d` |
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
// Time elapsed: 0µs | |
var a = 200000000000; | |
for (var i = 1000; i; i--){ | |
a = a / 3; | |
} | |
// Time elapsed: 1µs, probably less |
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
Applicant | |
Organization belongs to | |
Starred? | |
Status | |
Attributes (hstore) | |
Added by (user) | |
Ddate | |
Cdate | |
Mdate |
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
[ | |
{ | |
path: "images/" | |
}, | |
{ | |
path: "images/asdf.png", | |
mimeType: "image/png" | |
}, | |
{ | |
path: "README", |
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
{ | |
label: "files", | |
children: [ | |
{ | |
label: "images", | |
children: [ |
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 q = require('q'); | |
/* | |
* ncall / nbind test | |
*/ | |
function simpleAdmin(callback) { | |
setTimeout( | |
function () { | |
console.log('nc admin ok'); | |
callback(); |
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
# With Vmware Fusion bin path in $PATH... | |
alias vmup="vmrun -T fusion start $HOME/Documents/Virtual\ Machines.localized/$VMIMAGE.vmwarevm/$VMIMAGE.vmx nogui" | |
alias vmp="vmrun -T fusion pause $HOME/Documents/Virtual\ Machines.localized/$VMIMAGE.vmwarevm/$VMIMAGE.vmx" | |
alias vusu="ssh -A -l $VMUSER $VMIP" |
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 dirs_depth () { | |
echo `dirs -v | wc -l` | |
} | |
function parse_git_branch () { | |
BRANCH=$(git branch --no-color 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/') | |
BLEN=$(echo `echo $BRANCH | wc -c` " - 1" | bc) | |
echo $BRANCH | cut -c1 | sed -e "s/^./${BLEN}\0/" | |
} |
NewerOlder