jq is useful to slice, filter, map and transform structured json data.
brew install jq
After you copy a component from the Tailwind UI library and begin to adapt it from Vue JS to Alpine JS .. you may wonder what to do about the transitions. As I'm exploring this myself, I am documenting it for others in the same boat.
Thanks to the original blog post: https://equimper.com/blog/how-to-setup-tailwindcss-in-phoenix-1.4
cd assets
npm i --save-dev tailwindcss postcss-loader postcss-import
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
You're taking your first steps into Ruby
A good introduction to programming in general. Easy on newer programmers.
# 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 |
# 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=$? |