Skip to content

Instantly share code, notes, and snippets.

-set-mode-check:

-set-debug-files:

-check-env: Android SDK Tools Revision 20.0.3 Installed at /opt/android-sdk

-setup: Project Name: pindah

@yachi
yachi / README.md
Created October 10, 2012 07:52
set up rails environment

Install mysql - brew brew install mysql

run mysql_secure_installation to setup mysql password

Install Ruby 1.9.3 - rbenv / rvm

gem install bundler

edit config/database.yml

@yachi
yachi / test.rb
Last active December 21, 2015 08:49 — forked from anonymous/test.rb
def runner(v1, &block)
puts v1
yield(v1) if block_given?
end
runner "jithub"
runner "OHAI" do |v1|
puts "ARRAR"
puts v1
@yachi
yachi / install.sh
Last active December 21, 2015 17:08
to start using git flow
#!/bin/sh
#
brew install git-flow
brew uninstall git
brew install git --without-completions
echo
echo
echo
echo "==================================="
@yachi
yachi / bundle_grep.sh
Created September 30, 2013 04:45
bundle grep, similar to git grep but for gems in Gemfile
# grep -r "$@" `bundle show --paths`
# ack "$@" `bundle show --paths`
function bung(){
ag "$@" `bundle show --paths`
}
@yachi
yachi / INSTALL.md
Last active August 29, 2015 13:56 — forked from sztupy/INSTALL.md

rage-quit plugin for oh-my-zsh

based on rage-quit support for bash

HOW TO INSTALL

Put the files below inside ~/.oh-my-zsh/custom/plugins/fuck

Also chmod a+x the flip command.

nc -v nyancat.dakko.us 23
@yachi
yachi / .gitignore
Last active August 29, 2015 14:08
download gapps
*.apk
@yachi
yachi / ruby-2.1.5-railsexpress.sh
Created November 16, 2014 17:38
ruby-install 2.1.5 with railsexpress
ruby-install -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/01-zero-broken-tests.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/02-improve-gc-stats.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/03-display-more-detailed-stack-trace.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/04-show-full-backtrace-on-stack-overflow.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/05-funny-falcon-stc-density.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/06-funny-falcon-stc-pool-allocation.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/railsexpress/07-aman-opt-aset-aref-str.patch -p https://raw.githubusercontent.com/skaes/rvm-patchsets/master/patches/ruby/2.1.5/rails