HTML5 Form Validation

With newer browsers that support HTML5 client side validation, Google Chrome (16+), Mozilla Firefox (8+), and Internet Explorer (10+).  You can easily take advantage of the required flag and the input validation. For example, you use the required attribute to require a user to enter a value for an INPUT element.   A…

Continue reading

Useful Postfix Commands

Below are a list of useful commands for managing a postfix mail server: mailq – Use to list items in your mails queues postcat -q MESSAGE_ID – Used to read messages that are in your postfix queue postsuper -d ALL – Delete all queued messages postsuper -d ALL deferred – Delete all messages in…

Continue reading

wget for Mac OS X

To install wget on Mac OS X, you will first need to install a C compiler.  The easiest way to do this is to install XCode Command Line Tools.  This can be downloaded from Apple – https://developer.apple.com/downloads/index.action One installed you can download wget and compile it (Please note that if you…

Continue reading

Dyslexic Fonts

I found this site on the BBC new site.  There are a set of fonts that have been developed to help people with Dyslexia read text easier. I have been using these for a couple of weeks now and they do help. To try for your self, you can download…

Continue reading

Managing MySQL User Accounts

Below are some useful commands to manage users in MySQL: List all Users Run the following query to get a list of the users: Add User To create a new account: Here the ‘adm’ user is created, which can only connect from localhost. In MySQL a user is always associated…

Continue reading