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
Should also work for: | |
[v] any OpenSSH installation | |
Given, your key is in id_rsa | |
1 | |
Passphrase is needed? | |
Try some host which has your public key (id_rsa.pub) |
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
npm config set registry http://registry.npmjs.org/ |
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
Generating CSR | |
============== | |
openssl genrsa -des3 -out server.key 2048 | |
openssl rsa -in server.key -out server.key.insecure | |
mv server.key server.key.secure | |
mv server.key.insecure server.key | |
openssl req -new -key server.key -out server.csr | |
install on apache | |
================ |
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
1. removing the deb package: apt-get remove strongloop-suite | |
2. installing the new one: | |
add-apt-repository ppa:chris-lea/node.js | |
apt-get update | |
apt-get install nodejs | |
npm install -g strong-cli |
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 phoneNumber = '08111111'; //nomor yang akan di test | |
$.each(operators, function(service, operator) { | |
//console.log("%o : %o ", service, operator); | |
if (operator["pattern"].test(phoneNumber)) { | |
//do some thing with here or simple alert (for testing) | |
alert("%s iku cocok karo: $s -> jeneng produk'e: $s soko operator %s", phoneNumber, operator["pattern"], service, operator["name"]); | |
else | |
console.log("%s iku gak cocok: $o", phoneNumber, operator); | |
} |
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
[{"name":"speak","phrase":"Thanks for calling!"}, | |
{"name":"playback","filename":"lots-o-monkeys"}] |
NewerOlder