Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
// Node.js CheatSheet. | |
// Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
// Download: http://nodejs.org/download/ | |
// More: http://nodejs.org/api/all.html | |
// 0. Synopsis. | |
// http://nodejs.org/api/synopsis.html |
Getting started:
Related tutorials:
/* | |
Per <http://stackoverflow.com/questions/5691901/using-the-underscore-module-with-node-js>, | |
from the Node.js REPL, use two underscores (__) instead of a single underscore (_) | |
because Node uses _ for the last return value. | |
Note that if your program is in a file, you can still use a single underscore (_). | |
*/ | |
var __ = require("underscore"); | |
__.each([1, 2, 3], function(e) { console.log(e); }); |
'use strict'; | |
var reconnection = true, | |
reconnectionDelay = 5000, | |
reconnectionTry = 0; | |
function initClient() { | |
connectClient(); | |
} |