Posts By: jonny

Anti-Virus Software on Linux

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 need to specifically download it – just search within the Software Center e.g…. Read more »

Installing GDL an IDL alternative

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 intentionally designed to be highly compatible with the commercial IDL language. GDL is a free IDL (Interactive Data Language) compatible incremental compiler… Read more »

GDL Editors on Linux

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 is a text editor for the KDE desktop environment but looks just as good on a Gnome Desktop (Ubuntu default). Kate has built-in support… Read more »

K3B Buring CDs with MP3s

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. Problems while adding files to the project. Unable to handle the following files due to an unsupported format:You may manually convert these… Read more »

Grepping for LizaMoon infected website files

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 -exec egrep “\<script src=http\:\/\/.*\/ur\.php” {} \; On Windows Server I used Powershell and the following command: Get-ChildItem… Read more »

Bash: Looping through Files with Spaces

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 loop will not do this regardless of how much… Read more »

The world is over-populated

We had this discussion over coffee one day so to back up my argument with a few figures: 30 percent of food never makes it into a human stomach (UK’s Government Office of Science, The Future of Food and Farming) Rising energy prices encourage the diversion of food stocks into biofuel production (UK’s Government Office… Read more »

If at first you can’t compete, sue, sue again

“It is further evidence of the fact that Android is getting ever huger. Microsoft has failed in attracting any serious interest from device makers, and now it’s trying to spread ‘fear, uncertainty, and doubt’ about the Android platform in an attempt to mafia device makers into paying protection money to Microsoft – protection money which… Read more »

jqplot Problem and Simple Example

This is a simple example usage of the jqPlot jQuery plugin. The example on the author website omits the “, {}” options in the .jqplot function call. <html> <head> <script type=”text/javascript” src=”./scripts/jquery-ui/js/jquery-1.4.2.min.js”></script> <script type=”text/javascript” src=”./scripts/jqplot/jquery.jqplot.min.js”></script> <link rel=”stylesheet” href=”./scripts/jqplot/jquery.jqplot.min.css” type=”text/css” media=”all” /> <!–[if IE]><script language=”javascript” type=”text/javascript” src=”./scripts/jqplot/excanvas.js”></script><![endif]–> <script> $(document).ready(function() { $.jqplot.config.enablePlugins = true; alert(‘1’); $.jqplot(‘chartdiv’, [[[1,… Read more »

Rsyslog and Log Analyzer

These are the steps I took to create a centralised location of system logs. In this scenario multiple servers (earth, venus, mars) send their system logs to a central server (sun 192.168.1.1). I’m not going to cover the configuration of Apache, MySql except were it applies to Log Analyzer. Most of the servers are running… Read more »