Tech and travel

Posts

Paginating the results from a query in Oracle

2007-03-14

MySql has some interesting additions to standard SQL to show paginated results : the LIMIT n OFFSET skip clause. The website http://troels.arvin.dk/db/rdbms/#select-limit-offset shows a way of doing this in Oracle.

Little Ruby script for generating passwords

2007-03-14

Ruby is a scripting language, in the same league as Perl and Python. It is fully object-oriented, and comes batteries includes like Python, which means it comes with a full library installed by default. It is receiving a lot of attention these days due to the Ruby on Rails web application framework, which is indeed a very capable and surprisingly easy to use framework (probably more on this in a later article).

Processing PDFs with Python, the easy way

2007-03-14

Sometimes you get some PDF files, from which you have to extract some data. A handy way of doing this is using the pdftotext utility. Here I’ll show you how to use it, using Python. The easiest way to do this, is to put the pdftotext program in the directory where your script is or in the path. You can then call it on your file. This is the Python code : import subprocess subprocess.

About

2007-03-05

Hello, this is my blog. It’s basically just used to store code snippets so I can find them later on. The focus is definitely on techie stuff, although some travel posts will make it on here as well.

Thailand and Cambodia

2006-11-22

Some pictures of a trip to Bangkok and Hua Hin in Thailand and Angkor Wat in Cambodia

Angkor Wat at dawn

Angkor Wat at dawn

Copyright (c) 2026 Michel Hollands