Skip to content

Instantly share code, notes, and snippets.

Bruce Ingalls bingalls

Block or report user

Report or block bingalls

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
@bingalls
bingalls / # php - 2018-12-11_14-06-56.txt
Created Dec 11, 2018
php on macOS 10.11.6 - Homebrew build logs
View # php - 2018-12-11_14-06-56.txt
Homebrew build logs for php on macOS 10.11.6
Build date: 2018-12-11 14:06:56
@bingalls
bingalls / gist:a0506d6c02192e312b2d2c5742f8d4c2
Created Aug 24, 2017
List stale git branches that were already merged into master
View gist:a0506d6c02192e312b2d2c5742f8d4c2
git branch -r --merged master | sed 's|origin/||' | sort -u
@bingalls
bingalls / renameDatabase.sh
Last active Nov 9, 2015
Mysql hack, to rename databases
View renameDatabase.sh
#!/bin/bash
# renameDatabase.sh Rename a Mysql database, by moving all its tables
if [ $# -ne 2 ];then
echo "Usage: `basename $0` srcDatabase destDatabase"
echo 'Both database schemas must already exist. Escape any spaces in password with "\"'
exit
fi
echo "About to bulk rename $1 tables into $2. Control-C to quit"
You can’t perform that action at this time.