Sunday hike.

January 17, 2016

image


One night in Schimmerlos… #Regensburg

January 17, 2016

image

image

image


#Regensburg

January 17, 2016

image


Regensburg DVB-T channels.conf file

December 27, 2011
An example channels.conf file for Regensburg, Germany DVB-T (sorted for my purpose):

ARD:642000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:513:514:32
ZDF:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:545:546:514
BR:530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:545:546:34
arte:642000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:33:34:2
3sat:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:561:562:515
Phoenix:642000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:49:50:3
BR-alpha:530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:561:562:35
EinsExtra:530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:65:66:4
SWR:530000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:3601:3602:225
neo/KI.KA:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:593:594:517
ZDFinfo:730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:577:578:516
EinsPlus:642000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_1_2:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE:97:98:6


Script autostart at boot time on Linux

December 8, 2011
(Just because I came across this several times during the last weeks being asked by Linux newbees. )
If you want to have a script, a command or a program run at autostart on Linux, put it into /etc/rc.local. On my Ubuntu or Mint systems this file has the following content:

#!/bin/sh -e                                                                        
#                                                                                  
# rc.local                                                                          
#                                                                                  
# This script is executed at the end of each multiuser runlevel.                    
# Make sure that the script will “exit 0” on success or any other                  
# value on error.                                                                  
#                                                                                  
# In order to enable or disable this script just change the execution              
# bits.                                                                            
#                                                                                  
# By default this script does nothing.                                              
                                                                                   
exit 0   

If you add a line like echo “`date`: Hello, dude, I am just booting.” > /tmp/bootlog here, the next time your system starts you will find a timestamp followed by the nice greeting inside the file /tmp.bootlog:

Thu Dec  8 16:06:35 CET 2011: Hello, dude, I am just booting.

Mind that this only works on systems that (perhaps you’ll use locate rc.local) to check that) have the relevant init script /etc/init.d/rc.local on their hard drive. My Ubuntu/Mint systems have the test following test included:

do_start() {
        if [ -x /etc/rc.local ]; then
                [ “$VERBOSE” != no ] && log_begin_msg “Running local boot 
scripts (/etc/rc.local)”
                /etc/rc.local
                ES=$?
                [ “$VERBOSE” != no ] && log_end_msg $ES
                return $ES
        fi
}

Basically, this test makes sure that it is executed if it exists. If you have symbolic links like these:

/etc/rc2.d/S99rc.local                                                                                                                       
/etc/rc3.d/S99rc.local                                                                                                                       
/etc/rc4.d/S99rc.local                                                                                                                       
/etc/rc5.d/S99rc.local

then this script will be run always on the start of runlevels 2,3,4 and 5. You can change that behaviour with the command update-rc.d (a very good manpage is available).

Spam-tagging russian encoded spam with sieve rules and its regex extension

November 27, 2011
Since a few weeks I have been receiving numerous e-mails in russian language. Sadly enough, I don’t speak Russian. However, about 20 or 30 mails per day made it through my three layers of spam detection. Two Spam Assassins, one at my provider (powered by the experience of several hundred domains), one on my own Cyrus IMAP server including my preferences and “personal experiences” plus (third level) a rather complex set of Sieve mail filtering rules could not prevent those mails from traveling to my Inbox.
From: “?koi8-r…”
Thus I had a look in the mails’ source code and found the “From:”-field starting with “?koi8-r?” like this:
From: =?koi8-r?B?18/azcXdxc7JxSDu5PM=?= <pinstripev6@rodswan.com>
That’s perfectly enough for my Third Stage (no Boston here!). I just had to add the fifth line to my sieve script below – and now now more illegible Russian mails appear in my inbox. Okay, they now are in the “spam”-folder, but lateron I will just redirect the “fileinto”-command and have them rejected.
The Sieve part: 
require [ “fileinto”, “regex”, “reject” ];
[…]
if anyof (
 header :regex :comparator “i;ascii-casemap” [“Subject”, “From”, “To”, “Cc”, “Bcc”] “[.]*[vV]iagra[.]*”,
 header :regex :comparator “i;ascii-casemap” [“From”] “[.]*koi8-r[.]*”,
 header :contains [“X-Spam-Level”] “*****”
)
{
        fileinto “INBOX.spam” ;
        stop;
}
[…]

Critical comments on Mono…

June 6, 2011

I recently found some rather critical comments on Mono, a free version of the .NET-framework that makes it possibile to develop cross-plattform. Being kicked out by Novell, the core developers of Mono founded their own company, Xamarin, and are on the way for a Mono foundation.

Wake up, little Suse

Parting Linux and Mono

Time For IBM i To Catch Mono–Again

I’ll add more as I find them…