Skip to content

Instantly share code, notes, and snippets.

alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
alias nginx.restart='nginx.stop && nginx.start'
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist"
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php55.plist"
alias php-fpm.restart='php-fpm.stop && php-fpm.start'
alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"
alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"
alias mysql.restart='mysql.stop && mysql.start'
alias nginx.logs.error='tail -250f /usr/local/etc/nginx/logs/error.log'
Error: Request failed
at Request._callback (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/lib/nodejitsu.js:72:31)
at Request.init.self.callback (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request. (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/node_modules/request/main.js:655:16)
at Request.EventEmitter.emit (events.js:126:20)
at IncomingMessage.Request.start.self.req.self.httpModule.request.buffer (/opt/haibu/apps/nodejitsu/nodejitsu-webhooks-api/package/node_modules/request/main.js:617:14)
at IncomingMessage.EventEmitter.emit (events.js:126:20)
at IncomingMessage._emitEnd (http.js:366:10)
at HTTPParser.parserOnMessageComplete [as onMessageComplete] (http.js:149:23)
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Rackspace Error (404): Item not found
error: Error output from Haibu:
error:
error: Error: Rackspace Error (404): Item not found
error: at Request._callback (/root/haibu-orchestra/node_modules/haibu/node_modules/cloudfiles/lib/cloudfiles/common.js:184:18)
error: at Request.init.self.callback (/root/haibu-orchestra/node_modules/haibu/node_modules/request/main.js:119:22)
error: at Request.EventEmitter.emit (events.js:99:17)
backend Farm
httpchk GET /_monitor/ok.txt HTTP/1.1\r\nHost:\ test.example.com
httpchk GET /_monitor/ok.txt HTTP/1.1\r\nHost:\ test2.example.com
httpchk GET /_monitor/ok.txt HTTP/1.1\r\nHost:\ test3.example.com
server srv1 111.111.111.111
server srv2 222.222.222.222
{"item":[{"value":1,"text":"Unassigned"},{"value":2,"text":"Assigned"},{"value":570,"text":"Closed"}]}
{"points":{"point":[{"latitude":"36.80030000","longitude":"-98.66850000","size":"1","color":"ff9900"},{"latitude":"36.11730000","longitude":"-97.05490000","size":"1","color":"ff9900"}]}}
{"chart":{"renderTo":"container","type":"line","marginRight":130,"marginBottom":25},"title":{"text":"Call Throughput","x":-20,"y":0},"xAxis":{"categories":["10:15 PM","1:00 AM"]},"yAxis":{"title":{"text":"Call Seconds"},"plotLines":[{"value":0,"width":1,"color":"#808080"}]},"series":[{"name":"Total Call Seconds","data":[70,1069,157,868,843,1182,16612,2374,34422,2658,707]},{"name":"User Call Seconds","data":[24,0,0,92,172,221,10442,631,19334,377,96]}]}
{
"points": {
"point": [
{
"city": {
"city_name": "london",
"country_code": "GB"
}
},
{
@smcguinness
smcguinness / _.md
Created October 3, 2012 19:39 — forked from anonymous/_.md
just another inlet to tributary
defaultCount: function(){
this.count(this.defaultQuery(), {
success: function(count) {
console.log('count is:' + count );
}
});
}