Just another collection of CheatSheets.
living document – constantly updating
Cheat Sheets
So far:
Helpers
Meta Files
React
- root
-
- vscode settings
Sets every
.js
file to be read asreactjs
.
- vscode settings
Sets every
-
- .env
Adds
NODE_PATH=src/js/
to be able to cross-import files.
- .env
Adds
Theory
Common
OSX Bash script not executed "command not found".
sudo chmod a+x ./app/build.sh
Install nodejs on ubuntu
https://github.com/nodesource/distributions/blob/master/README.md#debinstall
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
Kill open port in OSX
sudo lsof -i :<port>
sudo kill -9 <port PID>