I just discovered this very interesting article about Perl, CGI, Template and Ajax using JSON. I’m going to use to beef up my image browser which I quickly wrote to simply the contents of directory full with images. (can be found overhere http://yamamoto.moretrix.com/~insaniac/grtp/ Here’s the link to the article.
On Debian based distributions, a handy tool called dh-make-perl can be installed to ease the installation of CPAN Perl modules on the system. This tool will create a Debian package of the CPAN module, and can also install this package automatically. The advantage of this procedure is that when the CPAN module is picked by […]
Beauty and the Beast When working in a UNIX/Linux/MacOSX environment, the command is often used to execute some tasks. The default shell in the Terminal.app (MacOSX) and in most other terminals, is the Bourne Again Shell aka bash. Bash is intended to be a conformant implementation of the Shell and Utilities portion of the IEEE […]
When writing Perl scripts to automate shell tasks, file handlers will be used for reading files, writing to files, executing commands, redirecting output, … But these handlers can only be opened in one direction if they are created with the standard Perl subroutine open. In some cases it is actually required to create a two […]
There are probably already 13 in a dozen applications or websites that can do this, but I wanted to write one on my own, in the programming language I like: Perl. Nowadays writing programs for tasks concerning Web 2.0 alike websites, is rather simple and easy. The only thing you will have to do, is […]
At my daily job as a Perl developer, I was asked to write a Perl script which would download a backup file from a certain web interface. The file however, was in a secured part of the web site. This means, that the script would first have to authenticate against the web site and then […]
Somebody once told me that a good engineer / scientist is extremely lazy. He HAS to be extremely otherwise he isn’t good. And I like being lazy (read: I love to automate repetitive tasks). Working as a contractor, we have to fill in timesheets which have to be approved and so. Now, I also like […]
So the SamuriderClanSite has been updated again. Added some photos, updated some information and added a few new posts. Most important update is that Tijl Bex, one of our founders, got a sponsorship from Arbor Boards! Check out the article!
This Perl script was initially written about 3 or 4 years ago, but still does its daily job: monitor that certain processes are running and if not, restart them (plus send out a notification). The script should run as the root user (since it will be restarting services or processes), and can easily be configured […]