How To Prevent SSH From Prompting When The Host Is Unknown

Author: , January 26th, 2022

If you are asked “Are you sure you want to continue connecting (yes/no)?” when trying to connect via SSH, then the remote host’s identification key has not yet been stored in your ~/.ssh/known_hosts file. This then requires you to type the full string “yes” in order to proceed because the default value for ssh is […]

How To Block Email Using Subject Headers In Postfix

Author: , December 7th, 2021

I needed to block email based on the Subject header. The solution is simple: Edit main.cf as root and uncomment or add:

Next, creaate or edit /etc/postfix/header_checks as root and add the following line:

Finally, run sudo postfix reload NOTE: Do NOT add the “i” after the regular expression! It is case-insensitive by […]

How To Check Amazon RDS MySQL Servers in Nagios Without Ping

Author: , August 13th, 2015

Amazon Web Services (AWS) offers MySQL Server via the Relational Database Service (RDS) offering. Unfortunately, AWS doesn’t allow ICMP Ping to reach the nodes, so as configured by default, Nagios will fail on the host check. The solution is to submit a Passive Check for that host. Login to the Nagios web console Click on […]

How To Disable Spell Check in MacOSX 10.10 Yosemite

Author: , March 24th, 2015

System Preferences » Keyboard » Text » Uncheck “Correct Spelling Automatically”

How To Check If Any Radio Button In A Group Is Checked Using jQuery

Author: , May 9th, 2012

How To Manipulate Checkboxes Using jQuery

Author: , October 25th, 2010

To check the checkbox simply set the value of the “checked” attribute: jQuery(‘.ChkBox’).attr(‘checked’,true); To uncheck it, just remove the attribute entirely: jQuery(‘.ChkBox’).removeAttr(‘checked’);