Function for bash_profile to test your websites

This is a simple, adjustable function you can put in your bash_profile to test if your websites give the right http status:

The rusult will be as simple as:


PHPStorm – remove div with class

In a search and replace project we had to remove one div from 1000+ static html pages. We knew the id (container) and class (nav) it had and the class of the div (class is fullWithBlock) that followed that specific div on every page

One stop redirect https and www

If you want a redirect to the www version and a redirect to the https version of your blog, you might add rules to redirect those situations. On any pageload test this kan be punished if it detects tworedirect (bot to ww and https). To be save do both redirects in one swift move.