Kategorie: Software

  • FreeBSD: Fotos vom Handy via Bluetooth übertragen

    Vor längerer Zeit habe ich hier die Anbindung eines (K700i-)Handys an FreeBSD via Bluetooth beschrieben.

    Fotos (Daten) auf dem Handy kann man via obexapp übertragen. Diese Applikation ist allerdings extrem krude…

    Zur Automation der Übertragung der Fotodaten habe ich ein kleines Ruby-Script geschrieben; vielleicht ist es ja jemandem nützlich… (User: public – kein Passwort)

  • Future Sound of Secure Operating Systems

    Today there will be a interesting broadcast on the local WTH-radio SubEther at 16:oo o’clock. Andreas Bogk will present his/their attempt, to do such an OS with Dylan. People from the Plan9-Team will also join in and talk about their „experiment“ with Plan9.

    Martin told the OpenBSD-people about the event; perhaps they will take the chance, and present themselves also…

    I think one can expect kind of „a clash of the titans“;-)

    P.S.: Weather is fucked up beyond everything here. But mood is still good.

  • PostgreSQL on FreeBSD

    If you want to install PostgreSQL 8.0 on FreeBSD via the ports, you probably found this tutorial oder that info.

    It seems to me, that some things changed. You better read your shell-output after installation; so you know what todo:

    To initialize the database, run
    /usr/local/etc/rc.d/010.pgsql.sh initdb

    You can then start PostgreSQL by running:
    /usr/local/etc/rc.d/010.pgsql.sh start

  • Postie via WP-Cron aufrufen

    Ich habe das Plugin Postie für WordPress installiert, um von meinem Mobilteil Texte und Photos via E-Mail auf dieses Blog zu posten.

    Das funktioniert hervorragend!

    Nicht funktionieren tun hingegen die vielen kostenlosen Dienste der Cron-Anbieter, die die notwendige URL von Postie in regelmäßigen Abständen aufrufen sollen. Der von mir gewählte Anbieter ist seit zwei Tagen offline…

    Eine Lösung: Das Plugin WP-Cron ist ein Pseudo-Cron-Ersatz. Mit WP-Cron kann man also den Aufruf der Postie-URL automatisieren, ohne einen externen cron-job aufzusetzen.

    Die Installation und Aktivierung ist selbsterklärend. WP-Cron bringt auch eine Reihe von Skripten mit, die sich bei WP-Cron als Dienst registrieren und von diesem regelmässig aufgerufen werden.

    Das von WP-Cron mitgelieferte Skript als Ersatz für wp-mail.php kann allerdings keine Attachments in E-Mail (Fotos) verwalten, so dass Postie weiterhin erforderlich ist und *irgendwie* über WP-Cron aufgerufen werden muss.

    Die Lösung ist über wp-admin -> Plugins -> Plugin-Editor -> WP-Cron die Funktion:

    function wp_cron_15_exec()

    um folgende Zeile zu erweitern:

    file_get_contents('http://deinblog.de/wp-content/plugins/postie/get_mail.php');

    Dann klappt es auch mit dem automatisierten Moblogging…

    Postscriptum: Mr. – php-Wizard – Borho erklärte mir, dass include evil sei und ich lieber die Funktion file_get_contents nutzen möchte. Warum auch immer…