Skip to content

Instantly share code, notes, and snippets.

View JazzJackrabbit's full-sized avatar
🍊
Working on the next great thing

Kirill Ragozin JazzJackrabbit

🍊
Working on the next great thing
  • Tokyo, Japan
View GitHub Profile
@JazzJackrabbit
JazzJackrabbit / gist:0840bb88ca41190301758062518903e8
Created March 20, 2020 10:41
Install libv8 and therubyracer on MacOS
brew install v8@3.15
bundle config build.libv8 --with-system-v8
bundle config build.therubyracer --with-v8-dir=$(brew --prefix v8@3.15)
bundle install
@JazzJackrabbit
JazzJackrabbit / bin scripts (Rails)
Last active August 29, 2015 14:13
Bash scripts for Rails apps
# --- Setup.sh (Rails) ---
##!/bin/sh
bundle install
# set configuration
cp -n config/database.yml.dist config/database.yml
echo "- default config copied"
$EDITOR config/database.yml
@JazzJackrabbit
JazzJackrabbit / .bash_profile
Last active December 11, 2015 02:09
Git, Github & Essentials
#git config --global color.ui true
#Terminal colors
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
## Common
alias gst='git status'
alias ga='git add . ; git add -u'