Skip to content

Instantly share code, notes, and snippets.


James Mulholland mulholio

Block or report user

Report or block mulholio

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
mulholio /
Created Feb 27, 2019
Removes Postgres' `` file for when you computer shuts down incorrectly (e.g. battery failure) and Postgres won't start
# run this in your terminal
rm ~/Library/Application \Support/Postgres/var-10/
mulholio /
Created Feb 12, 2019
Update your development Rails database with the latest copy of your production Heroku database
dropDB() {
# set db username (might not be $USER in your case)
local username="$USER"
local dbname="YOUR_DATABASE_NAME" # your sushi_app_development
rake db:create
# you might need a password in here for your machine
mulholio / git-commit-branch-prefixes
Last active Nov 8, 2018 — forked from indexzero/git-commit-prefixes
Short list of Git commit and branch prefixes
View git-commit-branch-prefixes
## Prefixes
[del]: Delete code
[dist]: Changes to submodules, version bumps, updates to package.json
[doc]: Updates to documentation
[feat]: New feature
[fix]: Bug fixes
[infra]: Infrastructure changes
[merge]: Resolved git merge from upstream or otherwise
[nit]: Small changes: syntax, typos
[refact]: Refactor
You can’t perform that action at this time.