I hereby claim:
- I am eculver on github.
- I am eculver (https://keybase.io/eculver) on keybase.
- I have a public key whose fingerprint is 0A08 44A8 D6ED CCDD 4929 9BCD B530 10D9 1726 B005
To claim this, I am signing this object:
{ | |
"thumb": { | |
"href": "http://cache.mycdn.com/path/to/asset/a0324d3.jpg", | |
"width": 80, | |
"height": 80, | |
}, | |
"asset": { | |
"id": 342393, | |
"title": "Client Commercial", | |
"filename": "mycommercial.m4v", |
/** | |
* Example Module in RequireJS | |
define([ | |
'common/js/models/user', | |
'common/js/models/event', | |
'myapp/js/player' | |
], function () { | |
Ember.Application.initializer(ret = { |
alias randhash='python -c "import md5; from datetime import datetime; print md5.new(datetime.now().strftime(\"%s\")).hexdigest()"' |
// create timeout to make sure it runs last | |
setTimeout(function () { | |
$(".wd-thumbnail").css('background-image', 'none').css({'width': 238, 'height': 144}); | |
$(".wd-thumbnail img").css({'width': 238, 'height': 144}).show(); | |
}, 200); |
if ($parentId) { | |
$parentCondition = "node-closure.ancestor = $parentId"; | |
$parentCondition = "node-closure.depth = 1"; | |
} else if ($rootId) { | |
$parentCondition = "node-closure.ancestor = $rootId"; | |
} | |
$clientCondition = "node.clientId = $clientId"; | |
$assetCrit->addExpr('where', $parentCondition) |
# in .vimrc install w/ Vundle/Pathogen/etc | |
# Bundle "command-t" | |
# build the extension | |
cd ~/.vimrc/bundle/command-t/ruby/command-t | |
ruby extconf.rb | |
make | |
# restart vim |
I hereby claim:
To claim this, I am signing this object:
%SN/S%0S/%S.N-S%0SE%0E-%E.N | |
Sample: | |
Show Name/S02/Show.Name-S02E03-Ep.Name.ext |
[alias] | |
st = status | |
diffstat = diff --stat -r | |
c = commit | |
co = checkout | |
[color] | |
ui = auto | |
[color "branch"] |
function dumpProps(obj, parent) { | |
// Go through all the properties of the passed-in object | |
for (var i in obj) { | |
// if a parent (2nd parameter) was passed in, then use that to | |
// build the message. Message includes i (the object's property name) | |
// then the object's property value on a new line | |
if (parent) { var msg = parent + "." + i + "\n" + obj[i]; } else { var msg = i + "\n" + obj[i]; } | |
// Display the message. If the user clicks "OK", then continue. If they | |
// click "CANCEL" then quit this level of recursion | |
if (!confirm(msg)) { return; } |