- Groks nginx installed via MacPorts or Homebrew (
/opt/local
or/usr/local
) - Follows the Ubuntu sites-available/sites-enabled convention
- Expects top-level project folders to exist in ~/Sites
history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -r | |
95 node | |
82 git | |
37 ./manage.py | |
35 ls | |
35 cd | |
25 pip | |
22 jshint | |
18 brew |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Zippy Test</title> | |
<script type="text/javascript" src="zippy.js"></script> | |
<script type="text/javascript"> | |
console.profile(); | |
var kv_str = 'foo,bar,baz|1,2,3,4,5,6,7,8,9', | |
zippy_list = string_to_zippy(kv_str, true), | |
zippy_json = JSON.stringify(zippy_list); |
// How to create a setTimeout-based incrementer that is self-calling | |
(function() { | |
var i = 0; | |
function incrementer(undefined) { | |
if (i !== undefined && i < 10) { | |
i++; | |
console.log('i is %s', i); | |
setTimeout(incrementer, 500); | |
} | |
} |
setup_placeholders = (function() { | |
$.support.placeholder = false; | |
test = document.createElement('input'); | |
if('placeholder' in test) { | |
$.support.placeholder = true; | |
return function() {} | |
} else { | |
return function(){ |