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.
Make and Unmake Sites, Automated; Single-Domain Version
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”
Spinning up a single-domain web and email server
This tutorial will show you how to take a fresh Ubuntu 16.04 LTS VPS and turn it into a web and email server for a single domain. Many VPS providers offer $5 solutions with 1GB of RAM and 1 vCPU. This is more than enough.
Continue reading “Spinning up a single-domain web and email server”
Managing multiple versions of PHP (or other things too)
One of the issues that I have faced is having and running multiple versions of PHP with ease. I currently have 6 versions of PHP on my development machine. Before, to invoke the non-primary version, I would have to call it by the full path. I’ve tried making a common directory with symlinks and with shortcuts to the executables, but that never worked.
Continue reading “Managing multiple versions of PHP (or other things too)”
Make and Unmake Sites, Automated
Managing another website brings in some issues, like the setup. Surely this can be automated! I’ve had the site maker script working for a few months, but I just got the site unmaker script working, and I thought I would share those here.
Generating Random Passwords 6 – Fixing the Non-Printing Characters
In the last post, Generating Random Passwords 5 – Saving The Password, there was an issue with the passwords that were posted here. Did you catch it? They were not 32 characters long, even though I had specified that. Or rather, they had characters we could not see. These characters did not render, but were there.
Continue reading “Generating Random Passwords 6 – Fixing the Non-Printing Characters”
Generating Random Passwords 5 – Saving The Password
This is a continuation of previous post, Generating Random Passwords 4 – Emoji.
What we need to do now is to save the passwords we have been creating. As we have seen, the console does not always represent the characters correctly. Given that, we cannot rely that copy-and-paste will work correctly either.
Continue reading “Generating Random Passwords 5 – Saving The Password”
Generating Random Passwords 4 – Emoji
In Generating Random Passwords 3 – Untypable Characters we experimented with generating characters that are not on our keyboard. We can take that another step and use emoji characters.
Generating Random Passwords 3 – Untypable Characters
In the last post, Generating Random Passwords 2 – Controlling the Character Pool , we were able to customize the character pool for passwords on the fly. Since we are talking about passwords for one piece of software to talk to another software, the character pool does not need to have characters that are on our keyboard.
Continue reading “Generating Random Passwords 3 – Untypable Characters”
Generating Random Passwords 2 – Controlling the Character Pool
In the last post, Generating Random Passwords, we were able to create a random password of a length that we chose. However, we could not modify the character pool without modifying the source code.
Continue reading “Generating Random Passwords 2 – Controlling the Character Pool”