- https://mailchimp.com/resources/what-does-ps-mean/
- https://www.google.com/search?q=react+state+or+getelementbyid&oq=react+state+or+getelementbyid&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDU0NDhqMGoxqAIAsAIA&sourceid=chrome&ie=UTF-8
- https://www.google.com/search?q=react+state+or+getelementbyid&oq=react+state+or+getelementbyid&gs_lcrp=EgZjaHJvbWUyBggAEEUYOdIBCDU0NDhqMGoxqAIAsAIA&sourceid=chrome&ie=UTF-8
- https://css-tricks.com/making-disabled-buttons-more-inclusive/
- https://www.smashingmagazine.com/2021/08/frustrating-design-patterns-disabled-buttons/
- https://law.stackexchange.com/questions/102043/can-hotel-booking-companies-make-up-any-original-price-they-want-or-does-the
Nyere, mer oppdatert versjon lagret i din egen config
sudo apt install neovim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ask in what path the component resides in | |
# if no answer is provided, use default value | |
# -e flag is for giving `cd`-code completion while answering the question | |
defaultValue=src/stories/default/ | |
read -e -p "Where is component located? (default: $defaultValue): " location | |
location=${location:-$defaultValue} | |
read -p "Enter component name you want to rename: " currentName | |
componentPath=$location/$currentName |
Vise kort commit hash
git rev-parse --short HEAD
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
NewerOlder