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
/* | |
* SeriesQueue | |
* author: gregory tomlinson | |
* */ | |
(function(window, undefined) { | |
// If a method returns true, the motion queue continues animation | |
// by default, functions return null, meaning empty funcs | |
// will not animate, instead, they will execute once, |
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
// | |
// BitsMetricViews.js | |
// bitly2 | |
// | |
// Created by gregory tomlinson on 2011-05-12. | |
// Copyright 2011 the public domain. All rights reserved. | |
// | |
/* | |
Usage: |
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
// | |
// BitsMetaMetric.js | |
// bitly2 | |
// | |
// Created by gregory tomlinson on 2011-05-11. | |
// Copyright 2011 the public domain. All rights reserved. | |
// | |
/* |
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
// | |
// rokuAttack.js | |
// 7codes | |
// | |
// Created by gregory tomlinson on 2011-05-08. | |
// Copyright 2011 the public domain. All rights reserved. | |
// | |
/* | |
Dependency |
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
// | |
// CallerQueue.js | |
// 7codes | |
// | |
// Created by gregory tomlinson on 2011-05-10. | |
// Copyright 2011 the public domain. All rights reserved. | |
// | |
/* | |
Dependency, jQuery 1.5.2+ |
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
curl -s -L http://gt-co.de/hOaVwe > gist && chmod 755 gist && sudo mv gist /usr/local/bin/gist |
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
// | |
// phantom_test.js | |
// bit_spam | |
// | |
// Created by gregory tomlinson on 2011-04-23. | |
// Copyright 2011 the public domain. All rights reserved. | |
// | |
// requires phantomjs (sudo port -v install phantomjs) | |
// -- requires qt4-(os) aka qt4-mac |
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
(function(window) { | |
function super_private() { | |
console.log("only called from inside, aka private"); | |
} | |
window.myPublicObj=function() { | |
super_private(); |
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/env python | |
""" | |
Add php-serve.py to your PATH, then, from whatever directory is the root | |
of your PHP application, just run: | |
$ php-serve.py | |
You can optionally specify a port number as an argument. By default, | |
port 8000 is used: |
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
var partial = exports.partial = function partial(fn) { | |
var args = arguments, | |
func = fn; | |
[].shift.apply(args); | |
return function() { | |
var _args = args; | |
[].push.apply(_args, arguments); | |
return func.apply(func, _args); | |
}; | |
}; |