My foobar2000 Layout for download

Download here:

You need the following plugins:

Thanks to Frank Bicking, because these are all plugins made by him. 😉

The layout looks like this (click to enlarge):


Emacs pretty print JSON (if you have Python)

This short lisp example shows how to define a function that pretty prints your JSON selection in Emacs, based on a standard Python tool. …

My first regards go to the Irreal Blog and the author of Beautifying JSON In Emacs.

My second regards go to Trey Jackson who provided the example for the usage of "shell-command-on-region" (see the Stackoverflow post).

The key element is the "shell-command-on-region" function which calls a Python tool named "json.tool". This small tool beautifies your JSON. The code around is for replacing the selection with the output from the shell command.

USAGE: Mark your JSON text and call M-x pretty-print-json. The selection should be replaced with the beautified JSON.

GET IT: Put the code below to your emacs.el and adjust the path to python.exe. Irreal says Python > 2.6 is required.

WHY? The command provided by Irreal "C-u M-|" is impossible to type on German keyboard layouts. C-u Esc-AltGr-| is too long. Also Python.exe is not in my PATH and I have to type it down by hand (I could have adjusted my path as well) and remember the Python tool name.

;; pretty prints the selection on a json document
;; uses python.
;; adjust the python path and executable.
;; see
(defun pretty-print-json(&optional b e)
  (interactive "r")
  (shell-command-on-region b e "c:/Python27/python -m json.tool" (current-buffer) t)

Esri JavaScript API: map dijit and DOJO AMD

An example how to use DOJO AMD and aspect after on the map dijit. …

HTML (on.html):

    <meta charset="utf-8">
    <title>map dijit and dojo amd</title>
    <style type="text/css">
    @import "//";
    @import "//";
    <script type="text/javascript">
    dojoConfig = {
    <script type="text/javascript" src=""></script>
    <script type="text/javascript" src="on.js"></script>

<body class="claro">
    <div id="mapDiv" style="width:900px; height: 600px; border:1px solid #000; padding:0;"></div>


JavaScript (on.js)

var map;

// esri/dijit/attribution: Unable to show map attribution. Did you forget to require 'esri.dijit.Attribution'?

require(["esri/Map", "dojo/parser", "dojo/on", "dojo/aspect", "esri/dijit/Attribution", "dojo/domReady!"],
    function(Map, parser, on, aspect) {
        var initExtent = new esri.geometry.Extent({
            "xmin" : -122.46,
            "ymin" : 37.73,
            "xmax" : -122.36,
            "ymax" : 37.77,
            "spatialReference" : {
                "wkid" : 4326
        var basemap = new esri.layers.ArcGISTiledMapServiceLayer("");
        map = new esri.Map("mapDiv", {
            extent : esri.geometry.geographicToWebMercator(initExtent)

        aspect.after(map, 'onLoad', function() {