This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
//.. | |
//the following will return an Instance of InstagramAPI ... configured and ready to roll! | |
$this->get('instagram'); | |
//.. | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://data.wien.gv.at/csv/wienerlinien-ogd-haltestellen.csv | |
http://data.wien.gv.at/csv/wienerlinien-ogd-linien.csv | |
http://data.wien.gv.at/csv/wienerlinien-ogd-steige.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 Line Tetris --> http://jsfiddle.net/ova777/kFxja/ | |
30 Line Sokoban --> http://jsfiddle.net/zabbius/nU74f/ | |
34 Line Minesweeper --> http://jsfiddle.net/c884a/ | |
30 Line Arcanoid --> http://jsfiddle.net/martin_/Fq8F4/ | |
30 Line Snake --> http://jsfiddle.net/Uk2PP/9/ | |
30 Line Excel --> http://jsfiddle.net/zag2art/b3pbw/4/ | |
30 Line Race --> http://jsfiddle.net/Minimajack/C545E/embedded/result/ | |
37 Line PONG --> http://jsfiddle.net/WNrfp/6/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### ~/.subversion/config | |
### Add this line to the [helpers] section | |
diff-cmd = ~/bin/svn-diffwrap.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create a handler | |
var xhr = new XMLHttpRequest(); | |
//define where the data will be sent to | |
xhr.open("POST", "http://someawesomehost/"); | |
//set some chololate headers | |
xhr.setRequestHeader("Content-type", "application/json"); | |
//and send ya content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/** | |
* GIT Merge Helper | |
* | |
* Installation: | |
* 1. Download / Clone this GIST https://gist.github.com/clops/3ac9cd6c42a66ba65101 into some directory | |
* 2. chmod a+x deploy.php | |
* 3. Add an alias into .bash_profile with a full path to the deploy.php script, mine is: | |
* alias deploy="~/dev/3ac9cd6c42a66ba65101/deploy.php" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shell prompt based on the Solarized Dark theme. | |
# Screenshot: http://i.imgur.com/EkEtphC.png | |
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles | |
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing. | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM='gnome-256color'; | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM='xterm-256color'; | |
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
card=$(git symbolic-ref HEAD | awk -F- '/ZEN-/ {print $2}') | |
if [ -n "$card" ]; then | |
echo "ZEN-$card " | cat - $1 > /tmp/out && mv /tmp/out $1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Shell prompt based on the Solarized Dark theme. | |
# Screenshot: http://i.imgur.com/EkEtphC.png | |
# Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles | |
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing. | |
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
export TERM='gnome-256color'; | |
elif infocmp xterm-256color >/dev/null 2>&1; then | |
export TERM='xterm-256color'; | |
fi; |