RSSAmplifier

Blog

Rambling…

Thoughts musings from a product developer and manager

heald.caRSS feed ↗10 posts

Latest posts

The Last Troubadour: Some Memories of Clarence Linden Heald, 1868-1958

"This is the story of my own father; and I feel I would like to tell it here because it is part of the fabric of this American heartland in the late 1800's and early 1900's — because it may help you to know me better — and because, frankly, I think it is quite a story, and I want to write it down before it too fades away in those tides that wash Ireland and America and all the rest of our planet."…

How to automatically block WordPress bot spam without a plugin

If you have a WordPress site that allows comments without registering, your trash will likely be filled with hundreds of spam comments that you will need to deal with. Here are a few relatively simple steps to help almost completely eliminate this problem. This will require editing your functions.php file and style.css file. For these Continue reading "How to automatically block WordPress bot spam…

Adding a DIY PID to the Gaggia Classic Pro

The Gaggia Classic is a very capable espresso machine that gets even better with a couple of improvements. Once the machine has been set to 9 bars of pressure (see bottom of article), the next big improvement is the addition of a PID. This gives the machine a whole new level of consistency, and gives Continue reading "Adding a DIY PID to the Gaggia Classic Pro" The post Adding a DIY PID to the…

Converting CUSIP-6, CUSIP-8 and CUSIP-9 to ISIN in PHP

How to convert CUSIP-6, CUSIP-8 and CUSIP-9 to ISIN with PHP The post Converting CUSIP-6, CUSIP-8 and CUSIP-9 to ISIN in PHP appeared first on Rambling... .

Custom checkbox form validation with (or without) Bootstrap

Your browser, as well as Boostrap, comes with built-in form validation, but when it comes to checkboxes, the validation options are limited. I created a form with three checkboxes, and the user is required to check at least one. Bootstrap only performs required validation on checkboxes, which, in this case, won t work, because only one Continue reading "Custom checkbox form validation with (or…

Custom spam filter with Contact Form 7, no extra plugins needed

I have been receiving more and more spam through the contact form of one of my sites, which uses Contact Form 7. To help stop this, I created a simple custom function that blocks contact form messages that contain specific words, without any additional plugins or services. There are several ways to deal with spam Continue reading "Custom spam filter with Contact Form 7, no extra plugins needed"…

You can send stdout and stderr to different destinations

Command line tools generally produce some kind of output on the screen. This output is actually two (or more) streams, and these streams can be handled independently. The typical command output channel is called `STDOUT`. For example, when you run `ls -la` you will get a detailed directory listing on your screen/console. This listing is Continue reading "You can send stdout and stderr to different…

Don’t use bridge mode on your EdgeRouter – use a dedicated switch instead

Until recently, I was using my Ubiquiti EdgeRouter in bridge mode. I had my LAN on one ethernet port, and my wireless access point was connected to another ethernet port. Then I configured a bridge between the LAN and wireless AP ports. Logically, this made sense. However, this forces the EdgeRouter to do network switching Continue reading "Don t use bridge mode on your EdgeRouter use a dedicated…

How to configure Telus Optik IPv6 on a Ubiquiti Edgerouter

After switching to Telus Optik, I wanted to take advantage of Telus IPv6 support, using my Ubiquiti Edgerouter Lite. After a lot of googling, I was able to put enough pieces together to get full IPv6 working across my network. This configuration will work with EdgeOS 1.9.0, and should work with versions of EdgeOS going Continue reading "How to configure Telus Optik IPv6 on a Ubiquiti Edgerouter"…

How to upgrade Ubuntu, NGINX and PHP5 FPM from 14.04 Trusty to 16.04 Xenial

I just upgraded this site s Ubuntu OS from Trusty 14.04 to Xenial 16.04. There are a couple of pitfalls during the upgrade that are noteworthy. The biggest issue when upgrading to Xenial: Nginx and PHP5-FPM will break when you upgrade. So, keep in mind that any of your sites that rely on PHP5-FPM will be Continue reading "How to upgrade Ubuntu, NGINX and PHP5 FPM from 14.04 Trusty to 16.04 Xenial"…