Addendum to my previous post “Using VIm’s “Negative Lookahead” to Delete All Lines NOT Containing a Pattern“ I received a message from a reader who goes by the name of “bw1” who points out that my task “to delete all lines in the current file not containing the string foo” can easily be accomplished by […]
Articles in Category "GNU/Linux"
Using VIm’s “:v” to Delete All Lines NOT Containing a Pattern
7. Januar 2015 in Administration, GNU/Linux, Programming, Technology.
Text-Console Barchart of Storage Utilization
7. Januar 2015 in Administration, GNU/Linux.
Written as a Bourne Shell-Script that invokes a Perl one-liner: LC_ALL=C df -kPT | perl -ane ‘!/(^Filesystem|tmpfs)/ && do { printf(“%-33s: %s\n”, $F[0], “*” x int((`tput cols`-35) * $F[3] / $F[2])) }’
Using VIm’s “Negative Lookahead” to Delete All Lines NOT Containing a Pattern
7. Januar 2015 in Administration, GNU/Linux, Programming, Technology.
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 […]
WordPress: Eigene Übersetzungen in Thematic-Child-Themes
11. Januar 2015 in GNU/Linux, Programming, Technology.
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.
An OpenOffice/LibreOffice Macro to Colorize Internal References
26. November 2023 in Programming.
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 […]
seq24 mit padControl
26. Juli 2025 in GNU/Linux, Multimedia.

Mit der in diesem Artikel gezeigten ~/.seq24rc steuere ich seq24 mit meinem Korg padControl an. Mit qmidiroute habe ich schnell mal bestimmt, welcher Pad auf meinem padControl eigentlich welche note sendet (ja ich weiss, das kann man einstellen, das hier ist nur ein Beispiel für eine ziemlich wirre Belegung): Zeile/Spalte A B C D I […]
Thumbnails aus allen Bildern im aktuellen Verzeichnis …
27. April 2014 in Administration, GNU/Linux, Multimedia, Programming.
An Introduction to the VI Text Editor
16. Juli 2011 in Administration, GNU/Linux, Multimedia, Programming.
A Google/YouTube Series of Screencasts about VI (classic version).