Skip to content

Instantly share code, notes, and snippets.

View lleger's full-sized avatar

Logan Leger lleger

View GitHub Profile
@lleger
lleger / Rails Migrations Post Merge Git Commit Hook
Created January 14, 2012 08:07 — forked from eddorre/Rails Migrations Post Merge Git Commit Hook
Rails Migrations Post Merge Git Commit Hook
Get notifications when there are migrations that need to be run in a Rails project:
https://img.skitch.com/20110418-c9y3ttap3tai7frc43f38qtb8e.jpg
In your Rails project edit the .git/config file to add the following:
[rails]
automigrate = false
automigrateforegroundcolor = yellow
automigratebackgroundcolor = black
@lleger
lleger / rename_phoenix_project.sh
Created April 9, 2020 21:09 — forked from krystofbe/rename_phoenix_project.sh
rename a phoenix 1.4 umbrella
#!/bin/bash
set -e
CURRENT_NAME="OldName"
CURRENT_OTP="old_name"
NEW_NAME="NewName"
NEW_OTP="new_name"