Wednesday, June 24, 2009

Shannon Whirry Appreciation

use of JSON in GWT and GXT


Blogging on topics of programming you quickly to many source
to want to show appetizers, so what is said can be illustrated directly. A Copy-and-paste of the favorite development environment works because, unfortunately, not often, in fact there is only a confused heap of words that must be processed manually tedious and again.

But there are solutions to (almost) reached the simplicity of a copy-and-paste:

Google Code Prettifier

The Google Code Prettifier be blog content with source code, provided they are enclosed in a given day, by pimped by Google delivered Javascript. A Description in German can be found in Google Watch Blog , where the set of supported languages is defined as:


currently supported languages bash, C, C + +,
Java
, JavaScript, Perl, Python, XML, HTML , HTMLXmp, white space and Misc1 - almost all important.


Even CSS has become one of the features seem to result. So you have everything in order such as a
GWT
show programming beautiful. How does it work

In preparation to Load the CSS and JS files from the Prettify website. These files must be on your own Web server to make available. It is for this the different languages of their own JS files, you can probably those from whom they accept never need to leave out. After that binds one CSS file, and the main javascript file in his blog and complements the body

day



\u0026lt;body onload="prettyPrint()">

The preparations are complete. In order to format source code of the corresponding block of code is simply surrounded by a

\u0026lt;pre class="prettyprint"> ...\u0026lt;/ pre> (c) H. Brune

. It is possible specify the language if you do not, so 'advises' the Prettifier. Example:

\u0026lt;pre class="prettyprint lang-java"> ...\u0026lt;/ pre>

Links:

Homepage Google Code Prettify
: By downloading the necessary files and documentation

Open

Tutorial: Here is additional information in German for the integration of HTML / XML
example

And it looks like:

/ **
* Small helper method to test for empty strings. * * @ Param

to_test to be tested * @ return string

* If the string

null or empty or only with * space is filled is

true, otherwise false.

* * / public static boolean isEmptyString (String to_test) {return to_test == null to do.

The name

The first hurdle was the name: we understand something like 'full tilt', 'Carrachero' or 'Karachiro'. With a little googling, we found initially to 'Carachillio', which does bring some search results

, including even a menu. However, no recipe or no useful description. a "real" and at least in the German web frequently-used name is

Carachillo
. Under these keyword search to find it already some useful results
.

Having now the 'ch' in English through the usual 'J', we were finally replaced at the goal and recognized. So we have a

C arajillo drunk

! Under this name we can find an entry in the Wikipedia
 
. We are interested, of course, not the simple version in which are simply coffee and alcohol to bulk. We want the full program with fire and caramel flavor.

recipes on the Internet

When Google for Carachillo found, for example, the following recipes:
http://www.cocktaildreams.de/cooldrinks/cocktailrezept.carachillo.2446.html



the Veterano in the cup (a large coffee cup) and heat it with steam. Then light to get the right taste.
Now two coffee beans and lemon rind in the cup and to pour the hot espresso.
http://toprezepte.ch/index.php/rezepte-von-az/trinkbares/54-carachillo

Theke im Canta © H. Brune

4-6 cl Brandy purely preferably delivered in a small, sturdy glass

2 sugar cubes add

Brandy heated with steam and then set fire Stir with a spoon until no sugar grain is visible. An espresso in a thin stream to Brandy give (it must be to hear a crackling sound)

is crucial pour Where appropriate flame

the burning of sugar to a caramel flavor is created that makes the espresso first to Carajillo. Even the Wikipedia article emphasizes this. Not quite agreement among the different recipes in whether coffee beans and lemon zest into it belong, and if so, whether they are already heated with brandy together or come until later.

Must it be High-proof?

burn Normally spirits until an alcohol content of about 50%. Must say for the Carajillo a suitably potent brandy are used? No, because by the heating The alcohol is readily released and a brandy Veterano as sufficient by 36%. And so we then made our first Carajillos Two teaspoons of sugar in one of our cappuccino cups. Ca. 3 cl, a little more than a shot glass

, Veterano it. The 4-6cl appeared from one of the previous recipes us something very hard. With the heat

Wasserdampfdüse the espresso machine, the sugar-brandy mixture well. Beware, it injected. But the hotter the better it makes the whole thing is burning brandy. After heating, the pivot cup of something, usually the sugar dissolves then already.

Now it so far: A match to keep the cup edge and should immediately blazing blue flames. We had a fear it may burn too much alcohol obtained, but even at the trial with the longest burn time was the result is still very high percentage. So: Brandy really hot and can burn properly so that it can also arise caramel.

During firing still stir with a long spoon bit, maybe it will help that the sugar is dissolved and heated properly. On lemon and coffee beans we have been dispensed with.

Before the flames go out the cup under the espresso machine and pour in the picture by running into the espresso. We added a double espresso, what was just right for our taste. If you do it right (with us until the 4th attempt) can be heard crackling in a really strong moment in which flows the first coffee in the hot brandy.

us for the special way of Carajillos is next to his taste and the current in the sheep's cold very helpful Durchwärmeffekt especially the aesthetics of its production: the blue flames that billow around the espresso machine to give the matter a unique charm.

Oh yes, be VERY careful when drinking, as the cup edges are

enormously hot. And unlike, for example, in a Sambuca, guests at the table do not see that the drink was once burned and therefore are unprepared.

similar drinks

The Carajillo seems to be not unlike the Café Royal

. A recipe can be found for example here:

http://www.lebensmittellexikon.de/c0001200.php


Or at Maggi:


http://www.maggi.de/Rezepte/kochstudio/ ? recipe / prescription search / default.htm id = 12 142 & action = detail

And again:

http://www.ecocktail.de/de/ecocktail-cgi/datenbank/cocktail_rezept.cgi?cocktail_id=2790 & ; cocktail_name Cafe =% 201% 20Royal

0 comments:

Post a Comment