Skip to content

Instantly share code, notes, and snippets.


Toni Dezman tonidezman

Block or report user

Report or block tonidezman

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
tonidezman /
Last active Aug 29, 2018
git pre-push hook
# 1) cd /path/to/your/repo
# 2) touch .git/hooks/pre-push
# 3) chmod u+x .git/hooks/pre-push
# 4) add code below to the pre-push file
#!/usr/bin/env bash
echo "Running RSpec"
bundle exec rspec spec
tonidezman /
Created Aug 31, 2018
Script for detecting if we need to rollback migrations when switching branches
# This git hook script helps us detect if we need to
# rollback some migrations when switching branches
# Recipe:
# 1) cd /path/to/your/repo
# 2) touch .git/hooks/post-checkout
# 3) chmod u+x .git/hooks/post-checkout
# 4) add code below to the post-checkout file
tonidezman /
Created Apr 4, 2019 — forked from baweaver/
A list of books for learning and expanding on your Ruby knowledge.

Ruby Book List

Learning Ruby

You're taking your first steps into Ruby

The Well Grounded Rubyist

A good introduction to programming in general. Easy on newer programmers.

You can’t perform that action at this time.