QuickLinks vom 25. August bis zum 31. August

Meine delicious.com-Links vom 25. August bis zum 31. August:

  • sshuttle – Transparent proxy server that works as a poor man's VPN. Forwards over ssh. Doesn't require admin access.
  • mNote – for Android is a fast notepad for Android allowing for offline local note editing, managment, and searching. In addition, mNote synchronizes with Simplenote
  • Dirpy – is an advanced DVR for your favorite online media. For example, use Dirpy to record your favorite YouTube videos to mp3s!
  • Git for the lazy – This guide is for people who want to jump to any point in time with their project/game/whatever, and want something to use for themselves.
  • DiG HOWTO – How to use dig to query DNS name servers
  • 100 Free High Quality WordPress Themes: 2010 Edition
  • PosteRazor – The PosteRazor cuts a raster image into pieces which can afterwards be printed out and assembled to a poster.
  • Soulver – It's quicker to use than a spreadsheet, and smarter and clearer than a traditional calculator.

QuickLinks vom 21. Juli bis zum 30. Juli

Meine delicious.com-Links vom 21. Juli bis zum 30. Juli:

  • CloudBerry Backup – provides a powerful Backup and Restore programfor Windows, designed to leverage Amazon S3 storage to make your disaster recovery plan simple, reliable, and affordable.
  • TaskMate – Very simple, minimal and free ToDo-List manager…
  • sigil – is a multi-platform WYSIWYG ebook editor. It is designed to edit books in ePub format.
  • Fossil – Simple, high-reliability, distributed software configuration management
  • pymacadmin – A collection of Python utilities for Mac OS X system administration.
  • Notes – is designed to focus on organizing plain text notes that are saved automatically. Just write your note and don't worry about saving them.
  • Shotwell – Open source photo manager for GNOME which looks a lot like iPhoto…
  • Ubuntu Enterprise Cloud im Test – Windows Pro blickt über den Tellerrand und testet die Ubuntu Cloud Lösung auf Basis von Eucalyptus.
  • The version controlled home directory – managing dotfiles using Git, MR and a few handy scripts…
  • Versioning dotfiles in git

QuickLinks vom 12. Juli bis zum 20. Juli

Meine delicious.com-Links vom 12. Juli bis zum 20. Juli:

QuickLinks vom 1. Juni bis zum 29. Juni

Meine delicious.com-Links vom 1. Juni bis zum 29. Juni:

  • The Upside of Downtime (Velocity 2010) – Great presentation about why Downtime sucks and how to appreciate this fact.
  • One Thing Well – My Linux Setup – Pretty awesome minimal linux setup including some great software hints…
  • sneakernet – is designed as a 99% offline campus filesharing network to distribute gigabyte-sized files to a network of upwards of several thousand users who all live within a square mile or so.
  • Gitbox – is a Mac OS X graphical interface for Git version control system. In a single window you see branches, history and working directory status.
  • Splunk – indexes data from any application, server or network device. It crawls logs, metrics, and other data from applications, servers and network devices and indexes it in a searchable repository from which it can generate graphs, reports and alerts.
  • Git Reference – This is meant to be a quick reference for learning and remembering the most important and commonly used Git commands. The commands are organized into sections of the type of operation you may be trying to do, and will preset the common options and commands needed to accomplish these common tasks.
  • Q10 – is a simple but powerful text editor designed and built with writers in mind. Windows only.
  • mcollective – is a framework to build server orchestration or parallel job execution systems.
  • damnvid – is a cross-platform application to download and convert videos from your hard drive or from dozens of video sharing websites like YouTube, Dailymotion, Veoh, Metacafe, etc. Basically, it's a video downloader and converter that sucks less.
  • Objective-C Tutorial – Ein Tutorial zu Objective-C, XCode und Cocoa

QuickLinks vom 12. Mai bis zum 1. Juni

Meine delicious.com-Links vom 12. Mai bis zum 1. Juni:

  • Localghost – makes it easy to switch development host names to resolve to localhost with a status item (i.e. system tray) that adds / removes entries from /etc/hosts.
  • FitNesse – The fully integrated standalone wiki, and acceptance testing framework.
  • cdf – colorized df with friendly capacity bars. Written in pure C without any external dependencies
  • Droopy – is a mini Web server whose sole purpose is to let others upload files to your computer.
  • Tagr – is an application for Mac OS X that helps you organize your MP3 / M4A (MP4) collection.
  • easymac.sh – is a shellscript which generates global, VMware or Xen MAC-addresses
  • MTR – combines the functionality of the 'traceroute' and 'ping' programs in a single network diagnostic tool.
  • calibre – is a free and open source e-book library management application
  • How To Make German Pancakes, Dutch Baby Pancakes – Bring this spectacular breakfast or brunch dish to the table as soon as it comes out of the oven for a lot of oohs and aahs! <br /> A German Pancake is a cross between a soufflé and an omelet – it is a light, airy pancake with sides.
  • Immer im Dienst – Artikel über eine Nagios-Erweiterung zur Überwachung von SLA-Bedingungen. Recht alt und rudimentär…

QuickLinks vom 7. April bis zum 21. April

Meine delicious.com-Links vom 7. April bis zum 21. April:

  • tmux – is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
  • Newsbeuter – is an open-source RSS/Atom feed reader for text terminals. It runs on Linux, FreeBSD, Mac OS X and other Unix-like operating systems. Newsbeuter's great configurability and vast number of features make it a perfect choice for people that need a slick and fast feed reader that can be completely controlled via keyboard.
  • Homebrew – is the easiest and most flexible way to install the UNIX tools Apple didn't include with OS X.
  • Fairmount – is a free tool which allows on-the-fly decryption of DVD content for convenient access. Fairmount does not perform the actual decryption, it simply forwards the data to VLC Media Player, which is used for the decryption.
  • skreenics – is a Mac OS X application that is designed to easily create thumbnails from your videos. You simply drag 'n drop files and folders onto the main screen, and Skreenics will generate the thumbnails the way you asked it!
  • libimobiledevice – is a software library that talks the protocols to support iPhone, iPod Touch and iPad devices on Linux. Unlike other projects, it does not depend on using any existing proprietary libraries and does not require jailbreaking.
  • Flying the SR-71 Blackbird
  • Fake Name Generator – Generiert Namen und Adressen aus verschiedenen Teilen der Erde. Sehr praktisch, falls mal eine gültige Postleitzahl oder sonst etwas gebraucht wird…
  • pwnat – pronounced "poe-nat", is a tool that allows any number of clients behind NATs to communicate with a server behind a separate NAT with *no* port forwarding and *no* DMZ setup on any routers in order to directly communicate with each other.
  • Ebbinghaus – Digital index cards shareware with LaTeX support for $20. Seems to be quite nice to learn vocabulary, formulas and other things…

Advanced Bash History

Unix-Shells verfügen, ganz ähnlich wie Browser, über eine History genannte Aufzeichnung der zuletzt eingegebenen Befehle. Mit der Pfeiltaste nach oben können die letzten Befehle durchgescrollt werden. Die komplette Aufzeichnung lässt sich über die Eingabe von history anzeigen und listet die neuesten Befehle am Schluss der Liste auf.

History Basics

Jedem Befehl ist eine Nummer vorangestellt über die sich der jeweilige Befehl durch ein vorangestelltes ! erneut ausführen lässt. So führt etwa die Eingabe von !22 den Befehl mit der Nummer 22 erneut aus. Mit !! wird stets der letzte Befehl noch einmal ausgeführt. Diese Eingaben können auch ergänzt werden. Wurde etwa ein sudo vergessen, lässt sich das schnell mit sudo !! für den letzten Befehl ergänzen. Die history man-page listet eine Unzahl an weiteren Optionen auf, die für den effizienten Einsatz der Shell verwendet werden können. In meiner täglichen Arbeit nutze ich beispielsweise häufig den !$ Operator.

Dieser bezieht sich stets auf das letzte “Wort” eines Befehls. Hatte man etwa eine Datei per cat /etc/somefile.conf angezeigt, ist sie direkt danach per vim !$ editierbar. In der man-page finden sich, wie gesagt, noch viele weitere Möglichkeiten mit der History umzugehen. Es ist aber vor allem wichtig, dass die Shortcuts auch ihren Weg ins Muskel-Gedächtnis finden. Denn nur wenn die verschiedenen Operatoren benutzt werden können ohne groß nachzudenken machen sie auch Sinn.

Mehr History durch .bashrc

Durch Einträge in die ~/.bashrc1 kann man die Fähigkeiten der History erweitern und verbessern.

So ist es normalerweise üblich, dass die History nur nach einem sauberen exit der aktuellen Shell geschrieben wird. Stürzt die Shell ab oder hat man mehrere gleichzeitig geöffnete Fenster mit Shells2 ist die History verloren, oder kommt durcheinander oder steht nicht in allen Fenstern zur Verfügung. Diesem unhaltbaren Zustand ist glücklicherweise sehr einfach abzuhelfen. Durch das Hinzufügen von einer Zeile in der .bashrc wird die History direkt nach jedem Kommando geschrieben und steht in anderen Fenstern zur Verfügung:

PROMPT_COMMAND="history -a"

Mein absoluter Lieblingsschnipsel für die History-Erweiterung per .bashrc ist dieser:

h() { if [ -z "$1" ]; then history; else history | grep "$@"; fi; }

Hier wird eine Funktion namens h definiert. Diese führt den oben erwähnten Befehl history aus, wenn kein weiterer Parameter angegeben wird. Folgt nach dem h ein beliebiger String wird nach diesem in der Histroy gegrept. So wird etwa ein h cd alle verwendeten cd-Kommandos anzeigen.

Eine sehr praktische Sache.

Soll die Ausgabe der History ausserdem erweitert werden, so ist dieser Schnipsel zu verwenden:

export HISTTIMEFORMAT='%Y.%m.%d-%T :: ' HISTFILESIZE=50000 HISTSIZE=50000

Damit wird die Ausgabe der History um Datum und Uhrzeit der Befehle erweitert und ausserdem auf 50.000 Einträge erweitert.

Die vorgestellten Schnipsel können natürlich angepasst oder erweitert werden. Die Größe der History lässt sich auch ohne die Datumsangabe verwenden und es ist natürlich auch möglich nur das Datum oder nur die Uhrzeit zu verwenden…

Update, 09.04.2010

Ein weiterer Schnipsel aus einem Kommentar von Asmus:

bind '"\e[A"':history-search-backward 
bind '"\e[B"':history-search-forward

Hierdurch ist es möglich einen Befehl, etwa cd, zu tippen und dann mit den Pfeiltasten nur durch solche Befehle zu navigieren, die mit cd beginnen. Total super!

Ich habe hier nur die Anführungszeichen korrigiert, diese wurden in Asmus Kommentar typografisch korrekt, aber .bashrc untauglich angezeigt.

  1. Eine versteckte Datei im Homeverzeichnis, Grundlegendes zu dieser Datei hier… []
  2. Das ist hier quasi ständig der Fall… []

QuickLinks vom 4. März bis zum 23. März

Meine delicious.com-Links vom 4. März bis zum 23. März:

  • collectd – is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files.
  • CSVed – is an easy and powerful CSV file editor, you can manipulate any CSV file, separated with any separator.
  • Simple Desktops – is a collection of desktop wallpapers curated by Tom Watson designed to make your computer beautiful without distraction.
  • Continuous Integration – is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily – leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allows a team to develop cohesive software more rapidly. This article is a quick overview of Continuous Integration summarizing the technique and its current usage.
  • Ultimate solution to weird UTF character encoding problem – Due to different formats of storing characters in the database, sometimes you may encounter problem with strange characters (like —) appearing in your WordPress posts. This can especially happen when moving the site to a different server, a process during which your database needs to be exported and imported.
  • Why Your Employees Are Losing Motivation – Business literature is packed with advice about worker motivation—but sometimes managers are the problem, not the inspiration. Here are seven practices to fire up the troops. From Harvard Management Update.
  • smitten kitchen Recipe Index – Fearless cooking from a tiny kitchen in New York City with delicious photos…
  • Uniform – masks your standard form controls with custom themed controls. It works in sync with your real form elements to ensure accessibility and compatibility.
  • vi Complete Key Binding List – This is not intended as a tutorial. It is a reference on what every vi key binding does, followed by some useful vi tricks and tips. An expert will probably know most of these already, but an intermediate vi user will find valuable information, and even an expert may learn a thing or two.
  • Ephemera – will comfortably synchronize your ebook reader with Instapaper.com via USB. It works with the Amazon Kindle, Sony readers and pretty much any device capable of reading HTML, Mobipocket or EPUB files.

QuickLinks vom 25. Februar bis zum 4. März

Meine delicious.com-Links vom 25. Februar bis zum 4. März:

  • kSar – kSar Version 5 is a java application that graph your sar data. It can graph sar text output from Solaris,Linux,AIX,HPUX,Mac OS/X. It also permit to export data to PDF/JPG/PNG/CSV. You can load dat from three method : local file, local command excetion, and remote command execution via SSH
  • MySQL Workbench – is a cross-platform, visual database design tool developed by MySQL. It is the highly anticipated successor application of the DBDesigner4 project. MySQL Workbench will be available as a native GUI tool on Window, Linux and OS X.
  • QuickCursor – For Mac users to use their favorite text editor everywhere. QuickCursor allows you to edit text from any application in your favorite text editor.
  • The Ten Minute Guide to diff and patch
  • MyLogon – is a Network-oriented logon applet for Windows

Mac OS X Clipboard Goodies

Die gute alte Zwischenablage ist so gut wie jedem Computernutzer bekannt. Bücher wurden über ihre Auswirkungen geschrieben und Geräte ohne diese Funktion werden von ihren Usern als unvollständig angesehen.

Für Heavy User stellt sich dann aber immer wieder das Problem ein, dass nur ein einziges Objekt in der Zwischenablage nicht immer ausreicht. So springt1 man, begleitet von den Tasten Ctrl bzw. Command und ihren guten Freunden X, C und V, des öfteren zwischen Applikationen hin und her um verschiedenste Blöcke sinvoll zu cutcopypasten bis das gewünschte Ergebnis erreicht ist.

Unter OS X gibt es ein paar schöne Stücke Software die einem das Leben mit dem Clipboard sehr erleichtern:

JumpCut

JumpCut

Jumpcut loggt alles mit was man in die Zwischenablage legt und gewährt über einen konfigurierbaren Shortcut2 Zugriff auf diese Historie. In einem hübschen Bezel-Interface kann man dann per Tastatur durch die Geschichte der Zwischenablage navigieren und per Enter das gewünschte einfügen. Ansonsten hält sich JumpCut dezent im Hintergrund und belegt nur einen kleinen Platz in der Menüleiste.

pbcopy / pbpaste

Vor allem Konsolenjockeys werden das Duo pbcoby und pbpaste als hilfreich empfinden.

Über diese beiden Programme ist es möglich, mit der Zwischenablage über simple Pipes zu kommunizieren.

~ > echo "Hello World!" | pbcopy ~ > pbpaste Hello World!

pbcopy liest dabei von STDIN und pbpaste schreibt nach STDOUT. So ist es auch möglich, Befehle auf entfernten Hosts auszuführen und die Ausgabe in die lokale Zwischenablage zu bekommen.

~ > ssh cube "hostname && uptime" | pbcopy ~ > pbpaste cube.home.xx 19:00 up 26 days, 4:40, 1 user, load averages: 0.39 0.32 0.41

Shadow

ShadowGUI

Shadow ist gerade in Public Beta3 und funktioniert nach dem gleichen Prinzip wie JumpCut. Shadow kann auch mehrere Clipboards verwalten und diese ausserdem über einen Bonjour-Service im lokalen Netzwerk zur Verfügung stellen. So kann man ein Clipboard von mehreren Macs aus nutzen. Das ist besonders für Teams nützlich, aber auch sicherlich für einzelne Anwender von mehreren Macs4.

Das Interface ist auch sehr schick, aber um direkt den Inhalt aus einem Clipboard zu pasten muss man Shift-Enter drücken. Ein einfaches Enter verschiebt das ausgewählte Objekt nur wieder an die erste Stelle des System-Clipboards…

Neben diesen drei Programmen gibt es noch einige weitere Helferlein rund um die Mac OS X Zwischenablage und ich bin mir sicher dass es ähnliches auch für Linux und Windows gibt.

Ich verwende derzeit Shadow, sehne mich aber nach der Einfachheit des JumpCut-Bezels. Für die bei mir eher seltene Notwendigkeit ein Stück aus der Zwischenablage an einen anderen Rechner zu schicken, reicht eigentlich auch der Weg über die Shell aus. Das hat ausserdem den Vorteil, dass auch Linux-Hosts an die Inhalte gelangen können.

  1. Zuweilen wird diese Tätigkeit auch Praktikanntendreisprung genannt… []
  2. Hier Alt-Command-V []
  3. Was auch immer das dieser Tage bedeuten mag… []
  4. Man denke nur an Teleport… []