Home » 2011 (Page 2)

Getting Shrew Soft VPN Client (ike) for Ubuntu to work

A nice and free open source VPN Client for Linux (and Windows) is Shrew Soft VPN Client. It supports IPSec which is just what I needed. With Ubuntu you can easily install it with sudo apt-get install ike. But with Ubuntu 11.10 (Xubuntu as well, same packages of course) installing ike this way won’t give you a working VPN client. It simply won’t open up a tunnel. On Fedora 16 this worked fine for me, but Fedora 16 is too unstable for my liking.

So to get ike working on Ubuntu you should download the source code from their website. I downloaded the 2.2.0-beta2 version, compiled and installed it and am running it without any issues.

To compile ike yourself execute the following commands from a terminal in the directory with the contents of the archive.

$ cmake .
$ make
$ sudo make install

After you’ve installed ike all you need to do is a sudo iked (or create a startup/init.d script for it so it starts at boot time). To launch the client simply execute qikea (GUI).

HTML2PDF Web Service - Convert HTML to PDFUsing HTML2PDF Web Service you can design in HTML and CSS, and convert the resulting page to PDF. Free trial available!

yum equivalent for apt’s build-essential

Just now I’ve installed Fedora 16 on my desktop. Normally I use Ubuntu (or Xubuntu rather). Because I’m a developer I need to have several build tools installed for compiling. On Ubuntu one of the first things I always do is a sudo apt-get install build-essential.

On Fedora, this is a little different. First of all, you’ve got to use the yum command line application. After some searching I found the following equivalent for build-essential.

sudo yum groupinstall “Development Tools”

Use an alternative browser to open links in Thunderbird 7 (Xubuntu 11.10)

I’ve been using the latest Xubuntu (11.10) for a couple of weeks now on my netbook and must say I’m very pleased with it. I’ve only got a couple of issues with it, one of them Thunderbird not using my default browser (Chromium), but Firefox, to open external links. But no more! After searching a bit on the internet I got the suggestion for setting network.protocol-handler.app.http and network.protocol-handler.app.https to x-www-browser. Unfortunately this doesn’t seem to work anymore.

The right way to do it now is open your about:config (from the menu: Edit > Preferences > Advanced). Open the Configuration Editor and search for both network.protocol-handler.warn-external.http and network.protocol-handler.warn-external.https. These two are most likely to have a value of false. Change it to true and the next time you’ll try to open a link from some e-mail it’ll ask you which browser to use. Chromium isn’t likely to be shown in the list of choices, so use the navigate button. You can find Chromium at /usr/bin/chromium-browser.

Now to find a fix for my other two problems: netbook won’t recover from sleep mode and somehow it won’t let me use a 1080p resolution through HDMI on a external screen.

RSS and Atom feed for BlitzMax.com

This evening a wrote a Perl script using Mojolicious to generate a RSS and Atom feed for the BlitzMax website. I did this because that website has been lacking it. I use Google Reader to stay up to date with countless websites. Any website that doesn’t provide a RSS or Atom feed I’ve got to visit manually and scan through it to see if anything new and interesting has been posted. Which in turn can takes some time.

Below is the script I’ve written that uses some modules of the Mojolicious toolkit. Mojo::DOM makes it very easy to get specific content from a page and the CSS selector support is great. On top of that I’ve hardly had to use the documentation to figure out how to do what I wanted. Very clear API! For the feed generation I’ve used XML::Feed. I’m also using CHI to cache page content so it doesn’t need to fetch this every time the script runs.

You can host the script yourself, or you can add one of the links below to your RSS/Atom reader. As long as traffic doesn’t get too high I’ll be providing public access to the feeds.

2 Months have passed

2 Months ago I quit my full time job so I could go back to school and get my Bachelor’s degree in Computer Science (or Engineering rather, I think the line is a bit vague at my school). In these 2 months I’ve been working part time (about 2 hours a day, sometimes a bit more, or less) and have been taking it easy. Very easy :-).

I really enjoyed these 2 months off and have been able to get back to a more relaxed state of mind, although a month (or two?) extra would’ve been nice as well. But, since life expenses don’t take a break I couldn’t really permit much more time off (technically I could pay for it, but I chose not to). In these 2 months I got to spend a lot of time with my dog which I greatly enjoyed. I also got to do other stuff I was postponing for a long time as well. I finally started with learning me some Haskell, released Maximus and later on a GUI for it as well. I’ve been picking up the guitar again, but have to be careful not to force my hands too much. Don’t want the pain in my hands to return.

These 2 months have also brought misery. After only 1.5 week my mother suffered from a Myocardial infarction. If help would’ve come only a bit too late (or not at all… she amazingly enough made the right decisions and must’ve had an angel on her shoulder and has been very strong to push through) it would’ve ended in certain death… Later in August she got struck again. This time by a pre-stage of a Myocardial infarction. Again, this time help was available soon and she was flown to a hospital. Although stabilized, the next day she got another Percutaneous coronary intervention (which was due to happen anyway, this was clear when the infarction happened). The next day she got released from the hospital and has been doing better.

Earlier this week my dog started to cripple. 4 Weeks earlier he stepped out of the car, but made a misstep and smacked to the ground. He was cripple, but it went away after a couple of days. This time however, it didn’t seem to restore. After bringing him to the veterinarian it was clear he had a fracture in his elbow. Because he’s an old(er) dog surgery isn’t the first choice. So he’s now getting pain medication and the fracture has to restore by itself.

With all that has happened I’ve got mixed feelings about my 2 months ‘off’. I’m starting to think it somehow was meant to be for me to be at home for the things that were to happen. Aside from the not so fun things that happened, I’m glad I did take 2 months ‘off’ before starting school.

Today was introduction day. Got to meet most of my classmates, got a tour through the building, was handed my timetable (which looks rather nice for now) and had my picture taken. Luckily I’m not the oldest dude around. At least, that’s what I think. Some look older than me :-).