stop-chrome-messing-with-your-forms

Stop Chrome messing with your forms

Google Chrome may be a popular and easy to use browser, but it plays fast and loose with website designers’ wishes regarding forms on their sites. It autocompletes form fields – useful sometimes, but it doesn’t always get the values right. And it’s a security nightmare if you’re using a public computer. Not only that,…

Read More
want-to-be-a-web-designer

Want to be a web designer?

Every so often I get an email from someone asking about how to get started as a web desiger or web developer. I don’t always have time to reply, and to be honest I’m not a career advice guru anyway. Here’s a useful website that discusses ways to get into the web design industry from…

Read More
find-last-day-of-a-month-in-php

Find last day of a month in PHP

Here’s a simple trick to find the last day of a month using PHP. $date_of_last_day = date(“Y-m-t”, mktime(0, 0, 0, $month, 1, $year)); This will give you the last day of any given month/year combination in the form YYYY-MM-DD. Read moreAmpere Hardware & Kali Linux | Kali Linux BlogFor example, if you pass in a…

Read More
gorilla-chimp

Excluding Packages from Yum Update

When running a ‘yum update’ under CentOS, there are certain packages you may be running which you wish to remain static, or which can potentially cause errors with the update eg. Samba. In these situations it is useful to force yum to exclude certain packages from being updated under CentOS. Yum uses a configuration file…

Read More
gorilla-chimp

Rebuilding/Restarting Exim Mail Server

When troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If you need to restart or rebuild Exim, you can dump your databases * /etc/exim.conf * /var/spool/exim/db Read moreAmpere Hardware & Kali Linux | Kali Linux BlogWhich Exim just rebuilds automatically by issuing the following command via SSH: rm -fv /var/spool/exim/db/* Then to start Exim: Read…

Read More