Skip to content

Instantly share code, notes, and snippets.

View rogersilvasouza's full-sized avatar
👁️
One eye on the fish and one on the cat

Roger Silva Souza rogersilvasouza

👁️
One eye on the fish and one on the cat
View GitHub Profile
@rogersilvasouza
rogersilvasouza / docker.sh
Created June 16, 2022 09:47
Run quick machine to testing apps or job applications
# Machine with mailcatcher
docker run -d --name mailcatcher -p 1080:1080 -p 1025:1025 chatwork/mailcatcher
# Machine with mariadb
docker run --name mariadb_local -e MYSQL_ROOT_PASSWORD=secret -d -v mysql:/var/lib/mysql -p 33060:3306 mariadb:latest
@rogersilvasouza
rogersilvasouza / update.sh
Last active November 15, 2022 11:40
Update and Clean OSX
brew update && brew upgrade && brew cleanup && brew cu --all --cleanup --yes && sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder && sudo purge && sudo rm -rf ~/Library/Caches/* && sudo rm -rf ~/Library/Logs/* && clear