Put WordPress in maintenance mode without a plugin

1. In your web root directory (where the wp-config.php is located) create file .maintenance
2. It’s content should be <?php $upgrading = time();
3. You can customize the page by creating wp-content/maintenance.php

See source https://github.com/WordPress/WordPress/blob/9041e7a07150b10ed28ec274374ce7d397b0ac9b/wp-includes/load.php#L203-L206


GitHub compare for changelog check

Changelogs are handy sometimes, but I’m curious so I prefer to see code changes and learn new things so while the new WordPress security release came by I looked at it at GitHub with compare


I also checked what’s new in Arch Linux’s today’s VIM update.


To check other repo just replace thinks in the URL:


For more about GitHub compare read https://help.github.com/articles/comparing-commits-across-time/

Switched to browser bookmarks from Pocket

I got annoyed by malformed articles in Pocket so I removed the app from tablet, smartphone and browser and switched to use browser (Chrome) bookmarks. Just created a _read bookmark directory to be it up in the order (due sort by title).

read bookmark directory

So now during my morning reading on tablet I use Chrome instead Pocket app.
While using Chrome I provide better analytics data for the article authors. If they share knowledge for free, they get some free statistics from me in return 🙂

Dev tip: Learn VIM

So happy that I know how to use VIM. Why? Because sometimes I need to edit files on the remote host.
Maybe your IDE can’t successfully connect to the remote host and you end up with SSH and CLI commands.
My current scenario is implementing a payment gateway and using localhost as host is ignored 😦 I ended up coding on the shared hosting via SSH, but without slowdown thanks to VIM skills.