March 2012
2 posts
3 tags
Simple video streaming with apache to Samsung...
Ok, so I’d like to watch videos on my Samsung Galaxy Tab without the hassle of copying them from my computer. I thought streaming with VLC would be a nice option. It probably is, but I didn’t get it to work. The tab has great support for media formats which means I only need streaming - no converting, so I thought why not use plain old apache? And it worked pretty well, playback is...
5 tags
Cucumber testing with Kyuri in a browser
Cucumber is a really nice testing framework, but I dislike having to implement the step definitions in ruby when the project itself is not in ruby, but what (web) project use javascript so why not do cucumber testing with javascript?
There are a couple of solutions for this, Cucumber JVM (former cuke4duke) is an official java based version of cucumber that let’s you use any jvm language....
August 2010
1 post
5 tags
Chroot'd Ubuntu on Samsung Galaxy S (Android)
So I got my hands on a Samsung Galaxy S (or SGS) a while ago, and it’s a really nice phone using Android 2.1 as it OS. Before I settled on the SGS the Nokia N900 had caught my eye. The 900 has great hardware and its OS is more of a “standard” Linux. Its Maemo OS is really just a Linux distro with all that entails (X11,QT,GTK), this means you can easily run any Linux app you can...
March 2010
1 post
PHPUnit 3.4 in Karmic
The PHPUnit package in karmic is only version 3.3.* and if you need the Yaml support, as I do, you need 3.4.
A good thing lucid lynx has an appropriate package.
Just download and install with gdebi.
January 2010
1 post
2 tags
Re-inventing the wheel: A logging development SMTP...
I found myself in a spot of trouble while trying to debug some newsletter sending plugin in Plone called Singing & Dancing. The problem was that I had made a local installation of the application server and the Python version I had to run it on had no support for TLS/SSL. This meant my ordinary outgoing mailserver wouldn’t work.
Well anyway that would have been a bad solution to send...
November 2009
5 posts
keyboard shortcuts to focus applications using...
In a previous post I fiddled a bit with python-wnck and made a small script that bound <Super>P key to activating previous focused window, i.e. last app you where looking at. This was kind of useful since I often find myself spending way to much time and effort jumping between applications. Window lists,pagers and good looking compiz effects that does the same thing all have one thing in...
listing windows with python-wnck
So as I said in my previous post I’ve recently found the nice litte libwnck and it’s python bindings.
There are lots of fun things you can do with it, try exploring it with ipython and you’ll see what I mean.
Anyways I wanted to share a little snippet of code with you, this will list all windows and print out their name in the form application name:window...
python-wnck
I just found out about a nifty litlle library called libwnck and it’s python bindings are in the ubuntu repositories under the name python-wnck. Its all about window management. It’s meant to be used for applications like window lists and workspace switchers etc. You can maximize windows, change current workspace etc.
So the first thing I did (naturally) was to write a little script...
ELIZA
Eliza is a neat little program created in the 60s by Joseph Weizenbaum. It’s been around a long time. I heard about it the first time during my university studies and the first version i tried was the ‘doctor’ in emacs (Emacs rules, vim should die!).
Anyway, a long story short, a friend of mine starting to talk about it one night while we where chucking down some beers and...
OK so I stayed
Yep. Finally decided. I’m staying here.
June 2009
2 posts
Just a test
I’m reviewing tumblr, just to see how it works. I was lured here by the promise of simple posting + custom html/css and javascript