This file contains hidden or 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
| normal&0*,1*,2*&!shiny&!favorite&!shadow |
This file contains hidden or 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
| shorteners() { | |
| cat ~/Code/src/github.com/denvercoder/shorten/_redirects | |
| } | |
| shorten() { | |
| # Rough test for URL in the wrong place | |
| [[ "$1" =~ ":" ]] && echo "Please use the format: shorten shortname <url>" && return; | |
| # Jump into shortener URL | |
| cd ~/Code/src/github.com/denvercoder/shorten |
This file contains hidden or 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
| wesbos() { | |
| npx install-peerdeps --dev eslint-config-wesbos | |
| echo "{\"extends\": [\"wesbos\"],\"rules\": {\"no-console\": 2,\"prettier/prettier\":[\"error\",{\"trailingComma\": \"all\",\"semi\": false,\"singleQuote\": true,\"printWidth\": 80,\"tabWidth\": 2}]}}" >> .eslintrc | |
| } |
This file contains hidden or 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
| #!/bin/bash | |
| cd ~/Local\ Sites/$1/app/ | |
| echo Installing Bedrock... Please Wait | |
| composer create-project roots/bedrock | |
| rm -rf public |