We have a task to take a number and convert it into Roman numerals. That’s easy, right? Lets work through the problem.
Continue reading “Thinking Like a Programmer – Roman Numerals”
Moonlight Coding
We have a task to take a number and convert it into Roman numerals. That’s easy, right? Lets work through the problem.
Continue reading “Thinking Like a Programmer – Roman Numerals”
When upgrading to the next release of PHP it’s nice to be able to test it in place. Continue reading “Run Multiple Versions of PHP in a Single Apache Vhost”
Recently I had need to shuffle an array, but keep the associative keys. Here’s the simple function to do that. Continue reading “PHP Array Key Value Shuffle”
I use the PPAs for both Apache and PHP. I know that when running apt update
downloading from the PPAs takes a while. This post describes how to set up a local apt mirror to speed that up.
Keeping the server spec up to date take regular effort. In this post we will discuss how to set up and enable some of the most recent web technologies.
Continue reading “Enabling TLS v1.3, HTTP2, and Push on Apache 2”
I’ve been wanting to have a simple password generator. There are a few solutions out on the internet, but none quite what I wanted. Here is a simple and customizable JavaScript password generator.
I had need to use Google’s C++ unit testing frame work, gtest
, in one of my projects. I spent a lot of time Googling on what folders to include, where to put it, how to configure cmake
, etc. Here’s the guide so you don’t end up pulling out your hair like I did.
Continue reading “Integrating gtest with cygwin and cmake on Windows”
The Monty Hall paradox is a paradox because it is counter-intuitive even though it is mathematically correct. This article demonstrates with PHP code how the paradox works.
In this post I mentioned about getting an A+ rating on ssllabs.com. It was not easy for me to get an A+ on some of the other sites like HT Bridge, but I finally got it! And with it I got compliance with:
This post is similar to Make and Unmake Sites, Automated with the difference that this is for a single-domain server created in Spinning up a single-domain web and email server.
Continue reading “Make and Unmake Sites, Automated; Single-Domain Version”