Skip to content

Instantly share code, notes, and snippets.

hoyin hoyin258

Block or report user

Report or block hoyin258

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# Install Required Software
brew cask install caskroom/versions/java8
brew cask install android-sdk
brew cask install intel-haxm
# Set path
export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"
# List out existing playstore image
# sdkmanager --list | grep "playstore"
# Installation Jenkins:
brew update && brew install jenkins
# Java Runtime Environment:
brew cask install java
# Config Launch:
ln -sfv /usr/local/opt/jenkins/*.plist ~/Library/LaunchAgents
sudo cp -fv /usr/local/opt/jenkins/*.plist /Library/LaunchDaemons
sudo chown `whoami` /Library/LaunchDaemons/homebrew.mxcl.jenkins.plist

Open->In Progress: Start development
In Progress->Blocked: Blocked by external
Blocked-->In Progress: Dependency resolved
In Progress->Development Done: Pending to release a build/\ndeploy to testable server
Development Done-->In Progress: Code review/ \n Marge failed
Development Done->QA Ready: Ready to testing
QA Ready-->Reopen: Failed
Reopen-->In Progress: Restart the development
hoyin258 /
Created Aug 10, 2016 — forked from staltz/
The introduction to Reactive Programming you've been missing
View gist:dd86cb4fd89a853296be
adb tcpip 5555
adb connect <DEVICE_IP_ADDRESS>:5555
hoyin258 / Android export debug cert
Last active Aug 29, 2015
Get Android Debug Keystore command
View Android export debug cert
Google Play:
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore -list -v
keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

#Nginx => Unicorn > Rails

##Nginx Setting

vim /etc/nginx/conf.d/default.conf
upstream app {
    # Path to Unicorn SOCK file, as defined previously
    server unix:/tmp/unicorn.myapp.sock fail_timeout=0;
View kill_unicorn
ps aux | grep 'unicorn' | awk '{print $2}' | xargs sudo kill -9
hoyin258 /
Last active Apr 26, 2016
Just a reminder for postgres setup

##Create a new user with super permission

sudo -u postgres psql
create user username with password 'password';
alter role username superuser createrole createdb replication;
create database projectname_production owner username;
hoyin258 /
Last active Jan 20, 2020
VPS Git Server Setup

Create repository


cd /var/www/
mkdir site
cd /var
mkdir repo && cd repo
You can’t perform that action at this time.