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.
Getting More A+ SSL Ratings
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:
- PCI DSS
- HIPAA
- NIST
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”
PHP – static:: vs self::
What is the difference between static::
and self::
in a PHP object oriented reference?
The simple answer is that most of the time, they are the same. There is a small difference between the two that many PHP developers and programmers do not know.
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.
Better SSL than Google? Let’s Encrypt is Good!
I was rather shocked.
After moving the server into Google Cloud, I decided to see what the SSL testing by SSL Labs would say about it. I secure all of my servers with the Let’s Encrypt program sponsored by the EFF and others.
I was use to getting a score of A
with their test. Today though, the results came up A+
. I have never seen SSL Labs give out an A+
score before. Not even to Google.
Continue reading “Better SSL than Google? Let’s Encrypt is Good!”
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”