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 | |
# Install some stuff before others! | |
important_casks=( | |
authy | |
dropbox | |
google-chrome | |
spotify | |
slack | |
zoomus |
Awesome Leading and Managing - Collection of articles/blogs/etc maintained by the community.
Leaders Eat Last - The science behind being a leader.
Start with Why - How to inspire people to do great work.
The Manager's Path - Advice for technical leaders on how to lead.
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 Types | |
module Registry | |
REGISTRATIONS = {} | |
def mime_type(string) | |
REGISTRATIONS[string] = self | |
end | |
def self.handle_type(string) | |
handler_klass = REGISTRATIONS[string].new |
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
gource -s .02 -1920x1080 --key --highlight-users --hide mouse,progress,filenames --font-size 22 --title "Source Code History" -o - | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i - -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 source_vid.mp4 |
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 pattern = /(MOBI|EPUB|PDF( ?\(H.\))?|CBZ|Download)$/i; | |
var nodes = document.getElementsByTagName('a'); | |
var downloadCmd = ''; | |
for (i in nodes) { | |
var a = nodes[i]; | |
if (a && a.text && pattern.test(a.text.trim())) { | |
downloadCmd += 'wget --content-disposition "' + a.href + "\"\n"; | |
} | |
} | |
var output = document.createElement("pre"); |
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
" Vundle {{{ | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/vundle' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'bling/vim-airline' | |
Plugin 'bkad/CamelCaseMotion' | |
Plugin 'tpope/vim-fugitive' |
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 | |
NODE_VERSION=6.2.1 | |
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}")" && pwd)" | |
which -s brew | |
if [[ $? != 0 ]] ; then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
else | |
brew update |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 | |
NODE_VERSION=4.4.4 | |
DIR="$( cd -P "$( dirname "${BASH_SOURCE[0]}")" && pwd)" | |
which -s brew | |
if [[ $? != 0 ]] ; then | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
else | |
brew update |
NewerOlder