Logge inn i MySQL Shell:
Cd
til directory og kjør dette:
C:\xampp\mysql\bin>mysql -u root -p
Eller i annet «directory», men samme kommando:
XAMPP Shell -> mysql -u root -p
Vise kort commit hash
git rev-parse --short HEAD
Search aliases: https://ohmycheatsheet.com/oh-my-zsh-commands-cheat-sheet/
Aliases as pinnable list items: https://paalss.github.io/oh-my-aliases/
alias | command |
---|---|
-- - | cd - |
.. | cd ../ |
nano ~/.nanorc
sett inn
https://gist.github.com/keithamus/736220/5e069767b22841610ee18fd2f92bd6026f5eb41d
syntax "gitcommit" "COMMIT_EDITMSG$"
for f in *.js; do mv -- "$f" "${f%.js}.tsx"; done
https://unix.stackexchange.com/questions/19654/how-do-i-change-the-extension-of-multiple-files
For filer i mappe hvis navn er "pages":
npx jscodeshift -t https://mskelton.dev/ratchet.ts pages/**/*.{ts,tsx}
https://github.com/mskelton/ratchet
funker ikke på destructured props, da