Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Toni Dezman tonidezman

🎯
Focusing
View GitHub Profile
@tonidezman
tonidezman / setup_tailwind_in_phoenix.md
Created Aug 13, 2020 — forked from josephan/setup_tailwind_in_phoenix.md
Add Tailwind CSS to an Elixir/Phoenix Project with PurgeCSS
View setup_tailwind_in_phoenix.md
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@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.

@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 / 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=$?
You can’t perform that action at this time.