Install Metabase with Systemd on Ubuntu mkdir metabase && cd metabase wget https://downloads.metabase.com/v0.38.3/metabase.jar sudo apt -y install openjdk-11-jdk openjdk-11-jre sudo grou...
sshuttle instead of ssh port fowarding
sshuttle instead of ssh port fowarding sshuttle is awesome. sshuttle -r your_user@192.168.1.20 10.10.10.0/24
Gnome Control Center on i3wm
Running gnome-control-center in i3 session Here is the issue: I’m running i3 on the desktop, but still need to have GNOME Evolution to do some system configurations more easily. Evolution is config...
Automating PostgreSQL Restores
Required reading PostgreSql command line utilities without provide password Sending messages to slack with bash script Let’s go then Recently i need to build some bash scripts to implement a auto...
Automating PostgreSQL Backups
Required reading PostgreSql command line utilities without provide password Sending messages to slack with bash script Let’s go then Recently i need to build some bash scripts to implement a auto...
Sending messages to slack with bash script
I need send messages in slack channel when i deploy things, ou backups and restore dbs, so with this script i can keep the entire team updated when certain actions hapen. Slack CLI #!/usr/bin/env...
PostgreSql command line utilities without provide password
Sometimes you need to put comands from Postgres CLI in bash scripts, and the passwords can be a problem, no more: Provide password using the password file Create the config file $ touch ~/.pgpass...
Install Ruby Old Versions with Rbenv
As far as I know, (and tested) Ruby versions < 2.4 requires libssl1.0, while >2.4 libssl1.1+. The two libssl packages conflict with each other, so you can’t have both of them, so I had to jug...
Getting Started with Git: A Beginner's Guide
For many self-taught web developers, especially those who have worked solo, version control systems like Git can seem daunting. This guide aims to simplify Git, helping you understand its basics an...