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
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting | |
export NVM_DIR="/Users/lukestebner/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm | |
source /usr/local/share/chruby/chruby.sh | |
source /usr/local/share/chruby/auto.sh | |
chruby 2.2.8 |
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
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile | |
# include .bashrc if it exists | |
if [ -f $HOME/.bashrc ]; then | |
. $HOME/.bashrc | |
fi | |
# here so it isn't invoked by emacs | |
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
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
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required |
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
Lukes-MacBook-Pro-2:beatlab luke$ mocha spec/beatlab_spec.js | |
BeatsData | |
#config | |
✓ creates a config by default | |
✓ allows config to be overridden from constructor | |
✓ allows config to be overridden after construction | |
#process chunk | |
✓ properly read data keys | |
✓ properly imported raw beats |
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
Want to play: | |
☐ Adam's Venture Episode 3 | |
☐ Alien Breed Impact | |
☐ Alien Breed 2 | |
☐ Alien Breed 3 | |
☐ Assassin's Creed Brotherhood | |
☐ Assassin's Creed Revelations | |
☐ Batman Arkham Origins | |
☐ Beyond Good and Evil | |
☐ Bionic Commando |
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
class View | |
constructor: (container, @opts={}) -> | |
@default_opts() | |
@container = $ container | |
@setup() | |
default_opts: -> | |
@opts = _.extend( | |
{ |
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
### | |
EventModel | |
built by Luke Stebner, November 2014 | |
This class is meant to be extended by other classes in order to provide basic event | |
functions including on/off/one/trigger. You've probably used these through other | |
frameworks such as Backbone or jQuery, but this class allows any data object to provide | |
this functionality in a very clean, simple way. | |
Example: |
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
alias g='git' | |
alias o='open .' | |
alias x='gitx' | |
alias log='git log --name-only' | |
alias ci='git commit' | |
alias st='git status' | |
alias co='git checkout' | |
alias br='git branch' | |
alias rb='git rebase' | |
alias rbm='git rebase origin/master' |
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
# This class has a few static methods to help with color conversions between rgb and hex. | |
class ColorWheel | |
# Convert an rgb string to hex | |
@rgb_string_to_hex: (rgb="255, 255, 255") -> | |
#convert the string into the 3 int's that actually make up r, g & b | |
pieces = rgb.split(',') | |
rgb = [] | |
for p, i in pieces | |
rgb[i] = parseInt(p) |
NewerOlder