Mrz 14 2009

Autokino

beko | Allgemeines, VW-Bus | 0 Comments

Es gibt leider nicht mehr sehr viele Autokinos in Deutschland. Ich habe das Glück praktisch um die Ecke eines von Drive In zu haben. Die haben ein sehr schönes Sonderangebot “DoubleTicket” mit dem man beide Filme in der Abendvorstellung anschauen darf. Leider ist es nachts um diese Jahreszeit noch ziemlich kalt und nur die Leinwand 1 bietet Stromanschlüsse für Heizungen (oder Heizlüfter). Nun lief die letzten Wochen aber auf Leinwand 1 immer der selbe Film zweimal hintereinander – also für ein Doppelticket ziemlich uninteressant. Leinwand 2 bot dagegen 2 verschiedene Filme aber eben keine Stromanschlüsse. So habe ich also eine Mail an das Kino geschickt und siehe da: Ich durfte mich mit meinem mitgebrachten Verlängerungskabel am Vorführhaus/Snackbar mit dran hängen. So hatten wir es 5 Stunden lang schön warm im Bus und kamen nicht in Versuchung ständig den Motor anzuwerfen, wie viele andere Kinobesucher an diesem Abend. Mich freuts und ich komme gerne wieder :) Autokino ist mit einem Bus ohnehin ein besonderes Erlebnis.

I’ve a bbs system up and running storing the user accounts and their passwords (as md5 hash) in a database. The trac belonging to the bbs stores it’s data in a sqlite db and gave me a hard time for setting up useraccounts. I finally managed to validate users against the data from the mysql database. This is how it works for a standalone tracker project configured as apache2 site with mod_python:


‹Location /trac›
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /path/to/trackerenv
PythonOption TracUriRoot /trac
PythonDebug off
‹/Location›

‹LocationMatch /trac/login›
AuthType Basic
AuthName "Please login with your bbs (forum) account"
Require valid-user

AuthUserFile /dev/null
AuthBasicAuthoritative off
Auth_MYSQL on
Auth_MySQL_Authoritative off

Auth_MySQL_DB thedbname
Auth_MySQL_Username theloginused
Auth_MySQL_Password thepasswordused
Auth_MySQL_Password_Table thetablewiththeuserdata
Auth_MySQL_Username_Field thefieldwiththeusernames
Auth_MySQL_Password_Field thefieldwiththeuserpasswordsstoredasmd5
Auth_MySQL_Empty_Passwords Off
Auth_MySQL_Encryption_Types PHP_MD5
‹/LocationMatch›

With that settings I was able to produce a login request on the login-site of the tracker that could be feed with users and passwords from my existing bbs database tables. Now the users could login to the tracker and I could remove ticket/wiki creation/modification from the anonymous access to prevent spambots spamming the tracker.


trac-admin /path/to/trackenv permission remove anonymous TICKET_CREATE TICKET_MODIFY WIKI_MODIFY WIKI_CREATE
trac-admin /path/to/trackenv permission add authenticated TICKET_CREATE TICKET_MODIFY WIKI_MODIFY WIKI_CREATE

Jan 05 2009

Riestertag

beko | Allgemeines | 0 Comments

Vorgestern war es wieder so weit. Ich bin wieder ein Jahr näher an der Rente :D

..und alles ist wie immer – nur schlimmer :/

Zu Neujahr wünscht man sich ja im Allgemeinen einen “Guten Rutsch” gefolgt von “Gesundheit” und dergleichen.

Heute wurde mir dazu von einer zufriedenen Kundin ein “sicherer Arbeitsplatz” gewünscht.

Page 3 of 44