Skip to content

Instantly share code, notes, and snippets.

Alban Jubert juban

Block or report user

Report or block juban

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
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
@jackmcpickle
jackmcpickle / craft-update.sh
Last active Jul 11, 2017
manually update craft cms
View craft-update.sh
#!/bin/bash
################################################################
# craft-update
# Searches and cleans latest craftcms url from craftcms.com
# Downloads and replaces existing craft app folder
# Also checks you agree to craftcms terms
################################################################
set -e
# Check that path to craft folder is there
You can’t perform that action at this time.