Entries by

Latex Invoice Template For VAT-registered Consultants

When invoicing the client as a consultant it is necessary to charge VAT on your day rate and your expenses incurred (with the VAT deducted if it has already been added) conducting the work. I looked for a template to do this automatically in LaTeX. The Invoice Package was a bit too complicated for what […]

Dynamic Range Database Extraction Script

UPDATED Modified (23/02/2014) the script to work with the new DR css design. The Dynamic Range Database is a collection of albums and their associated dynamic ranges, measured using software available here. I thought it’d be interesting to look at the entire data set available and look for trends. The below script ‘scrapes’ the salient […]

MyTomTom and Flash

To get MyTomTom and your TomTom device working via a browser, make make sure you have Flash enabled! The MyTomTom site uses Flash to communicate with the TomTom and using ClickToFlash or the like prevents it working. This took me far too long to work out…

OCR using Tesseract on multipage PDFs

Tesseract is a cracking piece of code to do OCR. Using the below sources for inspiration the following script can be used to take a pdf of x pages long and turn it into x pages of text. These can then be combined into a single file following some cleansing. http://ubuntuforums.org/showthread.php?t=880471 http://fransdejonge.com/2012/04/ocr-text-in-pdf-with-tesseract/ http://code.google.com/p/tesseract-ocr/wiki/ReadMe https://help.ubuntu.com/community/OCR http://elmargol.wordpress.com/2011/01/27/howto-scan-multiple-pages-to-a-pdf-file-and-ocr-using-tesseract-on-archlinux/ […]

Un-embedding an Excel object from Powerpoint

Sometimes you get a Powerpoint deck featuring graphs and tables inserted via embedding an excel workbook. Of course, this is pretty stupid as the recipient of the deck can then view the source excel file and this might get the sender in trouble… If, however, you are the recipient and could benefit from the embedded […]

Serving Java with MAMP

This is gleaned from here. To get Java code to run locally in conjuction with MAMP follow these steps: Download the latest tomcat binary from here. Extract and place in your MAMP folder (usually in your application folder). Rename the tomcat folder (apache-tomcat-X.X.XX) to tomcat (this is just to ease upgrades I think). Add “/Applications/MAMP/tomcat/bin/startup.sh” […]