Artikel in Kategorie "Programmierung"

Using VIm’s „Negative Lookahead“ to Delete All Lines NOT Containing a Pattern

UPDATE: Please note that „bw1“ has notified me of a much simpler solution than what is described here; please see „Using VIm’s „:v“ Command to Delete All Lines NOT Containing a Pattern„ Some statements have been struck through in the article below because they are false. I want to delete all lines in the current […]

Web-MP3-Player with HTML5, Flash and Playlist Support

About This project provides a JavaScript constructor MyPlayer({…options…}) that can be used to embed lists of audio files as read from an index document or an M3U into a web document. They will be displayed in a playback GUI with a playlist that can optionally be filled from the „title“ and „artist“ values of the […]

WordPress: Eigene Übersetzungen in Thematic-Child-Themes

Ich habe einige deutschsprachige Textbausteine in meinem Thematic-Child-Theme „linuxfoo“ angepasst. Dazu benutze ich eine Datei mit eigenen Übersetzungen auf Basis der „de_DE.po“ in „Thematic“ selbst und übersetze diese mit dem Gettext-Werkzeug „msgfmt“. Das Verfahren wird nachfolgend im Einzelnen beschrieben.

Xfce/Xfwm: Focus & Raise selected Window while Alt-Tab-Cycling

Xfce4/Xfwm4 is my Window Manager of choice. It does almost everything right, except thing: managing windows. 😉 Seriously, it gets a real pain with >=5 windows. What’s really missing is an expose function like Compiz & the likes have. To mitigate this a bit, i taught Xfwm4 how to raise the window that I currently […]

An OpenOffice/LibreOffice Macro to Colorize Internal References

Since I found no way to assign a character style to all „reference“ text fields of a document, to, for example have them colorized blue (indicating that they are links to some other place in the document) I had to write the following OOo BASIC macro to colorize them on the entire document Sub ColorizeInternalReferences […]

Debian Packages for „emutrix“

emutrix is a routing bay for E-MU 1010-based audio cards by Camilo Polymeris, published under GPL v3; the project page is: In the course of integrating and configuring my new E-MU 1616m PCIe, I made Debian packages by adding an install-target to the project file and writing the files debian/rules and debian/control Modified […]

 tilt_sequencer: Jack-Transport Start/Stop, Fractional Beat Intervals

Habe über das Wochenende erstmal den Parser von tilt_sequencer komplettiert. Kommanozeilen-Syntax: tilt_sequencer DATAFILE [MIDI_PORT [INITIAL_BPM]] Argumente: DATAFILE: String: Datei mit Events. MIDI_PORT: String: Name des zu öffnenden virtuellen MIDI-Ausgabe-Ports; Default: „tilt_sequencer“. INITIAL_BPM: Float: Wenn nicht von JACK-Transport mitgeteilt, verwende dieses Temp in beats-per-minute; Default: 120.

 Ein kleiner MIDI-Sequencer als JACK-Transport-Slave

Hier der Anfang eines kleinen Beat-exakten Sequencers, gesteuert mit Jack-Transport: svn co svn:// Zugriff per WebSVN Abhängigkeiten: libjack-dev librtmidi-dev Anmerkungen: Zur Laufzeit muss ein Programm, z.B. Ardour oder klick den JACK Transport Timebase Master machen. Dann passt sich der Sequencer automatisch der BPM an, wobei allerdings zu beachten ist, dass das Update derzeit erst nach […]