Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout key.pem -out cert.pem -config openssl.conf -extensions 'v3_req' |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
docker rm -v $(docker ps --filter status=exited -q 2>/dev/null) 2 > /dev/null | |
docker rmi $(docker images --filter dangling=true -q 2>/dev/null) 2 > /dev/null |
var fs = require('fs'); | |
module.exports.load = function(options) { | |
options = options || {}; | |
var basePath = options.basePath || './config'; | |
var env = options.env || 'development'; |
root = true | |
[*.{js,ts,json,html,css,scss,less,md,gitignore,editorconfig}] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
I start with a list and plan to create a comparison table.
http://www.w3.org/TR/WebCryptoAPI/
This specification describes a JavaScript API for performing basic cryptographic operations in web applications, such as hashing, signature generation and verification, and encryption and decryption. Additionally, it describes an API for applications to generate and/or manage the keying material necessary to perform these operations. Uses for this API range from user or service authentication, document or code signing, and the confidentiality and integrity of communications.
if(typeof(require.ensure) !== "function") | |
{ | |
require.ensure = function(modules, callback) | |
{ | |
callback(require); | |
} | |
} |
#!/bin/sh | |
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list | |
apt-get update | |
apt-get install -y mongodb-org |
#!/bin/sh | |
curl --silent --location https://deb.nodesource.com/setup_0.10 | bash - | |
apt-get -y install nodejs |