laravel Updating Laravel Valet: sorry, you’re not allowed to preserve environment Laravel valet might tell you that you are not allowed to preserve the environment. This article details what that means, why that happens, and how to fix it.
nginx ETag, If-Match, NGINX, and you! If you set an ETag response header, and it's missing, NGINX might be removing it. This article explains what causes it and how to fix it so ETags show up again.
phpcs PHPCS on Codeship as CI test Use Codeship to test the changed files in your pull request against PHPCS. Find working code, and explanation on why it works.
git Set up Circle CI to run phpcs on only changed files in a PR Configure CircleCI so you can run phpcs on only changed files for a pull request.
go Testing and mocking - what clicked for me Rundown on how to transform untestable code to testable, mockable code in Go using interfaces and mocking
health Recap for 2018 My recap of 2018, and what I expect to happen in 2019. Long story short, got my British Citizenship, had some health issues. Read to find out more.
git Hide files from git, but everywhere! Git has a concept of global gitignore. You can have your usual files in a repository without needing to add them to the project's .gitignore file. Here's why and how.
timezone How should we store future time in non UTC in a database and still be performant? An example of a practical approach on how to store data in both local time, and a normalised time (UTC), and still be performant, but counter the timezone shift.
timezone Why storing future times in timestamps is not good A collection of articles and videos explaining timezone intricacies, including storing future events, and a list of libraries for PHP and JS.
phpcs Set up PHPCS and WordPress-Extra coding standards, and configure your IDEs to use them Having an overarching code style is nice. Learn how to set up phpcs and the WordPress coding standards for your system / editor.
wordpress Generating WordPress salts in Go One of the things I want to achieve in 2018 is to learn to use Go.- learn golang- launch own saas- launch company saas- get to work on a tropical island in
wordpress Let’s get salty! Because I’m on a roll today, so far I’ve broken 4 things today, including wp-cli, and Local by Flywheel. However I want to talk about what salts are, and why they
hosting SSL sadness with GoDaddy GoDaddy's SSL is ridiculously expensive. Learn why and what you can do about it.
freelancing Healthy Freelancing How do you do freelancing in a healthy way? Boundaries, Time, Money, Responsibilities.
xdebug Getting Xdebug working on php 7.2 and homebrew In which I tell how I got Xdebug working on homebrew php 7.2 and Laravel Valet and PhpStorm
laravel Laravel 5.6, SFTP, connection hygiene, and you! Laravel 5.6 introduced SFTP as a Storage method. Do you know whether it closes the opened connections or leaves them hanging? Read this! (yes, it does close them)
wordpress It’s 2018, and it’s totally possible to contribute to WordPress without touching svn I work with WordPres a lot. It takes up a solid 12 hours of my day pretty much each day (minus weekends, because, you know, burnout). I’m also fairly vocal about not
learning This weekend I was learning Go, set up a pi-hole, and was doing data rescue Busy weekend of learning Golang, rescuing data from unreadable disk (ongoing), and setting up an online ad blackhole.
wordpress On fixing embedded content in WordPress How to use a custom wpcli command to fix broken links in all content across your entire WordPress site.
health Move your body! If you're someone who spends a lot of time at the computer, you might develop a bunch of physical ailments particularly around your muscles, and joints. In addition to that, I've started to
workflow My local development environment There are so many tools to do local development, no wonder folks are lost. I’ve mostly tried them all with the notable exception of Docker. Here’s what I ended up with
advanced You don't need web sites to base64 decode things. Or to format JSON Instead of using free sites to do encoding / decoding / formatting of data, you could be using the command line. Here's an example of base64 decoding and pretty formatting json.
advanced Excuse me, do you have a moment to talk about our Lord and Saviour, WP_Rewrite? WP Rewrite is dark voodoo magic. I screwed up, so you don't have to!
development Here are 3 ways to help you load test your websites Do you want to know where your server's breaking point is? Read this and use one of them to find out.
fail We tried AMIMOTO. You won‘t believe what happened next We trialed AMIMOTO in hopes of speeding up a client site. We had a revelation a day in to testing it. It blew our minds!