Skip to content

Instantly share code, notes, and snippets.

View tghelere's full-sized avatar
🇧🇷
Eat, Sleep, Code, Repeat

Thyago Ghelere tghelere

🇧🇷
Eat, Sleep, Code, Repeat
  • Softhing S/A
  • Brazil (Londrina - PR)
  • X @tghelere
View GitHub Profile
@tghelere
tghelere / mysql-docker.sh
Created September 12, 2018 12:20 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# 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
@tghelere
tghelere / README-Template.md
Created April 6, 2017 19:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites