Skip to content

Instantly share code, notes, and snippets.

View rolspace's full-sized avatar

Rolando Ramos rolspace

  • Madrid, Spain
View GitHub Profile
@rolspace
rolspace / mysql-docker.sh
Created November 5, 2020 12:08 — 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
@rolspace
rolspace / multiple_ssh_setting.md
Created September 24, 2020 20:08 — forked from jexchan/multiple_ssh_setting.md
Multiple SSH keys for different github accounts

Multiple SSH Keys settings for different github account

create different public key

create different ssh key according the article Mac Set-Up Git

$ ssh-keygen -t rsa -C "[email protected]"