Skip to content

Instantly share code, notes, and snippets.

View jeffdevine's full-sized avatar

Jeff Devine jeffdevine

View GitHub Profile
@jeffdevine
jeffdevine / keybase.md
Created October 7, 2019 21:37
keybase

Keybase proof

I hereby claim:

  • I am jeffdevine on github.
  • I am jeffdevine (https://keybase.io/jeffdevine) on keybase.
  • I have a public key ASA0-IME1XGFj5re0NMKmq5xMCeHwsrzMYE_n3AdN1_wTAo

To claim this, I am signing this object:

@jeffdevine
jeffdevine / ec2ssh
Last active June 10, 2016 16:32
ec2ssh
if [ $# -eq 0 ] ; then
environment="staging"
else
environment=$1
fi
output="$(cap $environment ec2:status | grep 10.)"
ip="$(echo $output | awk '{print $6}' )"
name="$(echo $output | awk '{print tolower($3)}' )"
if [ ! -f "$HOME/.ssh/${name}-$environment.pem" ]; then
@jeffdevine
jeffdevine / text.tx
Last active November 11, 2016 15:12
Installing rubyracer
An error occurred while installing therubyracer (0.12.2), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.12.2'` succeeds before bundling.
# V8
brew tap homebrew/versions
brew install homebrew/versions/v8-315
brew link --force v8-315
bundle install
brew unlink v8-315
@jeffdevine
jeffdevine / alias.sh
Created February 13, 2016 20:16
berfu
alias berfu='bundle exec rspec -t ~slow -t ~js -t ~benchmark --no-profile && rubocop'
@jeffdevine
jeffdevine / good_luck.rb
Last active March 9, 2023 19:31
Friday Deploy for Capistrano 2.x
before 'deploy', 'deploy:good_luck'
before 'deploy:migration', 'deploy:good_luck'
task :good_luck, roles: :app, except: { no_release: true } do
if Time.now.wday == 5
logger.debug('')
logger.debug('┓┏┓┏┓┃')
logger.debug('┛┗┛┗┛┃\○/')
logger.debug('┓┏┓┏┓┃ / Friday')
logger.debug('┛┗┛┗┛┃ノ)')
@jeffdevine
jeffdevine / user-settings.json
Last active August 29, 2015 14:13
Sublime2 Config
{
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Theme - Spacegray/base16-eighties.dark.tmTheme",
"draw_white_space": "all",
"ensure_newline_at_eof_on_save": "true",
"font_size": 15.0,
"highlight_modified_tabs": true,
"rulers": [80],
"tab_size": 2,