gavinj.net

Thoughts on technology, infrastructure, and AI

python-clamav Could it get any simpler?

If only life was this simple apt-get install python-clamav: >>> import pyclamav >>> ret=pyclamav.scanfile('/tmp/virus') >>> print ret (1, 'Worm.Sober.G') >>> ret=pyclamav.scanthis("Buffer to test bla...

Mysql Command of the day

I thought this one was worth blogging. To save the output of an SQL query in a file simply do this: SELECT * FROM table INTO OUTFILE "/tmp/filename.txt" Produces a tab delimited file with the outputs...

Brumbies 2007

Brumbies 2007 Originally uploaded by gavin.jackson. Photos of the last home match of 2007. We say farewell to George Gregan, Stephen Larkam and Jeremy Paul - all foundation team members of the CA Bru...