- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
This file contains 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 promise = require('promise'); | |
var punycode = require('./punycode.min'); | |
var smtpc = require("smtpc"); | |
var config = require("./config"); | |
exports.send_mail = function (to, topic, body) { | |
return new promise(function(resolve, reject){ | |
var _to = []; | |
for (var i = 0 ; i < to.length; i++) { | |
_to[i] = punycode.toASCII(to[i]); |
This file contains 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
#!/bin/bash | |
# Example usage: | |
# ./sgg.sh http://islands-components.incrop.lego-dev.dev.yandex-team.ru/ popup | |
GATHER_URL=${1:-https://lego-staging.dev.yandex-team.ru/islands-components/dev/} | |
BLOCK=$2 | |
DIR_MAIN=gemini/screens | |
DIR_DIFF=gemini-report/diff | |
IMG_DIFF=./current-diff.png |
NewerOlder