Archive for September, 2010

Here’s a quick way to remove empty lines from a file using the Linux command line: cat file1 | sed /^$/d > file2 Where file1 is the input file containing empty lines and file2 is a newly created file with empty lines removed.

Wednesday, September 22nd, 2010 at 16:50 | 0 comments
Categories: Linux

In what is rapidly becoming a mini-series, we have so far discussed how to set BIRT chart palette dynamically (based on category values) for pie charts and area charts. Today we cover stacked bar charts, i.e. bar charts with the Optional Grouping data element. Once again, let’s start with a quick recap. In what is […]

Thursday, September 9th, 2010 at 13:09 | 5 comments
Tags: ,

Series labels can be shown in BIRT area charts by opening the Chart Wizard and navigating to the Format Chart tab, then selecting Series > Value (Y) Series > Show Series Labels checkbox. The result will look as shown in the screenshot below: Often there is one particular grouping (series) which is especially important and […]

Thursday, September 9th, 2010 at 12:43 | 0 comments
Tags: ,

Changing the port number of SSH daemon is a quick way of reducing the number of SSH brute force attacks your server might face (check the file /var/log/auth.log to see if there are many failed SSH login attempts). Just to be on the safe side, create a backup copy of the SSH daemon config file. […]

Friday, September 3rd, 2010 at 08:56 | 0 comments
Categories: Linux