Occasionally useful to find out the dimensions of an image without having to load an image editor or file manager. From the ImageMagick toolkit:identify myimage.jpgtiffinfo myimage.tifpnginfo myimage.png
So I had a problem with the ldapusersearch string as some eejit has created an OU with spaces and an apostrophe in the name. So the characters are represented as: comma %2c space %20 apostrophe %27 For example (entirely fictional... » More
WARNING: (B) '::/0' is a subnetwork of (A) '::/0' I had this warning when restarting squid 3. I had a line left over from squid 2: acl all src 0.0.0.0/0.0.0.0 which I had subsequently changed to acl all src all as I received a CIDR warning. So to... » More
Squid Get a few dependencies to get the ball rolling: yum -y groupinstall “Development Tools” yum -y install rpm-build openjade linuxdoc-tools openldap-devel pam-devel openssl-devel httpd rpm-devel expat-devel db4-devel libpcap-devel Browse... » More
A friend contacted me today running an Ubuntu live CD and trying to scan a windows drive for viruses. So for future reference the following antivirus packages can be tried: BitDefender Avira AVG Clam Clam is in the repositories so you don't... » More
The Gnu Data Language is an interactive interpreter/incremental compiler for the GNU Data Language, which is primarily used in scientific, astronomical, medical and geo-science data processing applications. It supports graphical output and is... » More
For editing GDL / IDL .pro files on Linux you can of course use any Text Editor (gedit, vi) or the IDLDE, but the following could prove useful: 1. Kate Kate Editor with GDL file Kate is a text editor for the KDE desktop environment but looks just... » More
Creating an Audio CD in K3B (my favourite CD burning software) I received an error that MP3 format was not supported and that the files need to be converted to WAV format first. p, li { white-space: pre-wrap; } Problems while adding files to the... » More
The Liza Moon attack targets Microsoft SQL Server installations injecting javascript tags into website files. Although we are primarily using Unix/Linux servers I performed some scans using the following to check for lizamoon infection:find . -type f... » More
I was trying to move some miscellaneous music files into directories by artist name. The files (and folders) have spaces in the file names. For my first attempt I tries a for loop e.g. for file in $(find /path/to/music -type f); do ... done A for... » More