php

Migrating a LAMP VPS

I recently switched my LAMP virtual server to a different VPS provider. The LAMP server that is serving you this site. So the migration worked! Here are the steps, for future reference. Mostly for myself, but maybe you — someone who came here from Google — can use this too. This should work on any small to medium sized VPS. Let’s go! Lower your DNS records TTL value When you… Read More »Migrating a LAMP VPS

Corbin

Corbin: static responsive image and video gallery generator

In classic yak shaving fashion; this weekend I created a static responsive image gallery generator. It’s one PHP file that — when run from the command line — generates a clean, fast and responsive (aka mobile friendly) video and image gallery with navigation from a directory of images and videos. The output is one single index.html file. The generator itself is a single PHP file (~300 LOC). And running it… Read More »Corbin: static responsive image and video gallery generator

Cruddiy: table relationship support via foreign keys

Read here what Cruddiy is and what it can do for you: here is the code. TLDR: Cruddiy is no-code Bootstrap 4 PHP form builder for MySQL tables. I started Cruddiy when the Covid-19 lockdowns happened this spring, to keep me busy. And I released it on GitHub. After 25 stars 🤩 and 13 forks on GitHub and a couple of really encouraging messages on the original Cruddiy post, I… Read More »Cruddiy: table relationship support via foreign keys

Foster: how to build your own bookshelf management web application

foster/ˈfɒstə/verb 1. Encourage the development of (something, especially something desirable). “the teacher’s task is to foster learning” TLDR: I made a personal bookshelf management web application and named it Foster and you can find it here. Here’s what I did — with gifs–, so you might build your own. Name I named it Foster. Because of *this* blog post — it accompanies the application, so it’s self-referential. And also, because… Read More »Foster: how to build your own bookshelf management web application

PHP: how did it become so popular?

PHP empowers a gigantic part of the internet. So it is, by definition, a very popular (i.e. prevalent) language. But it also very popular (i.e. well-liked) to dislike PHP as a — serious — language. This could be explained as one of the side effects of that same popularity. With great exposure, comes greater scrutiny. But that would be too easy. Because when discussing PHP as a serious computer programming… Read More »PHP: how did it become so popular?

Gid – Get it done!

Last weekend I built a personal ToDo app. Partly as an excuse to mess around a bit with all this ‘new and hip’ Web 2.0 technology (jQuery and Bootstrap) 🙈 But mostly because I needed one, and I couldn’t find a decent one. Decent? Decent in my opinion would be: Self hosted Self contained Use a plain text file Mobile friendly Able to track / see DONE items And Gid… Read More »Gid – Get it done!