Skip to content

Instantly share code, notes, and snippets.

View scottrabin's full-sized avatar

Scott Rabin scottrabin

  • @buffd-inc
  • Denver, CO
View GitHub Profile
@scottrabin
scottrabin / pre-commit
Last active December 9, 2015 15:30 — forked from kenkouot/pre-commit
#!/usr/bin/env python
import subprocess
import sys
import os.path, time
def get_modified_time(file):
return time.ctime(os.path.getmtime(file))
def run_js_tools(files_str):
"""Iterate though list and run code quality tools"""
@scottrabin
scottrabin / .bash_profile
Last active August 29, 2015 14:00
.bash_profile
export PATH="$HOME/bin:$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
export PROMPT_COMMAND=__prompt_command
__prompt_command () {