source | rendered |
---|---|
Literal block style |
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
be rspec -f d --color --dry-run spec/features/** |
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
NODE_ENV=production bin/webpack --config config/webpack/production.js --profile --json > stats.json | |
# Serve the chart, do not forget to provide the public/packs argument to show real sizes | |
./node_modules/.bin/webpack-bundle-analyzer stats.json public/packs |
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
gem install mysql2 -v 0.5.4 -- --with-cppflags=-I/usr/local/opt/openssl@1.1/include --with-ldflags=-L/usr/local/opt/openssl@1.1/lib |
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
gem install mysql2 -- --with-mysql-dir=/usr/local/opt/mysql@5.7 |
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
docker run -it --rm -v $(pwd):/usr/src/app:z -w /usr/src/app --user=$UID:$(id -g $UID) -e HOME="." node:8 npm run encore-prod |
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
# First checkout master! | |
# First remove local remote tracking branches that no longer exist on remote | |
git remote prune origin | |
# Now remove remote branches that are merged in the currect branch (except `master`, `demo` and `rc) | |
git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | |