Category: Tips

  • Don’t collapse File headers by default in PHPStorm

    By default PHPStorm (which I love, BTW) collapses header comments. I think this is not a safe default, as I use header comment to give my fellow developers (or my future self) an overview about the file they’re going to read. To deactivate this behavior, just go to Settings > Editor > General > Code […]

  • Redirect HTTP traffic to HTTPS

    Recently I’ve moved all my websites to HTTPS thanks to Let’s Encrypt and Siteground. To redirect the traffic from HTTP to HTTPS I’ve used this rule in my .htaccess file: RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don’t put www. here. If it is already there it will be included, if not # the […]

  • How to expand all child nodes in Chrome

    This is a little one that I discovered today. You can expand all the child nodes of an element in Google Chrome’s dev tools with ALT + click on the little gray arrow beside the element. Really nice!