in this series, we've been looking at how to write command line applications in php using macrame. in...
i recently worked on a rescue project where the original dev wanted to sort an array of item objects...
php doesn't get a lot of attention as a command line scripting language. which is a shame, since php...
i am a mediocre vim user. sure, i've been using vim for over twenty years, have handcrafted a custom...
we're all familiar with the whole "thai food near me" thing. you type that phrase into your phone and...
we've all been in that less-than-ideal situation of something going horribly awry in production and...
php isn't the sort of language where developers usually think about things like memory. we just sort...
i often joke that php is a systems programming language that you can also use to create a home page....
there’s an rfc vote currently underway for a number of new array functions in php8.4 (thanks to...
a while ago, i blogged about uploading files to s3 using curl and provided the solution as two...
a programming language is only ever going to be as good as its standard library. try writing a c...
in this series we're looking at using the amber language to write scripts that transpile into bash....
writing shell scripts is zero fun. the bash syntax is a mess, error handling is difficult, and any...
knowing the geolocation of your site's users is handy thing. maybe you want to force your canadian...
recursion has a bad reputation amongst programmers; it's convoluted and complicated and difficult to...
it's a universal truth that one of the primary jobs of backend developers is drinking from the...
there are times when we tar and gzip a directory and the final tarball is just too damn big. maybe it...
the problem is this: we have a bunch of files, pdfs say, on our webserver that we want people to...
the cold, hard truth is that the reason your web app or api is running slow is because of your...
a week ago, i ran this db insert-heavy script on a server and forgot to turn off mysql‘s binlog...
s3 is handy and useful, but it would be a lot more handy and useful if we had a shell script for...
the mysql command is nice and simple: you run it and get a prompt, you enter a query and get your...
php is primarly considered a web language, but it can certainly be used to build interactive...
php's arrays are great. until they aren't. it's easy to let arrays get away on you and wind up...
dealing with dates, times and, espescially, timezones, is messy and zero fun. every serious...
managing your aws resources with command line utilities or via configuration files is pretty...
if you write laravel projects, then you've probably written some database seeders and maybe some...
file handling is one of those things developers don't pay a lot of attention to anymore; we read in...
php doesn't get a lot of attention as a command-line scripting language, which is a shame. php has a...
laravel does a pretty good job of transparently translating models to json so long as you keep things...