ImageMagick and Ubuntu 9.04
Using a command line tool like ImageMagick for image processing may sound a really counter-intuitive thing to do but there’s no need to do everything on a case by case interactive basis. Image resizing and format conversion come to mind [...]
Recursive FTP with the command line
Here’s a piece of Linux/UNIX shell scripting code that will do a recursive FTP refresh of a website for you: lftp <<~/Tmp/log_file.tmp 2>>~/Tmp/log_file.tmp open ${HOSTNAME} user ${USER} ${PSSWD} mirror -R -vvv “${REP_SRC}” “${REP_DEST}” EndFTP When my normal FTP scripting approach [...]
JavaScript: write it yourself or use a library?
I must admit that I have never been a great fan of JavaScript. For one thing, its need to interact with browser objects places you at the mercy of the purveyors of such pieces of software. Debugging is another fine [...]
On numeric for loops in Korn shell scripting
The time hounoured syntax for a for loop in a UNIX script is what you see below and that is what works with the default shell in Sun’s Solaris UNIX operating system, ksh88. for i in 1 2 3 4 [...]
A web development toolbox
Having been on a web building journey from Geocities to having a website with my own domain hosted by Fasthosts, I should come as no surprise that I have encountered a number of tools and technologies over this time and [...]