index.html
<script>
document.write('http://' + location.hostname + ':35729/livereload.js?snipver=1');
</script>
<script src="config.js"></script>
<script data-main="app" src="require.js"></script>
var Q = require('q'); | |
var util = require('util'); | |
var EventEmitter = require('events').EventEmitter; | |
function MyTask() { | |
EventEmitter.call(this); | |
this._deferred = Q.defer(); | |
this.then = this._deferred.then.bind(this._deferred); // ??? | |
} | |
util.extends(MyTask, EventEmitter); |
function Processing(options) { | |
this.options = _.extend({}, options); | |
} | |
Processing.prototype.setColor = function(color) { | |
this.color = color; | |
}; | |
Processing.prototype.drawLine = function(x1, y1, x2, y2) { | |
// draw a line using this.options.context and this.color |
[12:06] <TrevorTSG> Ben! | |
[12:07] <TrevorTSG> I am a technical recruiter, ipsofacto, I have no idea what's | |
going on here, but I have a position for a jQuery stud up | |
for grabs if you're game | |
[12:07] <TrevorTSG> here in the Boston area | |
[12:09] <ben_alman> nope | |
[12:09] <TrevorTSG> But you have to give me props for stalking you all the way | |
into a jquery chat room, right? | |
[12:15] TrevorTSG left IRC. (Ping timeout: 250 seconds) |
Grerchandising - granular merchandising. (prev: Grarchandising) | |
Rorons - remediate morons. (prev: Rerons) | |
Croots - crescendo shoots. (prev: Crets) | |
Jonspiracies - judicial conspiracies. (prev: Junspiracies) | |
Oviver - overhanging giver. (prev: Over) | |
Lares - luckiest stares. (prev: Lures) | |
Clapabilities - clarified capabilities. (prev: Clapabilities) | |
Grales - gritty sales. (prev: Griles) | |
Upseacher - upsetting preacher. (prev: Ucher) | |
Illigibility - illusionary eligibility. (prev: Iligibility) |
mobile: function() { | |
return Modernizr.mq("only all and (max-width: 480px)"); | |
} |
var processing2 = (function(global) { | |
var exports = {}; | |
exports.drawCircle = function() { | |
// something | |
}; | |
exports.setColor = function() { | |
// something | |
}; |
copy('emblem.emblem.load('+JSON.stringify(emblem.emblem.data,null,2)+');');
#!/bin/bash | |
function my_test() { | |
echo '== my_test ==' | |
local opt k s | |
while getopts 'ks' opt; do | |
echo "opt: $opt, OPTARG: $OPTARG" | |
# [[ "$1" == '-s' ]] && s=1 | |
# [[ "$1" == '-k' ]] && k=1 | |
done |
!/bin/bash | |
echo '=== args ===' | |
echo '$0: '"$0" | |
echo "$@" | |
echo '=== ENV ===' | |
env |