>

instant-thinking.de

just enough to get you started and leave you confused

QuickLinks vom 16. Januar bis zum 11. Februar

| Kommentare

Meine pinboard.in-Links vom 16. Januar bis zum 11. Februar:

  • Latte - is a Mac OS X application that uses such Web engines as CodeCogs and Google Chart to typeset formulas written in LaTeX.
  • netspot - is a new wireless survey software for Mac OS X
  • Partychat - Create chat rooms with your friends or co-workers using Google Talk or XMPP.
  • ScrollZ - is an advanced IRC client based on ircII. It incorporates many useful features found in all sorts of scripts.
  • Ruby on Rails Tutorial - Learn Rails by Example
  • webfs - This is a simple http server for mostly static content. You can use it to serve the content of a ftp server via http for example. It is also nice to export some files the quick way by starting a http server in a few seconds, without editing some config file first.
  • autokey - is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using.
  • csvkit - is a suite of utilities for converting to and working with CSV, the king of tabular file formats.
  • Chipmunk - Find all duplicate files on your Mac
  • EditMoin - allows you to edit Moin pages with your preferred editor. It means you can easily edit your pages, without the usual limitations of most web browsers' text areas.

1

| Kommentare

17:02 Uhr.

Am 26. Januar 2011 um diese Zeit war Linus dann einfach auf einmal da. Und mitten in unserem Leben. Wir ahnten damals ja schon, dass Dinge sich ändern würden. Doch wie sehr und auf welche Art, sollten wir erst nach und nach erfahren.

Heute, genau ein Jahr und 6 Kilo später, ist ein Dasein ohne Linus schlicht nicht mehr vorstellbar. Es ist tatsächlich, als wäre es schon immer so gewesen, wie es heute ist.

Linus im Karton

Wir drei haben gemeinsam eine Unzahl an Dingen entdeckt und gelernt. Für Kathi und mich ist immer noch unfassbar, wie schnell manche Dinge im Rückblick geschahen, und wie weit der zurückgelegte Weg nun doch schon ist. Linus ist, von solchen Überlegungen völlig unbeeindruckt, weiterhin dabei, sich prächtig zu entwickeln. Er macht zwar noch immer keine ernsthaften Anstalten das Krabbeln zu beginnen, aber dafür rollt, zieht und robbt er sich mit erstaunlicher Präzision und Ausdauer durch die Welt. Rhythmisches Stehen funktioniert aber auch schon sehr gut und im Vierfüßler-Stand wurde Linus ebenfalls schon gesehen.

Auch die ersten Sprechversuche laufen. Im Prinzip nur jede Menge Vokale mit wenigen Konsonanten, aber Jungejunge, ist man als Papa hingerissen wenn der Sohn vor sich hin blubbert.

Heute ist Linus erster Geburtstag und die zurückliegenden 12 Monate haben mein Leben völlig verändert. Ich wage kaum zu ahnen, was die nächsten Monate und Jahre bringen werden.

Happy Birthday Sohn! Schön, dass du da bist.

QuickLinks vom 28. Dezember bis zum 15. Januar

| Kommentare

Meine pinboard.in-Links vom 28. Dezember bis zum 15. Januar:

  • Bip - is an IRC proxy, which means it keeps connected to your preferred IRC servers, can store the logs for you, and even send them back to your IRC client(s) upon connection.
  • KNC - is Kerberised NetCat. It works in basically the same way as either netcat or stunnel except that it is Kerberised. You can use it to construct client/server applications while keeping the Kerberos libraries out of your programs address space quickly and easily.
  • glark - A replacement for (or supplement to) the grep family, glark offers: Perl compatible regular expressions, highlighting of matches, context around matches, complex expressions, and automatic exclusion of non-text files.
  • runiq - functions in a manner quite similar to GNU uniq, but runiq allows you to specify keys based on regular expressions in stead of field or the first N characters.
  • TrID - is an utility designed to identify file types from their binary signatures. While there are similar utilities with hard coded logic, TrID has no fixed rules. Instead, it's extensible and can be trained to recognize new formats in a fast and automatic way.
  • DropIt - A tiny, flexible, hard-working tool to automate sorting and filing data-files and folders.
  • droopy - is a mini Web server whose sole purpose is to let others upload files to your computer.
  • Markdown QuickTags - is a plugin for WordPress which replaces the HTML editor with a Markdown-enabled set of buttons and features.
  • DIY Star Wars Snowflakes - Paper-snowflakes going Star Wars
  • Melo - Very cool looking last.fm client for Mac OS X

Subdomains auf dem Laptop ohne Schmerzen

| Kommentare

Auf meinem MacBook habe ich den Apache Webserver laufen1. Das an und für sich ist ja auch gar nichts schlimmes. Ich neige jedoch dazu, häufiger mal Dinge lokal auszuprobieren. Die Dinge die ich ausprobiere, sind dann immer hübsch ordentlich unter ~/Sites/webapp_a oder ~/Sites/wordpress_test_b, aber auf jeden Fall unterhalb des Site-Ordners in meinem Home-Verzeichnis.

Diese Ordner sind dann über etwas krude URLs wie http://localhost/~dennis/webapp_a/ mit dem Browser zu erreichen. Das ist erstens doof zu tippen und zweitens auch ein Problem, wenn man Dinge testen möchte, die darauf beruhen, eben nicht in einem Unterordner einer Site zu wohnen.

Das führte dazu, dass viel an /etc/hosts und dem DocumentRoot-Parameter der apache.conf rumgebaut wurde. Das macht mit zunehmender Ordner-Anzahl immer weniger Spaß.

Glücklicherweise gibt es aber Leute wie Sean Behan und Tim Pope die je eine Domain im DNS auf 127.0.0.1 auflösen lassen.

Das wiederum führt dazu, dass man seinen eigenen Computer unter http://smackaho.st/ und http://hexxie.com/ erreichen kann. Und da die beiden auch noch die Auflösung für *.hexxie.com und *.smackaho.st auf localhost zeigen lassen, kann man mit einer kleinen Anpassung der Apache-Config beliebige Subdomains auf dem eigenen Computer in beliebigen Verzeichnissen unter ~/Sites/ laufen lassen.

Einfach das hier in die Config einbauen2, den Apache neustarten und schon ist das Leben ein wenig leichter geworden:

Apache Schnipsel
1
2
3
4
5
<VirtualHost *:80>
    VirtualDocumentRoot /Users/dennis/Sites/%1
    ServerName automated_domains
    ServerAlias *.hexxie.com
</VirtualHost>

Nun sind die obigen Beispiele unter http://webapp_a.hexxie.com und http://wordpress_test_b.hexxie.com zu erreichen. Einfach, elegant und äusserst praktisch.

(via: Kristóf Kovács)

  1. Der ist bei jedem Mac dabei, einfach das Web-Sharing einschalten. Total gut.

  2. Den Pfad natürlich anpassen…

QuickLinks vom 9. Dezember bis zum 24. Dezember

| Kommentare

Meine pinboard.in-Links vom 9. Dezember bis zum 24. Dezember:

  • Blat - is a Win32 command line utility that sends eMail using SMTP or post to usenet using NNTP.
  • TouchCursor - lets you use the home keys as cursor keys – in all Windows programs – keeping your fingers in the best position for fast typing.
  • guard - is a command line tool to easily handle events on file system modifications (FSEvent / Inotify / Polling support).
  • OnDir - is a program that automatically executes scripts as you traverse directories at a terminal.
  • PDFMiner - is a tool for extracting information from PDF documents. Unlike other PDF-related tools, it focuses entirely on getting and analyzing text data. PDFMiner allows one to obtain the exact location of text in a page, as well as other information such as fonts or lines. It includes a PDF converter that can transform PDF files into other text formats (such as HTML). It has an extensible PDF parser that can be used for other purposes than text analysis.
  • Trimage - is a cross-platform GUI and command-line interface to optimize image files, depending on the filetype (currently, PNG and JPG files are supported). It was inspired by imageoptim.
  • ImageOptim - optimizes images - so they take up less disk space and load faster - by finding best compression parameters and by removing unnecessary comments and color profiles. It handles PNG, JPEG and GIF animations.
  • Vim Tips - Very nice collection of vim tips
  • eSleeper - is a 21st century cat basket, an ideal resting location for any cat.
  • Attribute Changer - is a power user tool to change all kind of file and folder attributes, date, time and even NTFS compression.

Frohe Weihnachten

| Kommentare

Euch allen da draussen nur die besten Wünsche zum Fest. Habt tolle Feiertage mit euren lieben Lieblingsmenschen, seid nicht traurig, dass die weißen Weihnachten dieses Jahr eher regnerisch ausfallen und nehmt stattdessen einfach ein Schaumbad.

Falls die Stimmung dann noch nicht weihnachtlich sein sollte, einfach mal hier drauf schauen.

Lasst es euch gut gehen, nehmt den Gang raus, nächstes Jahr geht es dann wieder weiter…

And onwards.

(Video via: Merlix)

Sysadvent

| Kommentare

Es ist mal wieder Sysadvent.

It’s a sysadmin relative of the Perl Advent Calendar: One article for each day of December, ending on the 25th article. With the goals of of sharing, openness, and mentoring, we aim to provide great articles about systems administration topics written by fellow sysadmins.

Ein Feed, der das ganze Jahr über ruht, nur um dann ab dem ersten Dezember einen Hammer-Post nach dem nächsten raus zu hauen. Auch die Archive aus den mittlerweile drei vergangenen Jahren sind immer noch ausgesprochen lesenswert.

Für alle Sysadmins und sonstige Geeks ist das ein mehr als empfehlenswerter Adventskalender.

QuickLinks vom 19. November bis zum 8. Dezember

| Kommentare

Meine pinboard.in-Links vom 19. November bis zum 8. Dezember:

  • Anki - is a program which makes remembering things easy. Because it is a lot more efficient than traditional study methods, you can either greatly decrease your time spent studying, or greatly increase the amount you learn.
  • Ledger - is a powerful, double-entry accounting system that is accessed from the UNIX command-line. This may put off some users, as there is no flashy UI, but for those who want unparalleled reporting access to their data, there really is no alternative.
  • Glances - is a CLI curses based monitoring tool for both GNU/Linux and BSD.
  • Gow - (Gnu On Windows) is the lightweight alternative to Cygwin. It uses a convenient "Windows installer" that installs about 130 extremely useful open source UNIX applications compiled as native win32 binaries.
  • Breevy - is a TextExpander clone for Windows. Snippets are syncable between Mac and Windows via Dropbox.
  • Vifm - is a ncurses based file manager with vi like keybindings. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands.
  • blockdiag - and its family generate diagram images from simply text file
  • Archipel - is a solution to manage and supervise virtual machines. You can use all libvirt-supported virtualization engines like KVM, Xen, OpenVZ or VMWare. You can perform all basic virtualization commands and many other things like live migration, VMCasts, packages, etc.
  • stressdrive - is a Mac OS X command-line tool meant to verify correct operation of a drive. It does so by filling a drive up with random data and ensuring all the data can be correctly read back.
  • ThinkUp - is a free, open source web application that captures all your activity on social networks like Twitter, Facebook and Google+.

MacVim und TextExpander

| Kommentare

Ich finde den TextExpander auf meinem Mac unersetzlich. Er verwandelt Schnipsel von Buchstaben, die aus meinem MuscleMemory in die Tastatur fliegen, in ausformulierte Sätze, das aktuelle Datum oder auch in die korrekte Markdown-Link-Syntax inklusive Setzen des Cursors an die richtige Stelle.

Wenn du auf deinem Mac tippst und dieses Programm noch nicht dein Eigen nennst: Dies sei meine Empfehlung.

Mein Problem war nun aber, dass die Snippets aus dem TextExpander nicht korrekt in MacVim ankamen. Vielmehr sah man dort lustigen Sonderzeichensalat vor sich. MacVim, so konnte ich lernen, implementiert einen eigenen Cocoa TextView und kommt deshalb nicht mit der modernen Methode von TextExpander klar, die die Ersetzungen ohne den Umweg über die Zwischenablage bewerkstelligt.

Da ich nun keine große Lust hatte, dieses Feature wieder für alle Programme auf die alte Zwischenablage-Methode zurück zu schrauben, habe ich diese nur für MacVim aktiviert.

Dazu muss lediglich TextExpander geschlossen und ein neuer Key forcePasteBundleIDs mit dem String org.vim.MacVim in die Einstellungsdatei ~/Library/Application Support/TextExpander/Settings.textexpander geschrieben werden.

Am leichtesten geht das mit dem Property List Editor:

Abspeichern, TextExpander starten und glücklich sein.

Und ja, :abbreviate kenne ich auch, aber der TextExpander ist systemweit verfügbar und ich habe auch keine so große Lust, alle Snippets doppelt zu pflegen…

(via: Rafael Bugajewski)