Skip to content

Instantly share code, notes, and snippets.

@ahmedsayedabdelsalam
Last active March 22, 2023 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmedsayedabdelsalam/0372f5b3453d12e550af08535101f18f to your computer and use it in GitHub Desktop.
Save ahmedsayedabdelsalam/0372f5b3453d12e550af08535101f18f to your computer and use it in GitHub Desktop.
save
// wiki for onboarding build with laravel
https://www.bookstackapp.com/
// empty password for mysql
https://linuxconfig.org/mysql-allow-empty-password
// find matches
grep -r 'something' /path/to/file.txt
// replace inline in files
sed -i '' 's/megatron/pony/g' /path/to/file.txt
// create new laravel project with composer container
docker run --rm -v $PWD:/app composer create-project laravel/laravel example-app
// online db schema change without downtime tools
https://docs.percona.com/percona-toolkit/pt-online-schema-change.html
https://github.com/github/gh-ost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment