var arr = [37107287533902102798797998220837590246510135740250,46376937677490009712648124896970078050417018260538,74324986199524741059474233309513058123726617309629,91942213363574161572522430563301811072406154908250,23067588207539346171171980310421047513778063246676,89261670696623633820136378418383684178734361726757,28112879812849979408065481931592621691275889832738,44274228917432520321923589422876796487670272189318,47451445736001306439091167216856844588711603153276,70386486105843025439939619828917593665686757934951,62176457141856560629502157223196586755079324193331,64906352462741904929101432445813822663347944758178,92575867718337217661963751590579239728245598838407,58203565325359399008402633568948830189458628227828,80181199384826282014278194139940567587151170094390,35398664372827112653829987240784473053190104293586,86515506006295864861532075273371959191420517255829,71693888707715466499115593487603532921714970056938,54370070576826684624621495650076471787294438377604,53282654108756828443191190634694037855217779
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
| { | |
| "quiz": { | |
| "name" : "Quiz Events", | |
| "desc": "Cool quiz", | |
| "link": "http://google.com", | |
| "img": "https://user-images.githubusercontent.com/29165115/37592233-150a111c-2b94-11e8-967f-3abe6d37f474.jpg", | |
| "events": [{ | |
| "name" : "Quiz 1", | |
| "desc" : "Everything related to Mother India.", |
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
| s |
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
| var mongo = require('mongodb').MongoClient | |
| var age = process.argv[2] | |
| var url = 'mongodb://localhost:27017/learnyoumongo' | |
| mongo.connect(url, function(err, db) { | |
| if (err) throw err | |
| var parrots = db.collection('parrots') | |
| parrots.find({ | |
| age: { |
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
| var express = require("express"); | |
| var path = require("path"); | |
| var app = express(); | |
| var filePath = path.join(__dirname, "celine.jpg"); | |
| app.use(function(req, res, next){ | |
| res.sendFile(filePath, function(err){ | |
| if(err){ |
| # | RN | # | RN | # | RN | # | RN | # | RN | # | RN | # | RN | # | RN | # | RN | # | RN |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | I | 11 | XI | 21 | XXI | 31 | XXXI | 41 | XLI | 51 | LI | 61 | LXI | 71 | LXXI | 81 | LXXXI | 91 | XCI |
| 2 | II | 12 | XII | 22 | XXII | 32 | XXXII | 42 | XLII | 52 | LII | 62 | LXII | 72 | LXXII | 82 | LXXXII | 92 | XCII |
| 3 | III | 13 | XIII | 23 | XXIII | 33 | XXXIII | 43 | XLIII | 53 | LIII | 63 | LXIII | 73 | LXXIII | 83 | LXXXIII | 93 | XCIII |
| 4 | IV | 14 | XIV | 24 | XXIV | 34 | XXXIV | 44 | XLIV | 54 | LIV | 64 | LXIV | 74 | LXXIV | 84 | LXXXIV | 94 | XCIV |
| 5 | V | 15 | XV | 25 | XXV |
| Name | Value |
|---|---|
| ONE HUNDRED | 100 |
| TWENTY | 20 |
| TEN | 10 |
| FIVE | 5 |
| ONE | 1 |
| QUARTER | 0.25 |
| DIME | 0.10 |
$ npm install jade --save
npm ERR! Linux 4.9.17-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v4.1.2/bin/node" "/home/ubuntu/.nvm/versions/node/v4.1.2/bin/npm" "install" "jade" "--save"
npm ERR! node v4.1.2
npm ERR! npm v2.14.4
npm ERR! code ECONNREFUSED
npm ERR! errno ECONNREFUSED
npm ERR! syscall connect
$ node -pe "require('url').parse('/test?q=1', true)"
Url {
protocol: null,
slashes: null,
auth: null,
host: null,
port: null,
hostname: null,
hash: null,