Skip to content

Instantly share code, notes, and snippets.

View alaxalves's full-sized avatar
🏠
Hungry

Álax de Carvalho Alves alaxalves

🏠
Hungry
View GitHub Profile
@MatheusRich
MatheusRich / git-cagate.sh
Last active May 22, 2020 00:07
A simple bash script that creates a custom git command to ignore ALL kinds modifications (untracked files, modified files etc)
#!/bin/bash
# A simple bash script that creates a custom git command to ignore ALL kinds of
# modifications (untracked files, modified files, etc)
# Installation: run `sudo sh git-cagate.sh`
# Usage: run `git cagate` to ignore ALL modifications
cd /bin/ || exit
touch git-cagate
echo "touch .empty" >> git-cagate
@alaxalves
alaxalves / README.md
Created May 5, 2018 16:06
Rake task to check if your Rails database exist or not

Usage

  1. Create a file named "db.rake" under rails' "lib/tasks/db.rake"

  2. Place the code there and done!

It's great to use along with docker, since "A started container is not a ready container".

Sample usage can be found in: https://github.com/falko-org/Falko-API