using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
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
import * as soap from "soap"; | |
var platformPassword = 'PlatformAPIPassword'; | |
var platformUsername = 'PlatformAPIUser'; | |
var url = "https://docs.mendix.com/apidocs-mxsdk/apidocs/attachments/9535497/19398865.wsdl"; | |
var requestArgs: any = null; | |
var options: any = {}; | |
requestArgs = { | |
ApiKey: "667271d9-1b1b-4056-8c3e-4de044e9e57e", | |
ProjectID: "b1bdb9f4-d92f-4a0c-a469-b163d874df31" |
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
Chenthil Rajan 318 243 1429 | |
kchenthilrajan@gmail.com | |
www.github.com/kchenthilrajan | |
SUMMARY | |
• 10+ years of experience in Software Development including Analysis, Design, Development | |
and Testing of various applications in Java/J2EE environment. | |
• Experience in Functional and Object Oriented Programming style of Javascript. | |
• Clear understanding of prototype chaining, closure and scope with respect to Javascript. | |
• Got good exposure to UI design using Adobe Photoshop, Adobe Illustrator, Performed slicing |
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
Reference: https://medium.com/@gargar454/deploy-a-mongodb-cluster-in-steps-9-using-docker-49205e231319#.ff9lbtdl9 | |
this post talks about 3 Nodes,Mongodb 2.6.5. In order to use mongo 3.0, a few changes has been made. Assume using root | |
1. First we need 2 servers with docker installed | |
1.1 recommend use Ubuntu 14.04 on aliyun, then install daocloud for docker installation and monitoring | |
curl -sSL https://get.daocloud.io/docker | sh | |
1.2 install daocloud monitoring program |
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
# Setup local MongoDB Replica Set for development. | |
DB_ROOT ?= /tmp | |
DB1_PATH ?= ${DB_ROOT}/db1 | |
DB2_PATH ?= ${DB_ROOT}/db2 | |
DB3_PATH ?= ${DB_ROOT}/db3 | |
DB1_PORT ?= 30000 | |
DB2_PORT ?= 40000 | |
DB3_PORT ?= 50000 |
Go through this amazon link http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
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 | |
echo "--------------------------------------------------------------------------------------------" | |
echo "Installing Predis on Ubuntu 16.04" | |
echo "Read more: https://github.com/nrk/predis" | |
echo "Author: Ralf Rottmann | @ralf | http://rottmann.net" | |
echo "--------------------------------------------------------------------------------------------" | |
PHP_CONF_DIR="/etc/php/7.0/apache2/conf.d" | |
echo "Checking prerequisites..." | |
echo "Git available?" | |
[ ! -s /usr/bin/git ] && sudo apt-get -q -y install git || echo "Git already installed." |
There are two main modes to run the Let's Encrypt client (called Certbot
):
- Standalone: replaces the webserver to respond to ACME challenges
- Webroot: needs your webserver to serve challenges from a known folder.
Webroot is better because it doesn't need to replace Nginx (to bind to port 80).
In the following, we're setting up mydomain.com
.
HTML is served from /var/www/mydomain
, and challenges are served from /var/www/letsencrypt
.
NewerOlder