Skip to content

Instantly share code, notes, and snippets.

Avatar
🏀
Focusing

Faruk Garić farukgaric

🏀
Focusing
View GitHub Profile
@spalladino
spalladino / mysql-docker.sh
Created Dec 22, 2015
Backup and restore a mysql database from a running Docker mysql container
View mysql-docker.sh
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@hirobert
hirobert / response-content-disposition-cloudfront.txt
Last active Mar 2, 2021
response-content-disposition and cloudfront
View response-content-disposition-cloudfront.txt
1) Log in to aws console.
2) Click cloudfront
3) Click behaviors
4) Select pattern and edit