DEANO.ME

Guides

 

As far back as WordPress 4.4 a feature has been included which can take original images and automatically decide to introduce a srcset for various sizes of images to fit responsive versions of the site, the problem is that you might not have a responsive site, or like us you might have fairly large source […]

 

Looking for a quick and easy cookie policy message for your website? This cookie policy script is built entirely using JavaScript/jQuery and only requires you to add the JavaScript code to your web pages for a fast, effortless cookie policy warning popup for your visitors. I have implemented various options so that you can configure […]

 

I’ve wrote a light-weight jQuery script which allows you to easily show a warning under a field when the CAPS LOCK key is active, the script requires no plugins or require any manual placement of any HTML. Simply drop the java-script below onto any pages you require the warning and just configure what fields you […]

 

Recently I worked with a client that wanted to export a MS Access DB into MySQL, the conversion was done by a third-party but I was asked to confirm that all the data from the tables was present in PHPMyAdmin. The easiest solution to this was to compare how many records were in each table, […]

 

I was having some issues on a server which ultimately lead to some very dire system resource issues, I quickly discovered that the issue was originating due to file locks as multiple processes where accessing and modifying the same files repeatedly all at the same time. It was quite embarrassing to have created such an […]

 

One of the biggest SEO requirements is for images to have an ALT attribute for indexing and usability purposes, unfortunately when making posts most often ALT attributes are not set leading to lots and lots of posts with images missing their ALT attributes. I wrote a small function that will capture the page before output […]

 

WHM & cPanel’s GUI only allows for one IP address to be assigned per cPanel account, however it is possible to assign sub-domains of a cPanel account their own IP addresses but for some reason this feature has not been built into the UI for general use. The only way to do this in fact […]

 

One of my biggest annoyances when it comes to cPanel/WHM is the fact that every cPanel account has a catch-all mail account, referred to as a “default” system account – it is extremely useful if you want any email address for a domain to route email into an inbox that can be picked up, but […]

 

WordPress has an annoying feature where it creates a page for every single attachment in your WordPress system, including images, audio/video, pdf’s and etc. I don’t see any reason for this functionality as usually attachments are embedded into pages and posts and should never have their own page. Whats even worse is that by default […]

 

Recently I needed to search the server and find all error_log files, but I needed to also list the size of each file that was found – the purpose of this was to find users with unnatually large error logs so that I oculd tweak the error_reporting settings on each system. I managed to find […]