npm install -g [email protected]
This file contains hidden or 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
# Shows octal permissions for 'path(s)' | |
# | |
# example: | |
# $ octal /usr/local/foo myfile myotherfile | |
# 0644 /usr/local/foo | |
# 0500 myfile | |
# 0666 myotherfile | |
# OSX | |
alias octal="stat -f '%Mp%Lp %N' $*" |
This file contains hidden or 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
# Run the following command in shell: | |
# curl -s https://gist.githubusercontent.com/itsthatguy/48d9b47dba05b300c65b/raw/80b1111bb5273697d1db4f5662eb763aa4a80cdc/foo.coffee | coffee --stdio | |
class Foo | |
name: 'abott' | |
@myFunction: -> | |
console.log "\n# start" | |
console.log "\nFoo" | |
console.log "this.name:", this.name | |
myOtherFunction: -> | |
console.log "\nfoo (instance of Foo)" |
This file contains hidden or 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
" Delete character should not squash paste buffer | |
nnoremap <silent> x "_x | |
vnoremap <silent> x "_x | |
" xp should still function as transpose | |
nnoremap <silent> xp xph | |
vnoremap <silent> xp xph |
This file contains hidden or 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 :MarkedOpen to launch Marked | |
" Requires: Use http://marked2app.com/ | |
Bundle 'itspriddle/vim-marked' | |
" Syntax highlighting on .md files | |
Bundle 'tpope/vim-markdown' | |
" Used to autosave markdown files | |
Bundle 'vim-scripts/vim-auto-save' |
This file contains hidden or 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
# ~/.tmux.conf | |
source ~/.tmux/airline |
This file contains hidden or 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 | |
# Script to clear font cache | |
color() { | |
echo -e "\e[$1;38;5;$2m" | |
} | |
no_color() { | |
echo -e "\e[0m" | |
} |
This file contains hidden or 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
" Vim color file | |
" Converted from Textmate theme itg.dark using Coloration v0.3.3 (http://github.com/sickill/coloration) | |
set background=dark | |
highlight clear | |
if exists("syntax_on") | |
syntax reset | |
endif |
This file contains hidden or 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
export CC=/usr/bin/gcc | |
ruby-install ruby 2.1.4 | |
<reload shell> | |
chruby ruby 2.1.4 | |
ruby-install rbx 2.1.10 |