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
error: Error running command deploy | |
error: Nodejitsu Error (400): Bad Request | |
warn: Error returned from Nodejitsu | |
error: Error: No active subscriptions available. | |
error: at Object.module.exports.billing.findAvailable (/root/nodejitsu/lib/nodejitsu/billing/billing.js:287:23) | |
error: at fn (/root/nodejitsu/lib/nodejitsu/billing/billing.js:187:24) | |
error: at Resource._request (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:184:13) | |
error: at loop (/root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:90:9) | |
error: at /root/nodejitsu/node_modules/resourceful/lib/resourceful/resource.js:78:20 | |
error: at exports.resource.app.resources.User.app.define.after.method (/root/nodejitsu/node_modules/flatiron-http-users/lib/http-users/user/core.js:82:9) |
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 tail_read($filename, $lines = 10, $offset = 4096, $onLine = null) { | |
if(is_callable($lines)) { | |
$onLine = $lines; | |
$lines = 10; | |
$offset = 4096; | |
} | |
if(is_callable($offset)) { | |
$onLine = $offset; | |
$offset = 4096; | |
} |
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 walk = function(list, callback) { | |
var getCB = function(next) { | |
return function(o) { | |
callback(o, next) | |
}; | |
}, | |
handle = function() { | |
var item, cb, res = {}; | |
if(list.length <= 0) { | |
return; |
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 template(str, obj) { | |
if(str.indexOf('{') === -1) { | |
return str; | |
} | |
var result = []; | |
var i, l = str.length; | |
var start = 0, end = 0, inner = false; | |
var curr, name, value, search; | |
for(i = 0; i < l; i++) { | |
curr = str[i]; |
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
set -g prefix C-a | |
unbind % | |
bind \ split-window -h | |
bind - split-window -v | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R |
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
/* | |
12306 Auto Query => A javascript snippet to help you book tickets online. | |
Copyright (C) 2011 Jingqin Lynn | |
Includes jQuery | |
Copyright 2011, John Resig | |
Dual licensed under the MIT or GPL Version 2 licenses. | |
http://jquery.org/license | |
Includes Sizzle.js |
NewerOlder