Skip to content

Instantly share code, notes, and snippets.


Alberto Coletta boh717

Block or report user

Report or block boh717

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
boh717 /
Last active Oct 18, 2018 — forked from jakeasmith/
A quick snippet for doing a compressed mysql dump with a pv to monitor progress
# Add -h <host> -u <user> -p if needed
mysqldump --single-transaction --skip-lock-tables database [table1 table2 table3] | pv -W | gzip -c > [filename].sql.gz
boh717 /
Last active Mar 2, 2017
Script to update self-hosted Ghost blog to its latest version (
KillNode() {
NODE_PID=`ps aux | grep [n]ode | awk '{print $2}'`
kill $NODE_PID 2>/dev/null
if [ -z $1 ]; then
echo "I need ghost version number as parameter."
You can’t perform that action at this time.