This file contains hidden or 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
description "Some Ruby Worker" | |
kill timeout 10 | |
respawn | |
instance $INSTANCE | |
script | |
app=/var/deploy/myapp/production/current |
This file contains hidden or 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($){ | |
// jQuery Data object | |
var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, | |
rmultiDash = /([A-Z])/g, | |
expando = "Zepto" + ( '1.0' + Math.random() ).replace( /\D/g, ""), | |
optionsCache = {}, | |
core_rnotwhite = /\S+/g, | |
core_deletedIds = [], | |
core_push = core_deletedIds.push; |
This file contains hidden or 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
$.fn.queue = function(){ | |
var Q = function(){ | |
this.q = []; | |
} | |
Q.prototype = { | |
enqueue: function(el){ | |
if($.isArray(el)){ | |
this.q = el; |
This file contains hidden or 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
/** | |
* Classify.js | |
* A simple implementation of a Class native in Javascript with support for private and public methods and properties. | |
* Inspired by MooTools Class.js and by the Module Javascript design pattern (for private and public methods and properties) | |
* | |
* Zohar Arad. February 2011 | |
* | |
* Usage: | |
* | |
* var MyClass = new Class({ |