Last Updated on September 20, 2020 by Christopher G Mendla
Just because you are paranoid doesn’t mean they aren’t out to get you. WordPress sites are often under attack within the first hour of going public. There are steps that you should take to protect your site.
UIPDATE – NOVEMBER 2019 – The Yoast SEO plugin is strongly suggesting that links are NOT nofollowed. The theory is that VALID outgoing followed links are good for SEO.
Last Updated on September 16, 2020 by Christopher G Mendla
I wanted to change the background color of a cell in Ruby on Rails depending on if the contents of and expires field was past or not. This could be useful for dashboard type apps or pages. i.e. red/yellow/green
Last Updated on September 15, 2020 by Christopher G Mendla
I needed a way to show the status (Up/down) of internal Ruby applications. I found an answer on StackOverflow that pointed me in the right direction (Apologies that I can’t locate that post). . I modified that somewhat by putting it into a method and passing the site name to it.
If you are using form tags in a ruby view, they need to be outside of any table elements or the form/submit button will not work properly.
Last Updated on September 14, 2020 by Christopher G Mendla
I am in the middle of a job search and was missing phone calls on my Moto G7 Plan on Verizon Wireless after a recent update. It simply wasn’t ringing.
This seems to be a known issue with the Play and Turbo models.
Seriously folks, isn’t the purpose of a phone to receive incoming phone calls?
Last Updated on September 6, 2020 by Christopher G Mendla
Even the cleanest homes and offices are a source of dirt and dust which can build up and end up damaging your desktop
Last Updated on September 3, 2020 by Christopher G Mendla
I needed to validate CSV files that were being imported into a Rails app. The validation was simple: Look for blank entries, ensure columns used for associations (IDs) were integers and check that certain other entries were numeric.
The first thing I checked was to make sure that the header of the CSV file matched what we expected. The simplest way to do this was to set an ‘expected header’ and then check the header on the CSV.