Skip to content

Instantly share code, notes, and snippets.

View radeksimko's full-sized avatar

Radek Simko radeksimko

View GitHub Profile
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
git clone git://github.com/wbond/sublime_package_control.git Package\ Control
cd Package\ Control
git checkout python3
# restart Sublime Text 3 and you should have Package Control working
#!/bin/bash
#
# DESCRIPTION:
#
# Set the bash prompt according to:
# * the active virtualenv
# * the branch/status of the current git repository
# * the return value of the previous command
# * the fact you just came from Windows and are used to having newlines in
# your prompts.
@radeksimko
radeksimko / gist:3786224
Created September 26, 2012 05:13 — forked from anonymous/gist:3784593
Which way of writing do you like more?
// third way
$example->foo(2, 2)
->andReturn(4)
->foo(4, 4)
->andReturn(8)
->foo(8, 8)
->andReturn(16);