Debian IRC Server

September 2, 2015

I wanted to set up an IRC server on my Debian box so that I can have the build process report its progress in a chatroom in real time.

Install Server

I chose to use inspircd. This can be installed using

# apt-get install inspircd


Edit /etc/inspircd/inspircd.conf ...

TOGAF 9.1 Foundation & Certified

August 19, 2015

Today I did my exam for the combined TOGAF 9.1 Foundation and Certified course. This is the first time in about 20 years that I've done an exam, so I wasn't sure what to expect, either of the experience or of myself.

There were lots of details ...

Tags: togaf exam

Java 7 on RHEL with Alternatives

August 5, 2015

To install Java on RHEL, download it and unpack.

You can then use the alternatives command to add it as a new option for java, and switch to it:

[root@linux07 ~]# alternatives --install /usr/bin/java java /apps/jdk/jdk1.7.0_67/bin/java 3
[root@linux07 ~]# alternatives --config java ...

Postgres Table to CSV

August 4, 2015

I just found a simple way to create CSV files from database tables in postgres:

mybandsite=# copy (select * from news_newsitem where site_id = 2) to '/tmp/news.csv' DELIMITER ',' CSV HEADER

This will create a file news.csv which will contain all the rows returned by the specified query ...

Namecheap for SSL Certificates

July 31, 2015

I recently integrated Stripe onto one of my websites. It was a much simpler integration than the abomination that is PayPal!

As part of this, I was required to enable HTTPS for the entire site. I did this using a very cheap (about £5) certificate from Namecheap. The process was ...