Open Source Android App Blog

Posted on January 24th, 2011

by jesse

A few of us just started a new blog where we talk about Open Source Android Apps. We’ll present new Open Source Apps everyday, hopefully getting to a point where we can recommend an Open Source solution for every need.

Check it out, it’s open-app.org. We’re translating every post for our fellow german nerds, try: open-app.de.

Microsoft HAHA

Posted on October 26th, 2010

by siyb

Almost 4 years ago, I wrote a small rant on a Microsoft advert, found in the CT magazine, you can check out the rant here. It seems like they can’t advertise with the London stock exchange any more. Wer zu letzt lacht ;)

i3 – start urxvt ssh screen session on startup

Posted on October 14th, 2010

by siyb

I don’t know about you, but I personally like my ssh/screen session to my server open when my i3 session starts. The following command will open urxvt, giving the terminal a title, executing ssh, while forcing a pseudo terminal, which required for screen and than execute screen -x on the remote host. Just place it somewhere in your i3 config file, to have it executed on startup automatically.


exec urxvt -title remoteHost -e ssh -t remoteHost screen -x

Java: automate serializable serialVersionUID generation from javac warnings.

Posted on September 6th, 2010

by siyb

I had the need to create serialVersionUIDs for a huge project, containing several unversioned serializable classes. I am assuming that you are using ant and javac. First thing you need to to is to enable warnings, you may do that by using the Xlint parameter (javac) or by adding:

<compilerarg value="-Xlint"/>

to you javac section in your build.xml. The next step is to run the following one liner, you will need to replace build/:lib/* to fit your classpath, that contains the .class files of your project and the required libraries. As you can see, you may use “:” to separate multiple paths.

ant | grep serialVersionUID | awk '{print $7}' | xargs serialver -classpath build/:lib/*

What does the script do?

  • ant – builds your project
  • grep serialVersionUID – returns lines containing “serialVersionUID”
  • awk ‘{print $7}’ – prints the 7th word (separated by spaces) of each line, which happens to be serialver conform
  • xargs serialver -classpath build/:lib/* – creates a “list” from all words that have been piped to xargs from awk and runs serialver -classpath build/:lib/* on each word

Hope that was helpful to you, feel free to leave comments ;)

Simple fontviewer

Posted on August 23rd, 2010

by siyb

Since I was unable to find a suitable font viewer in my distribution and I had some spare time, I wrote a font viewer in TCL/TK. Feel free to download / use and comment on it ;). Simply install TCL and TK, chmod and start the program, enjoy! Screenshot attached below.

Fontview screenshot

Fontview screenshot

UPDATE
Version 0.2: download

UPDATE
Version 0.3: download


design: makequick.com | modificashuns and bugfixes by jesse | Impressum
bottom