Skip to content

Instantly share code, notes, and snippets.

View r4mkum4r's full-sized avatar
💭
I may be slow to respond.

Ramkumar R r4mkum4r

💭
I may be slow to respond.
View GitHub Profile
// Source: https://groups.google.com/forum/#!topic/angular/hVrkvaHGOfc
// jsFiddle: http://jsfiddle.net/pkozlowski_opensource/PxdSP/14/
// author: Pawel Kozlowski
var myApp = angular.module('myApp', []);
//service style, probably the simplest one
myApp.service('helloWorldFromService', function() {
this.sayHello = function() {
return "Hello, World!"
@r4mkum4r
r4mkum4r / package
Created July 11, 2012 01:14
Nodejitsu Socket hang up Deploy Error
{
"name": "meccabox",
"version": "0.0.1-51",
"private": true,
"dependencies": {
"express": "2.5.8",
"stylus": ">= 0.27.1",
"jade": "0.26.x",
"mongoose": "2.7.x",
"mailer": "0.6.x",
@r4mkum4r
r4mkum4r / gist:3056175
Created July 5, 2012 20:13
Nodejitsu Socket hang up Deploy Error
warn: Creating new snapshot for version 0.0.1-45
info: Done creating snapshot 0.0.1-45
info: Updating application meccabox
info: Activating snapshot 0.0.1-45 for meccabox
info: Stopping app meccabox
info: App meccabox is now stopped
info: Starting app meccabox
error: Error running command deploy
error: socket hang up
info: Nodejitsu not ok