Blog
-
CatImgPHP - Preview Images on the Command Line with PHP
I was reading an article recently about the catimg tool used to preview images on the command line. I saw this as a fun way to keep my PHP skills sharp. The Inspiration I installed the catimg tool locally to test it out and see what kind of output it produced. It's included in most Linux distributions, and is available on MacOS via Homebrew, but Windows users will need to build it from source…
-
A Formatting Class For PHP Command Line Scripts
Just over a year ago when I moved into my flat, I found myself at a loose end in that time between moving in and the Internet connection being set up. Having exhausted all my films, and played my fill of Red Alert, I was in desperate need for something to do. This PHP script is the culmination of that free time; a command line script that can turn basic HTML strings into something that can be displayed…