QuickLinks vom 19. Januar bis zum 27. Januar

Meine delicious.com-Links vom 19. Januar bis zum 27. Januar:

  • A successful Git branching model – Not too different from some SVN-structures I know, but enhanced with all the distributed version control stuff and painless branching and merging of git…
  • larch – is a tool to copy messages from one IMAP server to another quickly and safely. It’s smart enough not to copy messages that already exist on the destination and robust enough to deal with interruptions caused by flaky connections or misbehaving servers. Larch is particularly well-suited for copying email to, from, or between Gmail accounts.
  • imapsync – is a tool for facilitating incremental recursive IMAP transfers from one mailbox to another. It is useful for mailbox migration, and reduces the amount of data transferred by only copying messages that are not present on both servers. Read, unread, and deleted flags are preserved, and the process can be stopped and resumed. The original messages can optionally be deleted after a successful transfer.
  • Harry Potter: Top 10 Butterbeer Recipes – Butterbeer. It warms you up, tastes great, and gives you a frothy moustache!

QuickLinks vom 4. Januar bis zum 15. Januar

Meine delicious.com-Links vom 4. Januar bis zum 15. Januar:

  • MAP, ACT, WAIK, MDT: Windows 7 im Netz verteilen mit Microsoft-Tools – Schöner Überblick über die von Microsoft bereitgestellten Werkzeuge für die Verteilung von und Migration auf Windows 7.
  • FOG – is a Linux-based, free and open source computer imaging solution for Windows XP and Vista that ties together a few open-source tools with a php-based web interface. Fog doesn't use any boot disks, or CDs; everything is done via TFTP and PXE.
  • understudy – allows access to streaming video through the Front Row interface of Mac OS X. The user can subscribe to multiple feeds, and select a video to watch from them. Understudy currently supports Hulu, Netflix, YouTube, and to some degree the BBC iPlayer.
  • Software Is Hard
  • GhettoPush – A Perl implementation of IMAP push for the iPhone with generic IMAP servers.
  • HFS – Nice looking HTTP-Fileserver for Windows.

QuickLinks vom 30. März bis zum 7. April

Meine delicious.com-Links vom 30. März bis zum 7. April:

QuickLinks vom 29. Januar bis zum 3. Februar

Meine delicious.com-Links vom 29. Januar bis zum 3. Februar:

QuickLinks vom 9. Dezember bis zum 12. Dezember

Meine delicious.com-Links vom 9. Dezember bis zum 12. Dezember:

  • ack – better than grep, a power search tool for programmers
  • Snake Wrangling for Kids – is a printable electronic book, for children 8 years and older, who would like to learn computer programming. It covers the very basics of programming, and uses the Python 3 programming language to teach the concepts.
  • Write Your Name in Elvish in Ten Minutes
  • Lab Tick – Complete control over backlit Keyboards
  • gittorrent – The GitTorrent Protocol (GTP) is a protocol for collaborative git repository distribution across the Internet.

QuickLinks vom 27. Oktober bis zum 4. November

Meine delicious.com-Links vom 27. Oktober bis zum 4. November:

  • qlcolorcode – A Quick Look plugin for source code with syntax highlighting
  • Checkfilenames – a little perl script to find file names that are longer than a certain number of characters. Very handy…
  • Wissenswerkstatt | Ist die Wikipedia zitierfähig? » Der Umgang mit wissenschaftlichen Quellen
  • corkscrew – Corkscrew is a tool for tunneling SSH through HTTP proxies.
  • WinMerge – is an Open Source (GPL) visual text file differencing and merging tool for Windows. It is highly useful for determining what has changed between project versions, and then merging changes between versions.
  • Small Basic – is a project that's aimed at bringing "fun" back to programming. By providing a small and easy to learn programming language in a friendly and inviting development environment, Small Basic makes programming a breeze. Ideal for kids and adults alike, Small Basic helps beginners take the first step into the wonderful world of programming.
  • Helvetica and Alternatives to Helvetica
  • SQLite Tutorial – This article explores the power and simplicity of sqlite3, starting with common commands and triggers.
  • JuicePhone – is a Mac application that extracts your iTunes iPhone/iPod touch backups and puts the extracted backup into a chosen folder, which represents the device’s home folder.
  • Google SketchUp – Mit Google SketchUp können Sie 3D-Modelle erstellen, ändern und mit anderen gemeinsam verwenden. Und das Programm ist einfacher zu erlernen, als andere 3D Modellierprogramme
  • Communote – Hosted Twitter-Clone, targeted at professional users… Maybe worth a look…
  • Introducing Prologue – Turning Wordpress into some kind of internal Twitter with comments. Interesting…
  • MacRuby – is a version of Ruby 1.9, ported to run directly on top of Mac OS X core technologies such as the Objective-C common runtime and garbage collector, and the CoreFoundation framework.
  • macam – is a driver for USB webcams on Mac OS X. It allows hundreds of USB webcams to be used by many Mac OS X video-aware applications.
  • How to make a presentation with Latex – Using the Beamer package for presentations
  • seam-carving-gui – A GUI for Content Aware Image Resizing (Retargeting, Seam Carving). Binaries available for OS X and Windows.
  • Kuchen 2.0 oder "5 Minuten Schoko-Kuchen"
  • ISS Now – Utterly amazing live tracking of the ISS in orbit…

QuickLinks vom 12. September bis zum 17. September

Meine delicious.com-Links vom 12. September bis zum 17. September:

  • Dead Man's Switch – Shit happens. Sometimes, it happens to you. If it does happen, you might wish there was something you had told the people around you. How you feel, what you regret, where the money is stashed. For this, you need a dead man's switch.
  • Textverarbeitungen: Dumm und Ineffizient. – Ein Textverarbeitungsprogramm ist ein dummes und äußerst ine?ektives Werkzeug, um Texte für die Kommunikation mit anderen aufzubereiten. Das ist die Behauptung, die ich im Folgenden darlegen werde.
  • iSyncIt – is a small menu bar application that allows you to sync your devices more easily and quickly than just using iSync alone. iSyncIt has the ability to automatically turn your bluetooth on and off, saving you power if you are using a laptop. It also has a built in scheduler to allow you to set up automatic syncing of your devices.
  • History of the browser user-agent string – Essential reading…
  • A re-introduction to JavaScript
  • Snarl – is a notification system for Windows. It displays notifications on-screen for applications which support it. Heavily inspired by growl.
  • SendEmail – is a lightweight, command line SMTP email client. If you have the need to send email from a command line, this free program is perfect: simple to use and feature rich. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable and will likely meet your requirements.
  • Has the Large Hadron Collider destroyed the earth yet? – NO
  • Git Guide – This page will document git usage making use of newer concepts introduced in git 1.5
  • EXIT MUNDI – , a collection of end of world scenarios

Mails versenden mit cron und perl

Manchmal hat man ja so etwas: Man muss eine Mail zu einem bestimmtem Zeitpunkt abschicken, hat zu diesem Zeitpunkt aber besseres vor.

Bei mir war dieses Bedürfnis das Ergebnis der Vergabemodalitäten für die Fallstudien an der FOM:

  • Man kann sich ein Thema von einer Liste aussuchen
  • Um das Thema zugeteilt zu bekommen, muss man sich darum per Mail bewerben
  • Start der Vergabe war der 15. September 2008, 00:00:00 Uhr
  • Wer zuerst kommt, mahlt zuerst
  • Bewerbungen die einen Zeitstempel vom 14. Septemer 2008, 23:59:59 Uhr oder früher tragen werden gelöscht

Jetzt zeigt es sich: Ist man entweder Informatiker und schreibt nen Script, oder BWLer und bleibt eben wach…

Was ich bin dürfte den meisten hier ja klar sein, ausserdem schlafe ich gerne. Also habe ich folgendes getan:

Zuerst mal habe ich eine einfache Textdatei mit dem Bewerbungstext geschrieben und als emailmessage.txt gespeichert.

Zum versenden der Mail benutze ich nicht mein normales Mail-Programm, sondern das PerlScript sendEmail. Das ist sehr einfach in eigene Scripte einzubauen. Einfach runterladen, entpacken und in den $PATH kopieren. Ich habe das Script unter /usr/local/bin/ abgelegt.

SendEmail wird nun aus folgendem Shell-Script heraus aufgerufen:

#!/bin/bash

FROM="me@here.de" TO="steve@apple.com" CC="foo.bar@noplace.com, bill.gates@microsoft.com" SUBJECT="Betreffzeile"

MESSAGE="/path/to/emailmessage.txt"

SMTP="smtpserver.domain.de" U="username" PW="passwort"

/usr/local/bin/sendEmail -f "$FROM" -t "$TO" -cc "$CC" -u "$SUBJECT" -o message-file="$MESSAGE" -s "$SMTP" -xu "$U" -xp "$PW"

Am Anfang des Scripts trägt man einfach seine eigenen Daten ein, das sollte selbsterklärend sein. Die CC-Adressen kann man auch weg lassen wenn man nur einen Empfänger hat.

Als SMTP-Server, User und Passwort nimmt man am besten die gleichen Daten, die man auch in seinem Mail-Programm eigetragen hat.

Wenn man das Script dann soweit fertig hat wird es irgendwo gespeichert und per chmod +x ausführbar gemacht, bei mir kam es auf dem Desktop als mymail.sh unter.

Damit man nun nicht doch so lange wach bleiben muss um das Script auszuführen (und hinterher noch total übermüdet zwei Sekunden zu früh Enter drückt), richtet man einen cronjob ein.

Unter einem beliebigen Unix kommt man mit crontab -e zu seiner persönlichen cron-Tabelle, Mac-User können auch das hervorragende Cronnix benutzen. Dort trägt man für den Zeitpunkt 15. September, 00:00 Uhr folgendes ein:

00 00 15 9 * /Users/dennis/Desktop/mymail.sh

Für den 12. Oktober, 14:46 Uhr sähe das ganze so aus:

46 14 12 10 * /Users/dennis/Desktop/mymail.sh

Das Sternchen steht bei beiden jeweils dafür, dass es egal ist welcher Wochentag gerade ist und den Pfad zu dem Script muss man natürlich anpassen.

Und das wars auch schon, wenn der Zeitpunkt dann gekommen ist ruft cron das eingetragene Script auf, dieses wiederum verschickt die Mail mit der Hilfe von sendEmail und alle sind glücklich.

Am nächsten Tag findet man dann ausgeschlafenerweise so eine Mail in seinem Systempostfach, die den erfolgreichen Versand noch einmal bestätigt:

From dennis@macbook.home.xx Mon Sep 15 00:00:03 2008 X-Original-To: dennis Delivered-To: dennis@macbook.home.xx From: dennis@macbook.home.xx (Cron Daemon) To: dennis@macbook.home.xx Subject: Cron <dennis@macbook> /Users/dennis/Desktop/mymail.sh X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=dennis> X-Cron-Env: <USER=dennis> X-Cron-Env: <HOME=/Users/dennis> Date: Mon, 15 Sep 2008 00:00:03 +0200 (CEST)

Sep 15 00:00:03 macbook sendEmail[4997]: Email was sent successfully!

Damit die Mail nicht in einem Jahr noch mal abgeschickt wird (sofern Maildatei und Script dann noch an Ort und Stelle liegen) sollte man am Schluss nicht vergessen den cronjob auch wieder auszutragen.

Die Scripte sollten auf jedem Unix funktionieren und mit einigen Anpassungen (und installiertem Perl) kriegt man das vielleicht sogar unter Windows hin. Den Versuch überlasse ich aber wirklich gerne jemand anderem…

QuickLinks vom 6. August bis zum 14. August

Meine delicious.com-Links vom 6. August bis zum 14. August:

QuickLinks vom 20. Juni bis zum 7. Juli

Meine del.icio.us-Links vom 20. Juni bis zum 7. Juli:

  • Poolga – iPhone and iPod Touch wallpapers for the rest of us.
  • Organized – a widget featuring a calendar with events, world clocks, notes and to do’s. The calendar and to do’s utilise OS X’s inbuilt databases, so they’re always in sync with iCal and Mail.
  • Today – is a powerful, easy to use event and task management application for Mac OS X Leopard. Shareware, $ 15.
  • Automating Rick Rolls with launchd – Lets face it: Your coworkers can be a real pain in the ass sometimes. What better way to remind them of this than automated Rick rolls?
  • Warehouse – Very nice looking, ruby based webinterface for subversion repositorys. Shareware, 30$…
  • Piston – is a utility that eases vendor branch management. This is similar to svn:externals, except you have a local copy of the files, which you can modify at will. As long as the changes are mergeable, you should have no problems.
  • Subversion Vendor Branches Howto
  • Subversion With Mac OS X Tutorial – explains the basics from installing the software and getting started to working with other people on the same project.
  • puppet – Put simply, Puppet is a system for automating system administration tasks.
  • Bootstrapping an Infrastructure – Paper full of usefuful principles and hints on automated system deployment and maintenance.
  • FAI – Fully Automatic Installation – is an automated installation tool to install or deploy Debian GNU/Linux and other distributions on a bunch of different hosts or a Cluster.
  • cfengine.org – is an automated suite of programs for configuring and maintaining Unix-like computers.
  • Infrastructure Management – Mike Renfros has a nice linklist. Good overall introduction…
  • Rsync exit codes
  • ssh-rekey – Shell scripts to automate the process of regenerating, propagating ssh keys.
  • Aquamacs: Emacs for Mac OS X – Based on GNU Emacs, Aquamacs integrates perfectly with OS X thanks to its specially adapted user interface.
  • Command Line Twitter Client – a very simple perl program that allows for posting to twitter, and reading your friends_timeline from twitter. It can initiate follow messages, and it can send direct messages.
  • 40+ Most Wanted Wordpress Tricks and Hacks
  • Saberproject.de – die erste deutschen Internetseite mit deren Hilfe man die hohe Kunst des Lichtschwertkampfes erlernen kann… WJW
  • LaTeX: Grundlegendes für die Diplomarbeit – Hier sind einige Hilfen versammelt, die das Schreiben einer Diplomarbeit mit LaTeX vereinfachen wollen.
  • Diplomarbeit mit LaTeX – ist ein Dokument welches einen einfachen Einstieg in Latex unter Windows beschreibt.
  • Corripio – Multi Purpose Utility for iTunes…