Archive for the 'Utilities' Category

August 25, 2008

Blocking by country and high connection counts hosting servers

Most of our hosting servers run Centos Linux but we have Windows servers too and a problem common to both is the occasional high volume of traffic generated by non organic growth.  I don’t mean that someones blog hits the front page of digg, rather a malicious or DDOS attack against a website.  On shared [...]

November 29, 2007

Mass Category Adder Plugin for Wordpress

If you create a lot of Wordpress blogs you probably like to prepare a list of categories for inclusion.  This plugin simplifies the process by allowing you to add them all at once.

Add one category per line then click the “Add Categories” button.  All categories will be created for you turning a 30 minute job [...]

August 1, 2007

Send mail from the command line

Ever need to send a one-line email from a DOS/CMD batch file? If your PC or Server has .Net 2 installed you can use this application.
It’s straightforward. Place the cmdSendmail.exe in your path or working directory and then type something like this at the command line:-
cmdSendMail you@emailtest.com~you@somewherelse.com~The Subject~The main text of the message~you@somewherelse.com~pass123~mail.somewherelse.com
Usage
cmdSemdMail {command string [...]

August 1, 2007

Two ways to call a URL from a batch

Sometimes it’s useful to extract a web page to a file from a Windows batch.
For example I have a batch file that downloads financial figures every day, processes them and updates a database.
vbcurl http://myfinancialfigures.com/something.php >mydatafile.htm
If you don’t have a copy of Opera handy use a statement like the following to read the source from a [...]

July 24, 2007

Encrypt PayPal or AlertPay button code

Encrypt HTML
Click the above link to download a small tool for encrypting small chunks of HTML such as PayPal and AlertPay buttons. It doesn’t actually encrypt code it obfuscates it which is a fancy way of saying it jumbles it up a bit. It’s enough to deter the casual thief from checking out [...]