Elementary OS as a replacement for super slow macOS Sierra on Macbook Air (2012)
My girfriend's Macbook Air (2012) got very slow lately. Slow to the extend that it's not useful anymore. It just makes you crazy. The mouse cursor does not move smoothly - the latency is up to 1s - and it's almost impossible to navigate in the UI and click on anything. The whole OS experience is so bad, that my girlfriend prefers using Android mobile rather then dealing with Mac, even when she needs to reply on long messages. I need to fix this.
Pgcli features
Features Auto-completion Simple completions such as keywords and sql-functions. Smart-completion Table name completions after the 'FROM' keyword. Column name completions once a table is recogni...
Postgres in Docker: Modify Owner of all Tables + Sequences
The following script will help you change the owner of all tables and sequences in your Postgres database using the official postgres Docker image. It generates SQL with ALTER statements in the first postgres Docker container based on your DB tables and sequences and pipes the generated SQL to the second Docker container, where the modifications are run. export user="your_new_owner" export dbname="your_db_name" cat <