SVG – the lost son of formats
GraphicsI was on the Chemnitz Linux Days last weekend. Besides great other talks a saw “Free your slides – Vortragsfolien im Browser anzeigen” from Sirko Kemter. He talked about a tiny tool called jessyink for creating Slides out of inkscape SVGs. I did a small SVG-Demo some months ago using RaphaelJS and a draft about
Run local/remote terminal commands with java using ssh
Java . Network . Play! Framework . SnippetsSometimes you need to use some CLI-Tools before you want to create or search for a native JNI Binding. So there is a common way, using the Java Process-Class. But then you might meet two problems i had to face in the past during several problems: There are (a really small) number of CLI-Tools, that
Blog Design update
PersonalAfter endless years of using the old classic WordPress Theme, i started to creating my own Theming. So it might be a little bit edgy round the corners during the next days :-). Thank you to falkh for giving me a basic start with the nice Post-Caption-Thingys :-).
Counter Update
DB . Java . Play! FrameworkI just finished my latest improvements to the legacy version of my counter script. I just added the lookup for ISPs and added dynamic scaling for the axis legend. I will now going forward to change the whole system to a more sophisticated software, e.g. using a Datawarehouse approach. The first version of the Data-Model
Joyent SmartOS VM MYSQL Setup
SmartOS . Tooling . VirtualisierungI just played around with the new SmartOS from Joyent ( Homepage ). I followed a basic tutorial from a Blog called opusmagnus to setup my basic SmartOS Machine on Virtualbox. You basically just have to insert the latest iso image and startup the VM (SmartOS is a system that runs from a live Medium
Counter Update
Personal . PHPBefore i will do the great update of my counter script (i plan to switch to Java/Play with some basic DWH Features), i just added some dynamic webpage screen rendering based on thumbalizr (have a look here)
Running a Rails 3 Application in a Sub-URI Enviroment
Hacking . ruby . Ruby on RailsSometimes you need to run your Rails (3) Application on a Sub-URI (e.g. examle.com/prod, example.com/dev). In my current Project there was a Problem with that Configuration and the Rails url-helpers (link_for, url_for, usw.) becourse the app wasn’t aware of the necessary prefix (in our example “/dev”, “/prod”). There is always the possibility to set the
Testing Play! Applications with HTTP Basic Auth
Java . Play! FrameworkUm eine Play!-Anwendung zu testen, welche HTTP-Basic-Auth verlangt ist es notwendig, die Standard-Datei ApplicationTest.java anzupassen: Verändert werden muss die Test-Methode testThatIndexPageWorks(): Aus @Test public void testThatIndexPageWorks() { Response response = GET(“/”); assertIsOk(response); assertContentType(“text/html”, response); assertCharset(play.Play.defaultWebEncoding, response); } Wird: @Test public void testThatIndexPageWorks() { Request request = FunctionalTest.newRequest(); request.user = “test”; request.password = “test”; request.url =
Play! Applications und der App-Context
Java . Play! FrameworkEs ist möglich, eine Play!-Anwendung sehr einfach in eine WAR-Struktur zu übertragen und in einen Application-Server zu deployen. Dies ist recht gut unter Deployment options in der Play!-Dokumentation recht gut erklärt. Was hier allerdings verschwiegen wird ist, wie man den notwendigen Context beim Routing konfiguriert. (Der Context ist der Pfad der Anwendung, welcher standardmäßig vom