Skip to content

Instantly share code, notes, and snippets.

View rohit1kumar's full-sized avatar
🌴
On vacation

Rohit Kumar rohit1kumar

🌴
On vacation
View GitHub Profile
@rohit1kumar
rohit1kumar / cloud.md
Last active May 12, 2024 09:10
cheapest vm pricing
name cpu memory storage bandwidth price misc
B1ls 1 0.5GB 4GB 5GB ₹340/month ₹229/month if paid for 1 year
B1s 1 1GB 4GB 5GB ₹681/month ₹460/month if paid for 1 year

| name | cpu | memory | storage | bandwidth | price | misc |

@rohit1kumar
rohit1kumar / work-with-multiple-github-accounts.md
Created August 27, 2023 18:28 — forked from rahularity/work-with-multiple-github-accounts.md
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@rohit1kumar
rohit1kumar / node_nginx_ssl.md
Created June 6, 2023 17:39 — 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