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 30. Juni bis zum 9. Juli

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

  • Your PasswordCard – is a credit card-sized card you keep in your wallet, which lets you pick very secure passwords for all your websites, without having to remember them! You just keep them with you, and even if your wallet does get stolen, the thief will still not know your actual passwords.
  • sslh – ssl/ssh multiplexer – lets one accept both HTTPS and SSH connections on the same port. It makes it possible to connect to an SSH server on port 443 (e.g. from inside a corporate firewall) while still serving HTTPS on that port.
  • An introduction to git-svn for Subversion/SVK users and deserters – This article is aimed at people who want to contribute to projects which are using Subversion as their code-wiki
  • Meerkat – An easy-to-use SSH tunnel manager built specifically for the Mac. Shareware, $19,95…
  • Add to Google Reader Safari Extension – captures a click on the RSS button and redirects the feed preview page in Google Reader where the user can subscribe immediately.
  • Test: Windows 7 Backup – was es kann und was nicht – So was kann man offenbar nicht auf gewöhnliche Enduser los lassen…
  • Little 'ruby' photo organizer – Place this script in a folder full of pictures, run it, and it will organize the pictures into folders by the day they were taken.
  • Tarsnap – is a secure online backup service for BSD, Linux, OS X, Solaris, Cygwin, and can probably be compiled on many other UNIX-like operating systems. The Tarsnap client code provides a flexible and powerful command-line interface which can be used directly or via shell scripts.
  • Git Extensions – is a toolkit to make working with Git under Windows more intuitive. The shell extension will intergrate in Windows Explorer and presents a nice context menu on files.
  • Fraise – is a free text editor for Mac OS X Leopard 10.6 which is both easy to use and powerful. It is designed to neither confuse newcomers nor disappoint advanced users. It should work perfectly for a whole variety of needs – like web programming, script editing, making a to do list and so on..

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 26. April bis zum 12. Mai

Meine delicious.com-Links vom 26. April bis zum 12. Mai:

  • latex-lab – is an open source implementation of a web based LaTeX editor for Google Docs.
  • adsf – A Dead Simple Fileserver is a tiny web server that you can launch instantly in any directory.
  • NConf – NConf is a PHP based web-tool for configuring the Nagios monitoring software. It differs from similar tools by offering enterprise-class features like templates, dependencies and the ability to configure a large-scale, distributed Nagios server topology.
  • 3-2-1 – is a countdown timer for Dashboard (OS X). It displays hours, minutes, and seconds, includes a lap function and is resizable
  • 60 Minimal Apple Desktop Wallpapers
  • Driver Easy – Auto-Detect & Download your Hardware Drivers, Quickly & Easily.
  • Analyzing I/O performance in Linux
  • ifconfig.me – Get your current external IP via curl ifconfig.me
  • The Ultimate WordPress Security Guide
  • Gas Mask – is simple hosts file manager for Mac OS X Leopard. It enables to edit hosts files and switch between them.

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 23. März bis zum 6. April

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

  • bup – Highly efficient file backup system based on the git packfile format. Capable of doing incremental backups of virtual machine images.
  • diskring – is a Mac OS X utility that displays the disk usage through a handy ring chart effect
  • Hg Init – a Mercurial tutorial by Joel Spolsky including Subversion Re-education
  • PeaZip – Open source file and archive manager for Windows and Linux. Flexibe, portable, secure, and free as in freedom
  • Getting started with retirement on a sailboat – Maybe some day…
  • Snippets – Code Snippet Manager for Mac OS X, $39,95
  • Common MySQL Queries – *Lots* of useful MySQL Queries…
  • reMail – downloads all your email to your iPhone and searches it instantly.