As easy as 1, 2, 3!
Updated:
- Aug, 08, 2022 update
configdocs for npm 8+ - Jul 27, 2021 add private scopes
- Jul 22, 2021 add dist tags
- Jun 20, 2021 update for
--access=public - Sep 07, 2020 update docs for
npm version
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| Set-ExecutionPolicy RemoteSigned | |
| $mongoDbPath = "C:\MongoDB" | |
| $mongoDbConfigPath = "$mongoDbPath\mongod.cfg" | |
| $url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-2.4.9.zip" | |
| $zipFile = "$mongoDbPath\mongo.zip" | |
| $unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-2.4.9" | |
| if ((Test-Path -path $mongoDbPath) -eq $True) | |
| { |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| # install sysbench | |
| $ apt-get install sysbench | |
| # CPU benchmark, 1 thread | |
| $ sysbench --test=cpu --cpu-max-prime=20000 run | |
| # CPU benchmark, 64 threads | |
| $ sysbench --test=cpu --cpu-max-prime=20000 --num-threads=64 run | |
| # Disk benchmark, random read. See .fio files in this gist |
| Banco: | |
| <select name="banco"> | |
| <option value=""></option> | |
| <option value="0156">100%BANCO</option> | |
| <option value="0196">ABN AMRO BANK</option> | |
| <option value="0172">BANCAMIGA BANCO MICROFINANCIERO, C.A.</option> | |
| <option value="0171">BANCO ACTIVO BANCO COMERCIAL, C.A.</option> | |
| <option value="0166">BANCO AGRICOLA</option> | |
| <option value="0175">BANCO BICENTENARIO</option> | |
| <option value="0128">BANCO CARONI, C.A. BANCO UNIVERSAL</option> |
Here's all you have to do to add clustering to your node.js application.
cluster.js, and run cluster.js instead of server.js (or /bin/www, or whatever it's called for your project)server.js filevar cluster = require('cluster');
if (cluster.isMaster) {
// Count the machine's CPUs
var cpuCount = require('os').cpus().length;| # install java | |
| apt-get install -y software-properties-common | |
| apt-add-repository -y ppa:webupd8team/java | |
| apt-get update | |
| apt-get install -y oracle-java8-installer | |
| # download latest android sdk | |
| # http://developer.android.com/sdk/index.html#Other | |
| cd /opt | |
| wget http://dl.google.com/android/android-sdk_r24.4.1-linux.tgz |
| [ | |
| { | |
| "prefijo": "0156", | |
| "nombre": "100%BANCO" | |
| }, | |
| { | |
| "prefijo": "0196", | |
| "nombre": "ABN AMRO BANK" | |
| }, | |
| { |