Archive for the ‘Techie’ Category

Steps to install Oracle Express Edition (XE) database 10g on Ubuntu 11.10 (Oneiric). Download the Oracle XE deb package (free registration is required). Double click the downloaded file and select to install it. In terminal run sudo /etc/init.d/oracle-xe configure. You will be prompted to enter the following parameters: HTTP port number, database listener port number, [...]

Saturday, February 4th, 2012 at 11:21 | 0 comments
Categories: Database, Linux
Tags: ,

GNU/Linux includes many utilities for working with text files through the shell. In this post we take a quick look at accessing and manipulating text files in a “column-wise” mode. Suppose you have the following two files, each with two columns separated by the TAB character. $cat file1 Alice   Paris Bob     Tokyo Mary    London John    New York $cat file2 [...]

Monday, October 17th, 2011 at 17:02 | 0 comments
Categories: Linux

Sed can be used to strip out all HTML or XML tags from a file and get the plain text version. Suppose you have file gnulinux.html with the following contents: <p>The combination of <a href=“/gnu/linux-and-gnu.html“>GNU and Linux</a> is the <strong>GNU/Linux operating system</strong>, now used by millions and sometimes incorrectly called simply “Linux“.</p> Tempting but incorrect [...]

Monday, October 17th, 2011 at 12:16 | 0 comments
Categories: Linux

If you use TrueCrypt under Ubuntu 11.04 Natty you would have noticed an annoying behaviour. Under previous versions an icon is present in the system tray which remains there whilst a volume is mounted even if the TrueCrypt window is closed. Under Unity the tray icon is not shown. If you accidentally close the window [...]

Tuesday, August 16th, 2011 at 02:16 | 0 comments
Categories: Linux

Sometimes it may be useful to know inside the report which servlet mapping is used to run the report (e.g. frameset, run, preview). var sMapping = reportContext.getHttpServletRequest.getRequestURI(); var nPos = sMapping.lastIndexOf( “/” ) + 1; this.text = sMapping.substring( nPos ); You can place the above code inside a label to see the servlet mapping.

Thursday, August 11th, 2011 at 02:32 | 0 comments

BIRT 3.7, previously codenamed Indigo, was released on June 22. Here are the necessary links to find out more about this latest version: New and Notable for BIRT 3.7 Release BIRT 3.7.0 Download Page BIRT Project Plan

Tuesday, June 28th, 2011 at 14:03 | 0 comments
Tags:

In an earlier post we discussed a generic way to dynamically get the list of report parameters at run time without having to hardcode the parameter names in the script. As was correctly pointed out in the comments, the code did not work for parameter groups (and also cascading parameters). However, it is possible to [...]

Thursday, June 9th, 2011 at 16:57 | 0 comments

On this blog we have often talked about overriding the default behaviour of the BIRT chart palette by dynamically setting colours based on data values. However, it is perhaps worth looking in more detail at the palette itself to understand the default behaviour and appreciate how it can be tweaked. Each chart has a palette. [...]

Friday, June 3rd, 2011 at 14:31 | 0 comments
Tags: ,

By default Firefox populates the Description field of a bookmark with the content of the page’s <meta name=”Description” content=”…” /> tag. I find is a little annoying and was looking for a way to remove these descriptions. Since I have a lot of bookmarks I wanted to clean them all up in one go rather [...]

Monday, April 18th, 2011 at 12:59 | 4 comments
Categories: Web

After finally getting some time to fully read up on Mono (especially on the excellent The Source) I have decided it is best to remove it from my system. The Open Sourcerer has a nicely written up set of instructions for 10.04 Lucid Lynx and 10.10 Maverick Meerkat.

Wednesday, December 29th, 2010 at 00:49 | 0 comments
Categories: Linux