Skip to Content

Blog posts

Writing about code, systems and online technology.

  • Posted on

    Trust self-signed certificates on a Mac

    We rely on self-signed certificates in our development environment to test our applications via SSL. As a result, the browser will show you a warning saying the connection is not private each time. This becomes frustrating real quick!

  • Posted on

    Logging MySQL queries to a table

    I regularly need to find out which queries are being executed while debugging or investigating application performance. I used to configure MySQL to log into a file and then search the output to see what’s happening.

  • Posted on

    How to disable Chrome security checks for testing

    I recently ran into a problem when testing a website locally using an existing domain name. After adding the domain name to my hosts file and setting up a self-generated certificate, I was suprised to see that I could not ignore the expected certificate warnings.

  • Posted on

    Deny HTTP request methods in Nginx

    In certain situations you might need to restrict access to your web application based on the request method. Maybe because the method isn’t implemented, or you need to deny certain actions as part of your security policy.

  • Posted on

    Measuring a command's execution time

    Sometimes you need to find out how much time a command needs to finish. By adding the time command you can measure the execution time.