Skip to content

Instantly share code, notes, and snippets.

View achempion's full-sized avatar
✍️
Writing software

Boris Kuznetsov achempion

✍️
Writing software
View GitHub Profile
@liamdon
liamdon / gist:2467603
Created April 22, 2012 23:53
CoffeeScript, Jade and Stylus syntax highlighting in Sublime Text 2

Step 1: Clone the bundles into your Sublime Text packages directory

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/jashkenas/coffee-script-tmbundle CoffeeScript
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus

Step 2: Restart Sublime Text 2

@siuying
siuying / gist:1906600
Created February 25, 2012 05:16
Install qtbindings on Mac OS X Lion with homebrew
brew install qt
brew install cmake
# Change 4.8.0 to the QT version installed
for DIR in /usr/local/Cellar/qt/4.8.0/lib/*.framework; do
ln -s $DIR/Headers ${DIR%%/lib/*}/include/$(basename $DIR .framework);
done
gem install qtbindings
@tomazzlender
tomazzlender / unicorn
Created February 22, 2012 14:24 — forked from shapeshed/unicorn
unicorn init.d
/usr/sbin/update-rc.d -f unicorn defaults
chmod +x /etc/init.d/unicorn
/usr/sbin/update-rc.d -f unicorn remove
@fabioyamate
fabioyamate / curb_ubuntu.txt
Created November 11, 2010 12:50
installing curb on ubuntu 10.04
# installing curb gem on Ubuntu require libcurl
sudo apt-get install libcurl3-dev
Or new version, but it conflicts if some libraries.
sudo apt-get install libcurl4-dev
(some other packages libcurl4-openssl-dev libcurl4-gnutls-dev)
gem install curb
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')