Basic Example for Response-Policy-Zones with BIND

I would like to emulate a public DNS entry that does not exist yet, while i am developing the service that will use this name on an intranet server. Let a public domain name i develop the service for be myservice.my-cool-domain.biz. When working in my intranet 192.168.2.0/24, i want to override whatever public DNS resolves this as to some the IP 192.168.2.99. I would like to implement this using the “response-policy zones” (RPZ) feature available in recent versions of BIND.

Read More »

Stabilize Shaky Video With ffmpeg and vidstab

Overview

On my walking and hiking tours i often do not carry my camera but only my Android phone. Unlike the camera, the phone features no image stabilization mechanism whatsoever. In the past i have used the option offered by Google’s YouTube to apply a transformation that compensates for the most unfriendly effects of my hands being a bit shaky after some 10 or 20 miles of hiking. Since i am now moving forward to a more self-hosted approach of presenting my videos, i would like to have a similar procedure available locally.

For the ffmpeg software, which i use to convert A/V streams into internet-friendly output formats such as VP8 and Ogg Vorbis, there is a plugin “vidstab” that is capable of doing the same thing.

In this article i describe a “two-pass” procedure of applying “vidstab” during a video conversion procedure, and i present some initial results i had when experimenting with the plugin’s parameters.

Read More »

Land- und Abendstimmungen

Meckesheim, Zuzenhausen 3.10.2015
Aufgenommen auf dem Rundweg von Spechbach über Meckesheim, Zuzenhausen und Eschelbronn.

Ad-Blocking with BIND9 and NGINX

In my intranet, where hosts are in a subnet 192.168.2.0/24 and domain names in a domain mydomain, I use BIND9 as DNS, running on host intradns.mydomain , and NGINX as a webserver running on intraweb.mydomain.

I would like to rewrite all subdomains of certain public domains (spammers and trackers) using my intranet DNS to a webserver that answers every request with a 1 x 1 transparent Pixel GIF.

Note: A user has to be fully aware that the result is not the internet according to public DNS anymore but a modified view of it.

Read More »

I18n of Bourne Shell Scripts Using “gettext.sh”

This article shows how to make a Bourne Shell script translatable by means of the “gettext” toolchain and how it then operates with natural language strings translated into the user’s language.

Read More »

“jack-autostart” – Setup and Start Scripts for jackd

“jack-autostart” is essentially a start script (I use it for my XFCE sessions) that

  • starts „jackd“ with appropriate command line parameters and
  • configures as many applications as possible to route playback to the JACK service.
    • For this purpose, redirect all ALSA playback to JACK, and
    • set JACK as default audiosink/-source for GStreamer.
jack-autostart Architecture Overview

jack-autostart Architecture Overview

Read More »

Adding Custom Format Buttons To tinyMCE in WordPress 4

Introduction

In my technical articles I sometimes use inline fragments typed in a monospace font to highlight code or filenames that appear within floating paragraph text. Back in the days I did this with the <tt> element, nowadays I use <span class="tt"> and a CSS style like

.tt { font-family: monospace; }

I wanted to extend the tinyMCE in WordPress with a toggle button that behaves like the Bold or Italic buttons and surrounds selected text with such a <span class="tt"> element or, when pressed while an already surrounded text is selected, removes that surrounding again. Also, when the cursor is inside such an element, the button should switch to an “active” state that indicates that the character format can be deselected.

Read More »

DTP With Free Software?

In case anyone is wondering how to produce documents with

  • complex structure,
  • multiple pages and
  • professional quality

using free software, the answer is of course: with LaTeX. Consider the alternatives: Office (Libre, Open, the KDE stuff) are a nuisance when it comes to properly customized sectioning, and for larger documents or 100% precise positioning they turn into an outright PITA. Scribus is too limited to really overcome the Office competition. Inkscape addresses a different problem.

Read More »