Simple and quick one today - what if we need to print stack trace into a String?
-
...
-
e.printStackTrace(pw);
-
pw.flush();
-
-
//use the stackTraceString as you need...
-
}
-
...
Simple and quick one today - what if we need to print stack trace into a String?
Remote Mix is application that turns your iPhone into a wireless microphone (or a bug).
Today, Remote Mic Console 1.3 has been released for both Mac OS 1.5.x and MS Windows XP.
More information here
My small GrowlTunes patch (described here) made its way into official release of Growl 1.1.5:

I am happy to have contributed to such a great piece of an open source software.
I use and love Growl! and especially the GrowlTunes plugin which shows you track info when iTunes song changes.
What really annoys me, though - when listening to radio stream, it shows "(null)." instead of track number and there is also only radio name, not song name in the recently played songs menu.
I created small patch. Or download patched binary. Simply unpack and put into your Applications folder (replacing original GrowlTunes if present).
This is how it looked before:


And this is how it looks like after patch:


I needed to directly modify pixel values of several images in a special way. First, I looked into Gimp's Script-Fu functionality, but this seemed too complicated for what I needed so I decided to write such one-off utility in Java.
It simply reads all GIF images in specified directory, does some custom transformation of pixels, and then writes images back onto disk. It is really quick'n'dirty so be warned
Source code: ImageManipulation.java
XOM parser is a great piece of code. I was missing just one feature - to be able to get position of element in source file (line and column). So I did a quick and dirty hack resulting in two new nu.xom.Element methods: getLineNumber() and getColumnNumber().
I ran into a really disturbing security incident in the new Google Analytics interface today. A friend of mine was making me able to see the stats of upcoming accommodation website www.aboveeurope.com and an error occurred during the operation. What a surprise for me it was when I could see the statistics of totally foreign website in my analytics account afterwards!
Installing openSuse 10.2 on Lenovo 3000 n100.
Small hack for Windows XP (SP 2) which allows several remote and one local user to work simultaneously.