bash foo

Instead of writing tons and tons of small scripts < 10 lines that all depend on each other I have the habbit of writing them as functions and throwing them into one file (easier to edit, less worries about them depending on each other). To be able to use the functions from the bash shell, just add $(basename $0) “$@” to the END of the file, and add symlinks function_name -> file. Example: $ ln -s foo.sh foobar $ cat foo.sh

Continue reading

mobile and online

I just finished setting up my laptop and cell phone so that I can go online from anywhere.  It’s not comparable to DSL speed, but it is fast enough to surf around and use SSH/VNC/Rdesktop. The hardest part was actually not the technical part, but finding specific information what I need to do from my cell phone provider! After doing a bit of searching I finally found out that what I wanted (surf the internet with my netbook using my cell phone as a modem) seemd to be the “websessions” option at Vodafone. Now you can either buy dedicated hardware that you plug into your usb port (costs money, need […]

Continue reading

Triathlon photography

This weekend I photographed the local DLRG (German equivalent to American Lifeguard Association) while they kept watch over the swimming part of a large triathlon here (Kraichgau Challenge). The swimmers started in 2 groups (1.9km and 1.5km) at the Hardtsee in Ubstadt-Weiher. It did get a bit cloudy by late afternoon, but the whole morning and early afternoon the weather was great allowing me to get some good shots. I selected around 45 photos, cleaned up the lighting where needed, and uplaoded them to the DLRG Ubstadt-Weiher picture gallery

Continue reading

HDR / DRI pictures

I admin, I haven’t been updating my blog all to often lately. Mainly due to a) nothing special happening and b) getting stuff prepared for our wedding. So what have I been doing the last few weeks? Well, I finally installed and played GTA IV (which I bought many months ago ;)) Other than that I’ve been plaing around with my camera (and Photoshop CS3) a bit. Tried some light painting, played around with HDR a bit (bought myself a Photomatix license since it can handle my nikon raw format natively), added some of the stuff to my deviant art page d0py.deviantart.com

Continue reading

rrdtool tricks / tips

There are various different ways to generate rrdtool images. And most people will probably be generating elaborate ones out of perl or php scripts. The ones I am currently generating are built in a shell script (bash) and I was really having a problem with quotes and white space here for a while. If you generate the query and save it in a variable, the quotes go to hell and your white space (e.g. a space in a COMMENT) starts causing problems. my solution may not be the best, but it works without any trouble: Throw the whole command line into a temporary file and then use eval to create […]

Continue reading

Du bist Terrorist (You are a Terrorist)

Sadly, this isn’t a joke or just being paranoid. The politicians are going a bit overboard with internet censorship right now (elections this year). They are currently trying to pass a law, allowing the BKA (the German FBI) to block sites on the internet and monitor people trying to access the blocked sites. The BKA can freely decide which sites to block, and no one except for the BKA officially  knows which sites are on the list. httpv://www.youtube.com/watch?v=SGD2q2vewzQ You are a Terrorist! A Campaign against Terrorists. United for a safer Germany. The Campaign „Du bist Deutschland“ (You are Germany) in 2005 was the beginning of a wave of positive spirit […]

Continue reading

All Linksys device web interfaces online

I accidentally stumbled across a linksys link today with all the web interfaces for their devices: http://ui.linksys.com/. Very useful for checking out the possibilities of a device before buying it, or for making screenshots for internal manuals if you don’t have access to a certain device.

Continue reading

BANFF Mountain Film Festival

BANFF was in town yestery. I got a ticket to watch the film a few weeks ago (yeah, I haven’t posted in that long a time). Some nice films this year, two of which I really liked. The Sharp End (climbing) and Crux (mountainbiking/trail). There are short trailers of the two films, definitly woth having a look at. BANFF Trailer 2009 Crux The Sharp End

Continue reading

Mythtv + Wii Remote + ScummVM + Google Earth

Yesterday and today I went and got my Wii controller linked up to my htpc in the living room. No more boring old standard infrared remote control for me, now I can control the pc with my Wii controller. The first solution I found was MythPyWii which worked pretty well, but was nonetheless useless (due to some restrictions in the way myth works, and the way MythPyWii sends it’s data to myth) because Wii input was not forwarded to myth plugins (e.g. Myth Video or Myth Games).  Next I had a look at the inner working of MythPyWii and had a better look at wminput from the cwiid project.  Anyone […]

Continue reading

self0wned

Doh, I was just writing a bash script to calculate the current network traffic and write it to syslog. nothing special. I’m posting this from my laptop because I was forced to reboot my main PC after accidently writing a fork bomb. I wanted to recursively call myself and detatch the process so I could use the script as a deamon without worring about it if I logout. AFTER starting the script, I noticed a flaw in my “if” startement to make sure I don’t DOS myself. By the time I got around to “hmm, maybe I should check the pid of that child and kill it so it doesn’t […]

Continue reading

United-Domains offers world map for “bloggers”

http://www.united-domains.de is currently (till march 31st) offering free world maps with TLDs printed in the countries to bloggers who fullfill a few criteria. nothing wild, basicaly you just have to spread the word about the event, make sure the links appear in the posting and send them a mail. easy 😉 The offer is good as long as supplies last, so with some luck I may still get one. Cool. Have a look for yourself http://www.domain-karte.de

Continue reading

Blog updates

I’m sorry about the lack of updates here lately. I’m having a bit of a problem with WordPress. I can’t edit any postings, which is a slight pain. I also can’t figure out why this problem popped up. I’m using the SVN version, and if I revert all the files it is still broken (but a new install works fine). i started debugging the problem, and the SQL query that grabs the list of posting is extremly fubar, but unfortunalty the SQL query is built very dynamically so it’s not easy to fix.

Continue reading

Free vServer during beta phase

I just stumbled accross this website: https://ssl.euserv.de/produkte/vserver/betatest.php where you can order a vServer for free during the beta phase. The beta phase is planned to last till the end of 2009. For more details, have a look at the link (there are a few thing not allowed to use the server for, mainly high traffic and illegal stuff). An order key is required, just have a look at the tags of this posting …. one of them is a bit “strange” 😉

Continue reading

website IP, Deviant Art

Sorry for the problem with the website. Seems my DNS Provider decided to do a rollback and the old IP was active for dopefish.de (www.dopefish.de still worked). Both DNS entries now point to the new IP again. In my last posting I forgot to mention I set up an account over at Deviant Art where I am posting pictures of mine I actually find worthwhile looking at. Not that I find the rest of my pictures outright bad, but they are more average and sorted by events/vacations. The ones I post at Deviant Art are pictures I find are above (my) average and worth the time to have a look. […]

Continue reading

Gaming & Photo

Haven’t posted here for a while, so I’ll catch up on events. I got two new lenses for my camera, both Nikon. The 50mm 1.4 and the 18-200mm 3.5-5.6. Both very good lenses, and it seems that either Nikon heard the complaints about the 18-200 and fixed the design, or I am just plain lucky because mine has no creeping when used vertically. Very cool. And words can’t describe how great the 50/1.4 is in low-light situations. New games: Street Fighter IV (PS3) and Wii Fit I played Street Fighter IV at the Games Convention in Leipzig last year, and it was fun. I liked the good old Street Fighter […]

Continue reading

Mythtv Update & New online games

Last weekend my htpc didn’t record a show it should have, turned out it couldn’t fetch EPG data anymore (and therefore didn’t know the show was running, I should have it email me if it completely runs out of EPG data). Anyway, I thought updating the system would be a good idea … fixing EPG was easy, fixing the stuff the update broke took me 2 days. The solution was easy, restore the original /etc/X11/xorg.conf since the one the update generated kinda broke GLX on my Nvidia 6200 which resulted in the wierdest problems. The Myth GUI worked partially, live TV etc. was no problem, but the menus didn’t show […]

Continue reading

Happy New Year

My last few postings were all a bit technical, so this one is going to be  a bit more “normal”. I hope every reading this had nice Christmas and New Years celebrations. It is a cold as heck here, but still no snow. My guess is that it won’t snow here whis winter, just cold and windy weather. I must admit I haven’t been climbing for about a month. I really need to get back to the gym and train more. I want to shoot some nice pictures during climbing outdoors this year (not just from the bottom or top, I want to shoot pictures while in the route). And […]

Continue reading

Left 4 Dead

(Original posting on gameserver.dopefish.de) The Left 4 Dead game servers are up and running. IPs are on the top right of this page. I added sourcemod and an extra gore plugin to the server for added fun I also moved the Teamspeak Server over here, turn your head slightly to the right to see the status page. No related posts.

Continue reading