Category: Hacking

Mass Conversion of different video files with handbreak-CLI

I am currently converting all my videos to a fixed format using handbrake. If you have a lot of videos to convert, the UI version of handbrake is not always the best solution. Handbrake offers a CLI, sometimes you it needs to be installed separately. It has a lot of options ( https://trac.handbrake.fr/wiki/CLIGuide ). So

setup your public SSH key to another UNIX Host

Normally you would prefer to use your public ssh key for login into a remote linux machine. I created a script to perform the basic steps for inserting your public key into the hosts authorized_keys files. The script looks like this: #!/bin/bash HOST=$1; echo “>> setup your ssh keys for $HOST” echo “” echo “>>

Show Build-Information in your iOS App About Panel

Sometimes it might be useful to have an exact piece of information about what version of an app you have currently running. Especially if you have a decent Testing-Group, it is important to track the versions in which a bug appears. The goal of this post is to achieve a info panel like this in

Using UIAutomation for Multilanguage iOS Applications

With the appearance of iOS 4.0 Apple introduced a new Test-Framework for automatically UI Testing: UI Automation. Based on Javascript and build-in into Instruments, UI Automation is a very useful tool during the Developing of iOS Application. A very good introduction in UIAutomation is here and here. During the development of a iOS Application, we

Philipps 5 mins: Graph-Fun with AJAX and Canvas

I always searched for an efficient way add dynamic diagrams to a web-project without using flash or other plugin-based magic. With the support of the canvas tag element in almost all mainstream browser, i thought it would be a good time for creating a short demo how things workout. You will need at least two

creating JNI with Swig

I am currently playing around with JNI and Java due the colleagues question to make the connect features of jack-audio (http://jackaudio.org) accessible to java. There is already a javalib (http://jjack.berlios.de) with some features, there seems still some needes ones missing. So i started today to have a look into SWIG (http://swig.org). “SWIG is a software

for all mac ruby devloper outs…

for all mac ruby devloper outside: http://www.macruby.org any opinions about it so far?

Preparation for counter update

So after a long time i plan to give my counter-engine (^^) an update. The main Problem is, that the counter itself was perfect for ~2000 counts. But now with 5000 count, the presentation of the results is just not readable anymore. So i plan the following things to do during the next days (i

GnuPG Java Wrapper API

Yaniv Yemini wrote a small GnuPG Java Wrapper API. Just had a small look over it. So to get it your version from here Here is just a small demo: import javax.swing.JOptionPane; import org.gpg.java.GnuPG; public class Loader { public static void main (String args[]){ GnuPG pgp = new GnuPG (); String toolChain[] = {“sign”, “clearsign”,

sorted white and brown pebbles

SortedProperties

Angenommen, man braucht für ein Java Property Set ein geordnete Ausgabe – zum Beispiel um einem Übersetzer eine sortierte Liste mit zu übersetzenden String zu liefern. Man erstellt eine Klasse (zum Beispiel SortedProperties) und lässt diese von Properties erben. Bedingt durch die Kapselung ist es notwendig, dass die Methoden private static char toHex(int nibble) ;

1 3 4 5 6 7 10