Securing your WordPress site

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.

Tags: Read more
Read more

Adding the ability to make links “Nofollow” in WordPress

Last Updated on September 20, 2020 by Christopher G Mendla

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. 

Tags: Read more
Read more

Showing the file name before committing to an upload of a CSV file in Ruby on Rails

Last Updated on September 16, 2020 by Christopher G Mendla

I was working with a Rails App where the user would select a category for an upload and then upload the CSV file. I wanted to show the user which category they selected along with the file they are attempting to upload. Tags: Read more
Read more

Shading Cells in Ruby on Rails depending on the contents of the cell

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

Tags: Read more
Read more

Site Monitoring with Ruby on Rails

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.

Tags: Read more
Read more

Form tags in a ruby view need to be outside of any table elements or the form/submit button will not work.

Last Updated on September 15, 2020 by Christopher G Mendla

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.

Tags: Read more
Read more

Moto G7 Play on Verizon Wireless is not ringing after a recent update

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? 

Tags: , Read more
Read more

Is dirt and dust damaging your desktop?

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

Tags: , Read more
Read more

Validating CSV imports in Rails

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.

Tags: Read more
Read more