Skip to content

Instantly share code, notes, and snippets.

View sanjeet05's full-sized avatar
🏠
Working from home

Sanjeet Kumar sanjeet05

🏠
Working from home
View GitHub Profile
@sanjeet05
sanjeet05 / node_nginx_ssl.md
Created September 27, 2019 05:43 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

cordova plugin add https://github.com/brodysoft/Cordova-SQLitePlugin.git
@sanjeet05
sanjeet05 / Sublime Text 3 Build 3103 License Key - CRACK
Created November 28, 2016 08:55
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@sanjeet05
sanjeet05 / ExcelFormulas.js
Created November 16, 2016 04:23 — forked from pies/ExcelFormulas.js
Few Excel formulas - PMT, PPMT, XIRR - expressed in Javascript
/* Based on
* - EGM Mathematical Finance class by Enrique Garcia M. <egarcia@egm.co>
* - A Guide to the PMT, FV, IPMT and PPMT Functions by Kevin (aka MWVisa1)
*/
var ExcelFormulas = {
PVIF: function(rate, nper) {
return Math.pow(1 + rate, nper);
},