Auto Reboot Windows 7 Enterprise Every X Hours

I am running a bunch of vps servers which run Windows 7 Enterprise in order to run certain automated marketing software. However, I am noticing after a few hours, the cpu gets a bit high so want to auto reboot the vps’s every 4 hours in order that the software runs on a clean slate (and to also avoid the “cpu abuse” warning from the hosts). Its surprisingly simple to do this and requires only a couple of steps. 1. Open up the command...

Read More Here >>

[solved] Gravity Forms with Javascript Validation

Gravity Forms (www.gravityforms.com), without a doubt is one of the best WordPress forms plugin out there, I have been using it since it was launched and is a brilliant tool and I have it in use on literally hundreds of web sites. However, recently I have had the need to put javascript validation on some forms and unfortunately, Gravity forms does not natively support it. When I contacted Gravity Support to ask about javascript validation, they basically...

Read More Here >>

[solved] How to Delete Plesk Backups

The following command can be used to delete all the backup files in a plesk server. cd /var/lib/psa/dumps/ rm -rf * When might you need to do this? You might find that your disk runs out of space due to the many automated plesk backups that are run and when you check /var/lib it will show 100% being used, like this…

Read More Here >>

[solved] Changing Field Labels in Gravity Forms with gform_pre_render

I have taken on a wordpress project recently which required me to change the language of the text in the field labels on some gravity forms. The site is in one language, but within wordpress they have the option to show certain pages in a different language, for example Norwegian. So, if we have a form with the default text of Name and Telephone and the form was being shown on a Norwegian page, then the text would need to display: Navn and Telefon. On...

Read More Here >>

[Solved] Force Amazon S3 File to Download instead of opening in browser

I was given a 47mb pdf to host on Amazon S3. I uploaded the file and grabbed the web url (the direct link to the file) yet when I was clicking it was forcing me to OPEN the file in my web browser. The result being that it takes longer to download and ties up your browser. I needed the file to DOWNLOAD and I found it can be done this way. If you are using S3 then you will be familiar already with something like Cloudberry S3 Explorer which allows you...

Read More Here >>
NAVIGATION MENU