Skip to content

Instantly share code, notes, and snippets.

@yachi
yachi / .gitignore
Last active August 29, 2015 14:08
download gapps
*.apk
nc -v nyancat.dakko.us 23
@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.

@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.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 / 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 / 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

-set-mode-check:

-set-debug-files:

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

-setup: Project Name: pindah

package org.newsweb;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
import org.springframework.web.client.RestTemplate;
import org.springframework.http.converter.StringHttpMessageConverter;
public class newsweb extends Activity