My utilities
Utilities
Command line
bolt_panel.sh
Opens several sessions in different Terminals, showing cpu temperature, nvidia-smi, htop, and opens a new terminal.
flushdns
Refresh DNS cache for macOS. Use with sudo.
Usage: $ sudo flushdns
git
git-alldiff
Execute in a git repository to show all current diferences
git-lazypush
This script add all changes, commit and push all at once.
Usage: `$ git-lazypush “Your comment”
git-remote-diff
Shows all differences between current branch and remote branch
gitlab-backup
Makes a backup of a gitlab server remotely and copies the just generated backup file locally.
Usage: $ gitlab-backup gitlab.local ./gitlab-backups
remotize
Creates a remote bare git repository in a remote server, and configure the local git repository to use it as a remote
Execute command from parent directory of the git repo:
$ remotize project server.local
Ruby
BenderRuby
Ruby template project to use ActiveRecord and migrations without the rest of Rails
SQL
sql-api
This is an experimental API. Queries are received in SQL, Sqlite3 interpret them, and return the response encoded in json (or plain if set this way).