Skip to content

Instantly share code, notes, and snippets.

Avatar
🤖
Hey it's me and ChatGPT3

Rod Solo rodneyspencer

🤖
Hey it's me and ChatGPT3
View GitHub Profile
@rodneyspencer
rodneyspencer / git_default_branch_main.bash
Created July 18, 2022 15:36
Change git default branch name to main
View git_default_branch_main.bash
git config --global init.defaultBranch main
@rodneyspencer
rodneyspencer / node_nginx_ssl.md
Created February 28, 2022 02:23 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL
View node_nginx_ssl.md

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

@rodneyspencer
rodneyspencer / mdcomments.md
Last active May 7, 2020 15:08
comments in markdown
View mdcomments.md

[//]: # (Comment)

Thanks Magnus:

[//]: # (This may be the most platform independent comment)

@rodneyspencer
rodneyspencer / cosmic_latte.md
Last active March 6, 2020 15:56
Cosmic Latte: The Average Color of the Universe
View cosmic_latte.md
@rodneyspencer
rodneyspencer / gist:e5d1e7f55c28bd9ea280ba28629aa43f
Created March 5, 2020 13:54
Set Extension Shortcuts in Brave
View gist:760954f566883a5866b141df8dd96923
**Description**
theProblem
**Example**
`code`
**Observed**
whatHapp
**Expected**
@rodneyspencer
rodneyspencer / gist:232bfffdd73cff2bb2c5572382404928
Created March 3, 2020 13:32
Disable IntelliSense for Plain Text in VS Code
View gist:232bfffdd73cff2bb2c5572382404928
# Ctl+Shift+P > Language Specific Settings > Plain Text
# Find the plaintext settings and add editor.quickSuggestions: false:
"[plaintext]": {
"editor.quickSuggestions": {
"other": false,
"comments": false,
"strings": false
}