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
{ | |
"semi": true, | |
"useTabs": false, | |
"tabWidth": 2, | |
"printWidth": 80, | |
"proseWrap": "always", | |
"bracketSpacing": true, |
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
{ | |
"name": "yer-app", | |
"version": "0.1.0", | |
"scripts": { | |
// Next.js -> Specify Port | |
"dev": "next dev -p 8080", | |
// Any -> Chain Processes | |
"update": "yarn upgrade && yarn install && yarn start", |
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
Show hidden characters
// tsconfig.json or jsconfig.json | |
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"paths": { | |
"components/*": ["./pages/components/*"] | |
} | |
} | |
} |
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
// ** Kill Process on Specific Port ** | |
sudo kill -9 $(sudo lsof -t -i:3001) | |
or | |
kill -9 $(lsof -t -i:3001) |
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
// ** Smoothing ** | |
* { | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
// ** Box Sizing Rules ** | |
*, | |
*::before, | |
*::after { |
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
*** Removes most recent unpushed env commit & adds env to gitignore *** | |
echo '.env' >> .gitignore | |
git rm -r --cached .env | |
git add .gitignore | |
git commit -m 'untracking .env' | |
git push origin master | |
*** Removes all env instances from commit history *** |