Monthly Archives: September 2010

Create reusable MySQL schema dumps


In case you need a MySQL schema transferred from one host to another and the schema names differ, you can ran into problems with a standard MySQL dump. Use the following statement to create a schema dump that contains all table and view definitions as well as all stored procedures without a reference to the […]

Read the complete article »

iTunes terminal tipps 2010


4 years ago i had a first iTunes terminal tipp, here is a round up (all terminal tipps require Mac OS X): Invert the iTunes Store links in the list The littler arrows can either point to the iTunes store or to the same artist or album in your library. Invert their behavior to let […]

Read the complete article »

Oracle “sleep” procedure: DBMS_LOCK.SLEEP


There’s a nice little “sleep” procedure in Oracle: A procedure that stops the execution of the current thread for n seconds. Strangely, this method can be called in SQL*Plus like so: EXEC dbms_lock.sleep(10); but not in another stored procedure or function like so CREATE OR REPLACE PROCEDURE FOOBAR AS BEGIN DBMS_LOCK.SLEEP(1); END; / To use […]

Read the complete article »

Preparing for Rails 2.3.9


As much as i wish to upgrade my Rails 2.3.x application Daily Fratze to the newest tag of the Rails 2.3.x branch, i cannot. First there was the epic fail of release 2.3.6, that broke all HTML Helpers and forced the Rails XSS protection upon us. This release was immediately followed by 2.3.7 and 2.3.8. […]

Read the complete article »

How to get UIDefaults in Java

If you’re loocking for Javas UIDefaults, use the UIManager class. This snippet gives you all installed UIDefaults: UIDefaults defaults = UIManager.getDefaults(); for(Enumeration e = defaults.keys(); e.hasMoreElements(); ){ String key = e.nextElement().toString(); System.out.println(key + " = " + defaults.get(key)); }

Read the complete article »