Versioning data in Postgres? Testing a git like approach – Specfy is fashinating but I think that most of the time these two proposed alternatives fit most of the needs:
Category: Documentations
Documentations
Datomic – The Ten Rules of Schema Growth
Datomic – The Ten Rules of Schema Growth Data outlives code, and a valuable database supports many applications over time. These ten rules will help grow your database schema without breaking your applications.
Tricks, vim
5 Must-Have Vim Plugins That Will Change Your Workflow
5 Must-Have Vim Plugins That Will Change Your Workflow. In my case Syntastic: a syntax checking plugin for Vim which runs files through external syntax checkers and displays resulting errors. Fugitive: a Git wrapper for Vim that is self-described as “so awesome, it should be illegal.” Emmet: an extremely useful plugin for web developers. It…
Documentations
Upsert in SQL
Inserting and updating data with a single query. Source: Upsert in SQL
Tricks
How to Download a Browser Without a Browser After Installing Windows
Here’s how to get your favorite browser after setting up a new Windows PC, without touching any other browser beforehand. : How to Download a Browser Without a Browser After Installing Windows
Tricks
User-specific hosts file to complement /etc/hosts
Django, Python, Tricks
Using CSV File as data storage and access
Thanks adamchainz!
Tricks, Wordpress
My little printer-friendly CSS
Here is my little “Printer friendly CSS” that I add to each and every page using Simple Custom CSS and JS I use it with News-box theme but it should work fine with any other “pretty modern” theme. I started reading How to Create Printer-friendly Pages with CSS (local copy)
I used to run du -hsc / |sort -hr | less but it seems that people needs this
dutree is a free, open-source command-line tool for analyzing disk usage, written in Rust programming language that reports disk usage in a tree-like format.
Tricks
Converting a multi page pdf to multiple pages using a single command
imagemagick – Converting a multi page pdf to multiple pages using a single command – Stack Overflow It’s as simple as Where 4 means 4 digits will be show on the page count. You can change jpg to webp or whatever and ImageMagick understand it. The codes used are the same of the printf function…