Davical, Google Calender and Mozilla Lightning Troubles

During testing of the Davical Calender Server i sometimes got a modification
failed error when trying to change Events that have been imported to Davical
via .ics files which originated from Google calender.

I analysed the access logs of the webserver which resulted from the Mozilla Lightning requests and found out that the PUT request
PUT /davical/caldav.php/someting/home/967096cd-c1a6-40e2-930c-04f328cfcc45/test@gmail.com.ics
contained a slash, that was originating from the UID in those specific events.

fail2ban startup iptables error

When using fail2ban with iptables, it is possible that errors occur when fail2ban tries to load the iptable chains...

Error messages are similar to the following:
iptables -I INPUT -p tcp -m multiport --dports smtp -j fail2ban-rulename returned 400

The error codes can have different values like 200, 100, 400.
It seems to be a timing error with iptables.

A fix can be added to the /usr/bin/fail2ban-client python application:

Add the line
time.sleep(0.1)

to the function
def __processCmd(self, cmd, showRet = True):
beautifier = Beautifier() for c in cmd:

Fachkräftemangel

Das Deutsche Institut für Wirtschaftsforschung (DIW) sieht derzeit keinen Fachkräftemangel in Deutschland. Dies berichtet das Nachrichtenmagazin "Der Spiegel" in seiner kommenden Ausgabe. Demnach werde das DIW am Dienstag eine Studie zur Entwicklung des Fachkräftebedarfs vorstellen. Der Studie zufolge ließen sich für ein generell knappes Fachkräfteangebot "keine Belege finden". Im Gegenteil bildeten etwa die kaum gestiegenen Löhne ein Indiz dagegen, dass so etwas wie ein Wettbewerb um Fachkräfte bei den Unternehmen eingesetzt habe.

Interesting Latex Packets

By default, in an inline equation, the indices of a sum are placed besides the sum.
This can be changed by using the \limit command!
$\sum\limits_N$

Babel packet:
Supports multiple languages in a latex document.

\usepackage[ngerman,english]
Uses english as default language and the new german grammar as secondary language.

Use \selectlanguage{language} to switch between languages.

Commands can distinguish between languages using
\iflanguage{ngerman}{Zitiert auf}{cited on}

Inverse search with SumatraPDF and WinEdt completion plugin

SumatraPDF supports forward and inverse search when using WinEdt6 or TexnicCenter Latex Editors...

Please note that all paths have to be changed to suit your needs!

Get a modified Sumatra Version here:
http://william.famille-blum.org/software/sumatra/index.html

It allows to specify the inverse search command!
This was the only way, to make inverse search working for me with WinEdt.

Following inverse search commands are used:

WinEdt:
"C:\Software\Office-Bildbearbeitung\Latex\WinEdt6\winedt.exe" "[Open(|%f|);SelPar(%l,8)]"

TexnicCenter

Useful android apps

To test:
QuickSystemInfo
RootExpxlorer

I use the following apps:

Öffi from Andreas Schildbach - Very useful app for public transport in Austria, Germany
SlideIt: Keyboard i use - intelligent word recognition with sliding over keys
AK Notepad, Inkpad: For taking notes
Aldiko, FBReader: Ebook reader
APKtor: Software for alternate markets - repository: repo.blackdroid.net
AppBrain Market: Proposals for good apps
AroundMe: Proposals for bars, restaurants in the vicinity
Astrid: Personal Task manager
Astro: Android File, Process and Application manager

Useful tips for gcc/gdb and assembly

If you are familiar with debugging under Windows, you may notice that gdb under linux has AT&T instead of intel asm syntax.

This can be changed using the command in gdb:

set disassembly-flavor intel

If you want to compile a c program to intel asm code, you can use the following syntax:

gcc test.c -S -o test.s -masm=intel

The -S switch generates assembly code instead of an executable.
To compile the code to an executable later on, run

gcc -gstabs test.s -o test

The gstabs switch is used to include debug symbols.

To turn off address space layout randomization use

Manually update Flash Player on Firefox

Download the latest Flash Player for Firefox here:
http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplaye…

You may have to download it with any browser that ignores the xpi extension - firefox tries to install it right away!

Rename the xpi file to a zip file and extract the files flashplayer.xpt and NPSWF32.dll to your Firefox/plugins folder!

After restarting firefox you got the latest version of Flash Player without any nagging Adobe DLM or whatever... :)

[Update: The version of flash player in the link above is quite old...

TeXnicCenter, SumatraPDF and Asymptote

When using Latex under Windows, TeXnicCenter and Miktex are my favorites at the moment. Although i consider Foxit PDF Reader a very good alternative instead of Acrobat Reader, Sumatra PDF supports some very neat features which are very useful when writing Latex Documents! When you click on a line in TexnicCenter, Sumatra jumps to the corresponding line in the PDF and vice versa (called forward/inverse-search).

Read this article
http://william.famille-blum.org/blog/static.php?page=static081010-000413

Noxon Audio Player and FLAC

The newest firmware for the Noxon Audio player also supports FLAC...
It is available here: ftp://ftp.terratec.de/HomeEntertainment/NOXON2/Updates/

The firmware has to be installed with the Noxon Firmware Manager (if the webinterface of the Noxon is not yet capable - because of a too old version).

Under windows newer windows versions, the XP SP2 compatibility mode has to be used, otherwise the Firmware Manager won't find the Noxon!
Also both the host computer and noxon must be connected to the network, preferrably both using a lan cable, or both wireless.