javascript – Can (a== 1 && a ==2 && a==3) ever evaluate to true? – Stack Overflow Yes, it can. IMHO it is one of the several undesirable consequences of loosely typed languages. In fact, according to an almost anonymous user: Worst, it is also possible using the === operator!
Category: Documentations
Tricks
Versioning data in Postgres? Testing a git like approach – Specfy
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:
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.