Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Toni Dezman tonidezman

🎯
Focusing
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
tonidezman / instructions.sh
Last active Aug 29, 2018
git pre-push hook
View instructions.sh
# 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
exit_status=$?
@tonidezman
tonidezman / checking_for_non_existing_migration_files.sh
Created Aug 31, 2018
Script for detecting if we need to rollback migrations when switching branches
View checking_for_non_existing_migration_files.sh
# 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
#!/bin/bash
@tonidezman
tonidezman / ruby_books.md
Created Apr 4, 2019 — forked from baweaver/ruby_books.md
A list of books for learning and expanding on your Ruby knowledge.
View ruby_books.md

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.