SCRATCHPAD - PaulB-H/qckcmd GitHub Wiki
Welcome to the qckcmd wiki scratchpad!
I am using this space for readme driven development
Tom Preston-Werner - readme driven developmentAlt+B
Opens current file in browser (with open in browser extension)
Ctrl+Shift+[
Fold (collapse) region | editor.fold
Ctrl+Shift+]
Unfold (uncollapse) region | editor.unfold
- Red
+ Green
! Orange
# Gray
@@ Bold Purple @@
! Note
For the following commands, keep Ctrl held but press the other keys one after another!
Ctrl+K Ctrl+[
Fold (collapse) all subregions | editor.foldRecursively
Ctrl+K Ctrl+]
Unfold (uncollapse) all subregions | editor.unfoldRecursively
Ctrl+K Ctrl+0
Fold (collapse) all regions | editor.foldAll
Ctrl+K Ctrl+J
Unfold (uncollapse) all regions | editor.unfoldAll
stackoverflow.com/questions/39718412
visualstudio.com/docs/getstarted/keybindings
visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
git init
git add .
Add all saved files to next commit
git add filepath/filename
Add specific file(s) to next commit
git add -p
Lets you submit chunks even within a certian file.
You can also break up chunks into smaller parts, to a certain limit.
git commit -m "subject" -m "extended message"
|----------------- Subject message this long only! -----------------|
gh repo create heroku create ssh username@ipaddress
apt get update && apt get upgrade
ls
cd
mkdir
su switch user
adduser username
usermod -aG sudo username
UFW
sudo ufw default deny incoming sudo ufw default allow outgoing sudo ufw deny http sudo ufw allow ssh sudo ufw enable
sudo ufw status verbose
nodemon concurrently pm2 nginx