To get an overview of what is running on a certain UNIX/Linux host, most users will usually run of one the following commands: ps top htop But most of the times, they will not give a correct view of what … Continue reading
Intro The easy-fancybox WordPress is actually a rather simple but cool plugin to use, if it would work out-of-the-box in WordPress 3.x (on Debian unstable). First of all, a bit of background information: I’ve installed WordPress using apt-get install wordpress … Continue reading
Many times I have been looking on the Internet to find a suitable solution for this, but in the end I’ve created my own solution. These next steps will explain how to recover a deleted file back into the HEAD … Continue reading
I had to mimic a certain web application for a customer I’m currently working for, so I’ve created a small standard webserver in Perl using HTTP::Daemon. The only thing it does, is serving one particular file.
This is a small code snippet I wrote along time ago for a bigger framework I’ve created. No extra modules are required. It calculates the netmask of a network based on the network address and network bit (CIDR notation). #!/usr/bin/perl … Continue reading
A small script I wrote to see how fast a file grows (for instance when it’s being copied from one partition to another, disk to disk, network to network, …) #!/usr/bin/perl use strict; use warnings; my $file = shift @ARGV; … Continue reading