Mythtv and IR Blaster

We use a set-top-box as the video source for mythtv. And while this works perfectly fine, we have to manually make sure the right channel is set for what mythtv wants to record. This can turn out to being a pain at time, especially when multiple things are planned to be recorded on different channels. So I went and ordered a IR transmitter from irblaster.info to give mythtv the possibility to change channels itself. Since a bunch of the infos I found online were a bit out dated, here are a few tips for anyone using current versions of the software (I’ve got mythtv-backend 0.22 and lirc 0.8.4a running on […]

Continue reading

Farmville

Farmvill can be a fun way to pass some time, but if your fields get to be a bit big clicking on every single field can get to be a bit tiresome. I found this autohotkey script in the depths of the internet. It simplifies the process greatly ūüėČ

Continue reading

bash scripting … switching into directory of the script

Sometimes it is useful to switch into the directory of the script e.g. when we need to call or include further files and don’t want to go through the hassle of searching for the script in the file system. Especially when symlinks are involved everything get a bit more interesting. This little snippet switches into the directory of the script, using readlink to dereference symlinks if the script is called via a symlink.

Continue reading

Bash scripting, traps and sleep

Today I ran into any old problem: you have a script that should do something when it recieves a signal (e.g. if someone sends it USR1 it should write to a log/syslog), but the script uses a long sleep because it normally only checks/calculates stuff every x min. If you send it a kill -USR1 $pid it will normally execute the trap AFTER the sleep is done, not so great. I figured of the following solution today: put the sleep in a while loop that checks if the full time was slept, and inside the loop a sleep that sleeps the X seconds remaing in the background followed by a […]

Continue reading

Cookies …

I made some of my cookies this evening and used the opportunity to take some pictures. The lighting wasn’t perfect, so everything has a slight yellow tint. I decided to leave the pictures that way instead of trying to correct the problem in Photoshop.

Continue reading

Serverdown

Server was down for the last 6 hours due to me updating a few stuff that really really didn’t work out too well (grub, xen and kernel at the same time). I gave up and afer a few hours of work managed to revert back to the old configuration so I can recieve mail again till I figure out what went wrong. Server may be down tomorrow a bit too while I try to figure out what exactly broke and try to at least get grub and xen updated.

Continue reading

Hiking in the Black Forest

I had Monday off work, so we went hiking in the Black Forest (southern Germany) the last 3 days. The first day we started hiking around Blumberg (I managed to twist my knee after a few km, didn’t really make things easier), then we took a steam locomotive (Sauschw√§nzlebahn) up the hill and hiked back to the car. Afterwards we drove up to Titisee where we booked a hotel for 2 nights. The next day we drove over to the Wutachschlucht and hiked a very nice trail. Since the weather was good and it was a Sunday there were a decent amount of people hiking. In the late afternoon we […]

Continue reading

Reboot Script for Linksys WAP200 access points

Since the Linksys WAP200 has a tendency to hang and not let any users connect anymore, this little script to reboot an accesspoint (webinterface still works fine). Replace user and password with correct values.

Continue reading

WordPress, Lightbox & SmoothGallery

Since I just spent an hour debugging a problem that others probably also have ran into, I’ll post my findings and workaround. I’ve been using lightbox for my images here for a while (the thing that darkens the website and pops up a frame with the image, pretty muth common nowdays). This is a great solution for an image of two in a post, but if you want to add a bunch more (or a whole gallery) all those images will really bloat up your post,¬† so I had a look at different picture gallery software and really liked SmoothGallery. It turns out there are two plugins that make it […]

Continue reading

a bit of bouldering

On the way home from work today I made a little detour to a playground where there are two rocks for bouldering (seems like they are from this company). Yes, I know playgrounds are for kids, but if you ignore the holds the rocks can be a real challenge. Even if they are only about 3m high (a bit less than 10ft), getting to the top without using the holds can be a bit challenging. Sorry for the crappy picture, I only had my cell phone with me … http://maps.google.de [urldisplaymode=nomap]

Continue reading

Wedding pictures

We finally got around to sorting out and uploading our wedding pictures. They can be viewed at the wedding homepage http://hochzeit.dukowic.de/ (I took out the old pre-wedding content), have fun.

Continue reading

Climbing

Yesterday we went for a bit of climbing. We have two rock climbing gyms here in town but I still seldom manage to find time to go climbing. I used to go once or twice a week, but this last year I only managed to go climbing a handful of times. Anyway, it was tons of fun even if I have dropped way below what I used to be able to climb. When doing the longer routes I really noticed my arms tiring, but that is just the missing training. Technique is still as good (or bad :-p) as it used to be and my forearms and fingertips are sore […]

Continue reading

Corn Labyrinth

Sunday we went for a bike ride to a corn labyrinth near here. Although “near” may be an exaggeration since it was nearly 60km round trip. It was definitely worth it, the labyrinth was bigger and harder than I had anticipated. Unfortunately my foot started hurting, must have been wearing the wrong shoes the day before. Bike riding was ok, but walking hurts. Hope this gets better within the next few days.

Continue reading

Gamescom

Last weekend was full of stuff. Saturday we took a train up to the Gamescom in Cologne. Even though the media has been hyping it in the news and says how great it is now that it moved from Leipzig to Cologne this year, I was pretty disappointed by the convention. Even if it is closer (to me) and easier to reach now, the fact the half the games there were clones of Singstar or Rock Band didn’t make things better. Anyway, after the convention we headed over to the Hard Rock cafe and had some good food before we took the train home.

Continue reading

Virtualbox

I’ve been playing around with Virtualbox here at work the last few days (all our MMO games have windows clients, I have a Linux at work), and I must say I am pretty impressed. Before someone comes around the bend and yells “but my favorite virtualisation software XZY can do that too”: I’ve tried a few and Virtualbox is: free, stable, easy to setup and use, has a good performance. The latest version supports Direct3d, so now I can run games that caused problems with wine. Creating snapshots are a breeze too, so I can revert the whole system back to a “clean” version without any problems if I want […]

Continue reading

self0wned politicians

The German politicians are currently still pushing laws to censor the Internet (they actually managed to pass one law, now they are trying to defend it and broaden the spectrum of things to censor). It all started out as a good thing, they were trying to eradicate child pornography. Instead of having the child pornography simply removed from the Internet (which has been proved time and time again is fairly easy), they used the topic to implement general Internet censorship instances. Censorship is bad, and what pisses people off most is the fact that the “censorship” just puts up a big red stop sign in the browser of a user […]

Continue reading

Blog <-> Facebook

So I finally got around to getting Facebook to automatically impoort my blog entries. Was easily done technically, all I had to do was decide if I wanted them to end up in the news feed or as status updates. Both had their advantages, but I decided going with news feeds because they provide better formating. Now I’m back to moving my website and email server to new hardware (websites are easy, email is a bit of a pain).

Continue reading