Skip to content

Instantly share code, notes, and snippets.

View akumbhani66's full-sized avatar
🎯
Focusing

Ashvin Kumbhani akumbhani66

🎯
Focusing
View GitHub Profile
@akumbhani66
akumbhani66 / tmux.md
Created December 19, 2018 12:08 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

@akumbhani66
akumbhani66 / tmux.txt
Created November 4, 2019 08:09 — forked from Kishan033/tmux.txt
Tmux cheat sheet
1. Start new tmux session
tmux new -s [session_name]
2. List all session
tmux ls
2. Dive into session
tmux attach -t [session_name]
3. Exit the session without killing current session
@akumbhani66
akumbhani66 / node_nginx_ssl.md
Created July 11, 2020 18:11 — 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