Skip to content

Instantly share code, notes, and snippets.

View rohitdaryanani's full-sized avatar
🍣

Rohit Daryanani rohitdaryanani

🍣
  • Versent
  • Melbourne
View GitHub Profile
Hi Good Evening Sir I'm very interested to work for you guys and i really like the technology stack
your using I was referred by Engr. Christian Maderazo and Engr. Christine Gohetia i have already
submitted my resume to Sir Chrisitan I just noticed that i failed to attach my resume after
filling up the application form on http://www.javascriptph.com/ should i send it to you or should
i fill up the application form
again and attach it hope to hear from you soon and have a talk with you guys thanks.
var http = require("http");
var url = require("url");
var items = [];
http.createServer(function(req, res) {
switch(req.method) {
case 'POST':
var item = '';
@rohitdaryanani
rohitdaryanani / gist:6448276
Created September 5, 2013 10:06
mongo db queries
-display all database
show dbs
-display current database
db
-display all collections
show collections
-switching/using/create a databse
use "dbname"

Objects

To create a new object, use the new keyword followed by a call to a constructor function. Javascript provides the Object() constructor out-of-the-box:

var toilet = new Object();

Properties

Once you have an object, you can set and get properties on it, like this:

#Programming Manifesto

##Books Ruby

  • Learn to Program by Chris Pine
  • The Well-Grounded Rubyist by David Black
  • Eloquent Ruby by Russ Olsen
  • Practical Object-Oriented Design in Ruby by Sandi Metz
  • Confident Ruby by Avdi Grimm
@rohitdaryanani
rohitdaryanani / health.md
Last active July 12, 2016 05:17
Eating and workout recorder

Height - 5'11"

Starting Weight - 217lbs / 98.6kg (226.2lbs / 103kg with clothes)

Ideal Weight - 193lbs / 87kg

To Lose - 29.2 lbs / 13.2kg

Week 1

'use strict';
module.exports = function CreateGroupKeyController ( $scope, $modalInstance, ToasterService, ApiService, collection ) {
var self = this;
var groupid, newData, key;
self.disableCreateGroupKey = true;
self.disableGroupKeyField = false;
self.errorDuplicategroupKey = false;
@rohitdaryanani
rohitdaryanani / 0_reuse_code.js
Created March 8, 2017 09:14
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console