Skip to content

Instantly share code, notes, and snippets.

View wickedwukong's full-sized avatar

Xuemin Guan wickedwukong

View GitHub Profile

Keybase proof

I hereby claim:

  • I am wickedwukong on github.
  • I am wickedwukong (https://keybase.io/wickedwukong) on keybase.
  • I have a public key ASDz7cWXseyyv13TOdruk-xuX5h3VFYGeN8Zmp5nBjNYygo

To claim this, I am signing this object:

@wickedwukong
wickedwukong / gist:c2de166d5cff063d0f2c
Created August 5, 2014 16:30
install sublime & zsh on ubuntu
# install sublime
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get install -y sublime-text-installer
# install zsh
sudo apt-get install -y zsh && curl -L http://install.ohmyz.sh | sh
@wickedwukong
wickedwukong / gist:10973568
Last active August 29, 2015 13:59
Windows
Map a drive:
subst M: C:\development
@wickedwukong
wickedwukong / gist:3118932
Created July 15, 2012 22:24
How to install textmate rspec bundle
mkdir -p ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
cd ~/Library/Application\ Support/TextMate/Pristine\ Copy/Bundles
git clone git://github.com/rspec/rspec-tmbundle.git RSpec.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
@wickedwukong
wickedwukong / gist:1601000
Last active September 29, 2015 12:27
setup proxy on windows to download ruby gems And connect to a DB in Ruby irb.
set up proxy
set HTTP_PROXY=http://username:fakepassword@proxy-hostname.com:port-number
Gem installs:
gem install ruby-dbi
gem install ruby-oci8
gem install activerecord
connect to DB
1. invoke irb