Skip to content

Instantly share code, notes, and snippets.

View brandonc's full-sized avatar
⚙️

Brandon Croft brandonc

⚙️
View GitHub Profile
@brandonc
brandonc / SImpler
Created September 28, 2011 17:25 — forked from zznq/Ugly Conditions
Ugly Nested Conditions
$desc.has(':visible')(quick ? 'hide' : 'slideUp');
$desc.has(':hidden')(quick ? 'show' : 'slidedown');
@brandonc
brandonc / vim-heroku.sh
Last active November 16, 2017 17:08 — forked from dvdbng/vim-heroku.sh
Run vim in heroku updated 2017
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim
# Compiled on Jul 20 2017
mkdir ~/vim && cd ~/vim && curl 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | tar -xz && export VIMRUNTIME="$HOME/vim/runtime" && export PATH="$HOME/vim:$PATH" && cd -