Fork me on GitHub

JavaScript interaction between an embedded SVG image and its hosting HTML file

No Comments
I needed to modify a HTML document depending on the cursor position in an embedded SVG file. Why would somebody need that? An example could be that you have a SVG based map in a HTML file and the name of the country on which the cursor is located should be highlighted in the HTML document. …

Dump Emacs org-mode agendas and todo lists to the command line

No Comments
Emacs' org-mode is just a mind blowing tool for organizing everything - there is a full Google Tech Talk only about this extension. Among other things I use it for my scheduling and todo lists. Sometimes (e.g. when I start my computer in the morning) I just want a quick glance at my today's appointments and …

A LEGO holder for the HTC Desire

1 Comment
My HTC Desire got a holder / cradle made of LEGO™ bricks. It's constructed to hold the smartphone in landscape orientation as well as in portrait orientation without having problems with the cable. Here is a screenshot of the model taken in LeoCAD: You can find the CAD file on github and the instructions on thingiverse. …

Installing LeoCAD - a CAD program for toy bricks

No Comments
LEGO™ rocks, sharing knowlege rocks. Sharing Lego models kick ass. To do so you can either send you LEGO™ constructions by mail or (better) use a CAD program to model your ideas digitally and upload it. I had a look around for open source tools specialized on modeling plastic toy bricks and found LeoCAD. To be …

Take a screenshot of an Android device using the SDK

No Comments
Assuming you have installed the Android SDK you can use the Dalvik Debug Monitor Server (DDMS) to take screenshot of your Android phone or emulated devices. You have to activate USB debugging on the device (Settings > Applications > Development > USB debugging) and connect it to your computer. Then fire up the DDMS: $ ddms …
Warning: PDOStatement::execute() [pdostatement.execute]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} t
			INNER JOIN {tag2post} tp
			ON t.id=tp.tag_id
			INNER JOIN habari_posts ' at line 2 in system/classes/databaseconnection.php line 271
Warning: Invalid argument supplied for foreach() in user/themes/charcoal_konrads_version/theme.php line 157
    Warning: Invalid argument supplied for foreach() in user/themes/charcoal_konrads_version/taglist.php line 2