View this code at http://livecoding.io/5429444
View uninstall_homebrew.sh
#!/bin/sh | |
# Just copy and paste the lines below (all at once, it won't work line by line!) | |
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY! | |
function abort { | |
echo "$1" | |
exit 1 | |
} | |
set -e |
View README.md
View this code at http://livecoding.io/5427602
View water.js
$.ajaxSetup({ | |
cache: true | |
}); | |
var s1 = $.getScript('https://raw.github.com/Animatron/player/master/vendor/matrix.js'); | |
var s2 = $.getScript('https://raw.github.com/Animatron/player/master/anm.player.js'); | |
var s3 = $.getScript('https://raw.github.com/Animatron/player/master/anm.builder.js'); | |
//var s4 = $.getScript('https://raw.github.com/Animatron/player/master/anm.collisions.js'); | |
$.when( s1, s2, s3 ).then(function() { |
View theme.html
<!-- Add the following lines to theme's html code right before </head> --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
<!-- | |
Usage: just add <div class="gist">[gist URL]</div> | |
Example: <div class="gist">https://gist.github.com/1395926</div> | |
--> |
View cors-nginx.conf
# | |
# Wide-open CORS config for nginx | |
# | |
location / { | |
if ($request_method = 'OPTIONS') { | |
add_header 'Access-Control-Allow-Origin' '*'; | |
# |
View jade_stylus_sublime.md
Git way
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone https://github.com/miksago/jade-tmbundle.git Jade
git clone https://github.com/LearnBoost/stylus.git Stylus