QuickLinks vom 30. August bis zum 16. September

Meine pinboard.in-Links vom 30. August bis zum 16. September:

  • solo – is a very simple script (10 lines) that prevents a program from running more than one copy at a time. It is useful with cron to make sure that a job doesn't run before a previous one has finished
  • teamocil – is a tool used to automatically create sessions, windows and splits in tmux with Ruby and YAML. Like tmuxinator, but with splits, not just windows.
  • BoxCryptor – is a cryptographic virtual harddisk that encrypts all data on-the-fly using the AES-256 standard. Encrypted data is stored in an arbitrary directory of your choice, e.g. one that is synced to the cloud like your Dropbox folder.
  • ColorPicker Pro – is an easy to use color detection tool for developers and designers.
  • auto_torrent – Give it a list of stuff to look out for, set your bittorrent client’s ‘watch’ directory to match auto_torrent’s download directory, infringe copyright without lifting a finger.
  • Supervisor – is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
  • Jump – type j in a terminal, and enter your query at the prompt: results will be updated live as you type. Switch between suggestions with up and down arrow, select with enter and boom you’re in the right directory. Basically, all the fancy web 2.0 autosuggest mojo right in your terminal.
  • Vigor – the popular Unix editor vi with the addition of the Vigor Assistant, has arrived.
  • Conque – is a Vim plugin which allows you to run interactive programs, such as bash on linux or powershell.exe on Windows, inside a Vim buffer. In other words it is a terminal emulator which uses a Vim buffer to display the program output.

QuickLinks vom 9. Juli bis zum 15. Juli

Meine pinboard.in-Links vom 9. Juli bis zum 15. Juli:

  • Marked – opens MultiMarkdown, Markdown, Text or HTML files and previews them as HTML documents. It watches the file for changes, updating the preview any time the file is saved.
  • Stupid htaccess Tricks – this article covers just about every htaccess trick in the book.
  • URL Rewriting for Beginners – A beginner's guide to URL rewriting, with plenty of examples.
  • IP Scanner – scans your local area network to determine the identity of all machines and internet devices on the LAN.
  • vitunes – lets you control and navigate iTunes from the comfort of Vim.
  • DotShare.it – is the attempted solution to all of the sporadic "Post your X configs!" threads on various distro's forums.
  • Cool, but obscure unix tools – Just a list of 20 (now 28) tools for the command line. Some are little-known, some are just too useful to miss, some are pure obscure
  • Surfraw – provides a fast unix command line interface to a variety of popular WWW search engines and other artifacts of power.
  • Observium – is an autodiscovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Foundry, HP and many more.
  • HTML-Ipsum – A handy collection of dummy HTML markup, pre-greeked for your convenience.

QuickLinks vom 25. Mai bis zum 6. Juni

Meine pinboard.in-Links vom 25. Mai bis zum 6. Juni:

  • Squeaky – is a web proxy, in the spirit of a2 or PHProxy
  • Archive – This free plugin extends Apple Mail with the archive feature that you know and love from MobileMe and Gmail.
  • lesspipe – is an input filter for the pager less as described in its man page. The script runs under a ksh compliant shell (ksh, bash, zsh) and allows to view files with binary content, compressed files, archives and files contained in archives.
  • YOURLS – is a small set of PHP scripts that will allow you to run your own URL shortening service (a la TinyURL). You can make it private or public, you can pick custom keyword URLs, it comes with its own API. You will love it.
  • MFCMAPI – uses Microsoft's published APIs to provide access to MAPI stores through a graphical user interface. Its purpose is to facilitate investigation of Exchange and Outlook issues and to provide developers with a canonical sample for MAPI development.
  • Markdoc – is a lightweight Markdown-based wiki system. It's been designed to allow you to create and manage wikis as quickly and easily as possible.
  • SL – (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command, and not usefull at all.
  • mairix – is a program for indexing and searching email messages stored in maildir, MH or mbox folders.
  • Guake – is a top-down terminal for Gnome (in the style of Yakuake for KDE, Tilda or the terminal used in Quake).
  • Infinite Scroll – Automatically append the next page of posts (via AJAX) to your page when a user scrolls to the bottom.

QuickLinks vom 8. April bis zum 30. April

Meine pinboard.in-Links vom 8. April bis zum 30. April:

  • flickrtouchr – A Python script to grab all your photos from Flickr and dump them into a directory, organized into folders by set name.
  • Scrup – Take a screenshot in OS X and have a URL to the picture in your pasteboard a second later.
  • SuprSetr – Advanced, cross-platform set management for your Flickr photosets.
  • MediathekView – durchsucht die Online-Mediatheken verschiedener Sender lädt Beiträge mit einem Programm eigener Wahl und kann Themen als Abos anlegen und neue Beiträge automatisch herunterladen
  • LSCOLORS Generator – Color generator for ls with preview
  • DVCS-Autosync – A personal Dropbox replacement based on Git
  • PasTmon – is a passive network traffic analyser that can measure user transaction response times of web, ftp, dns, irc, pop, mail, postgresql, and mysql database servers. You can even define your own signature rules to monitor custom TCP based applications.
  • Enso Launcher – is designed to give you instant access to your applications and windows. With a few easily remembered keystrokes, you can launch an application, switch to a window by name, and control the state of your windows.
  • Cntlm – is an NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy intended to help you break free from the chains of Microsoft proprietary world.

Mac OS X Dock anpassen

Ich habe da ja vor kurzem mein MacBook Pro von Hand eingerichtet1.

Da fiel mir auf, dass mein Dock erst nach folgenden Anpassungen richtig, nämlich so ausschaut:

Zuerst raus aus der dritten Dimension und zurück zu 2D und Rauchglas. Dazu im Terminal:

defaults write com.apple.dock no-glass -boolean YES

Und das Dock dann per killall Dock neu starten.

Damit die Listenansicht der Ordner im Dock so aussieht:

Genügt eine weitere Zeile im Terminal2:

defaults write com.apple.dock use-new-list-stack -bool YES && killall Dock

Und für ein wenig Ordnung sorgen transparente Abstandshalter, die man per:

defaults write com.apple.dock persistent-apps -array-add '{ "tile-type" = "spacer-tile"; }'

erzeugt. Diese Zeile wiederholt man so häufig, wie man Trenner benötigt und startet das Dock dann wieder neu.

Ich mag so schicke Sachen…

(via: quarkstar, tice, minimalmac)

  1. Da folgt noch ein etwas umfangreicherer Post die Ersteinrichtung betreffend… []
  2. In der der Dock Neustart jetzt schon eingebaut ist []

QuickLinks vom 15. Januar bis zum 3. Februar

Meine pinboard.in-Links vom 15. Januar bis zum 3. Februar:

  • janus – This is a basic distribution of vim plugins and tools intended to be run on top of the latest MacVIM snapshot.
  • reptyr – is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don't want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh session and head on home.
  • txt2re – headache relief for programmers :: regular expression generator
  • atMonitor – is the most advanced monitoring tool for Mac OS X that displays system activity in real-time
  • urlscan – is a small program that is designed to integrate with the "mutt" mailreader to allow you to easily launch a Web browser for URLs contained in email messages.
  • Screens – Very good looking universal VNC Client for iPad, iPhone and iPod touch.
  • Coloration – is editor/IDE color scheme converter. Right now it allows you to convert your favourite Textmate color scheme (in XML plist format) to Vim, JEdit and KDevelop/Kate/Kwrite color scheme.
  • nvALT – Notational Velocity fork with widescreen, collapsible notes panel, MultiMarkdown/Markdown/Textile rendering and preview
  • rush – is a replacement for the unix shell (bash, zsh, etc) which uses pure Ruby syntax
  • Wiki on a Stick – (in short WoaS) is a wiki that lives in one self-modifying XHTML file. It's perfect to be used at home or at office, on your laptop or USB pen drive.

Apple Remote Desktop via Terminal einschalten

Damit ich das nicht ewig vergesse:

Um über die Shell eines Macs den Apple Remote Desktop1 Zugriff für einen User dennis zu aktivieren, ist folgender Befehl2 auf einer Zeile abzusetzen:

sudo /System/Library/CoreServices/RemoteManagement /ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users dennis -privs -all -restart -agent -menu

Das ergibt dann den folgenden Output:

Starting... Created preference to start ARD after reboot. Stopped ARD Helper. Stopped ARD Agent. Stopped ARD Database. Stopped VNC Server. dennis: Set user remote control privileges. dennis: Set user remote access. Started ARD Agent. Done.

Nun ist ausserdem dafür gesorgt, dass der ARD-Agent3 bereits beim Start des Systems aktiviert wird. Sollte man das ganze wieder deaktivieren wollen, ist folgendes zu veranlassen:

sudo /System/Library/CoreServices/RemoteManagement/ ARDAgent.app/Contents/Resources/kickstart -deactivate -configure -access -off

Gerade wenn man so etwas per SSH absetzen kann, spart das unter Umständen, weite Wege…

(via: Garbage in Garbage out)

  1. Das ist eigentlich auch nur Apple-Speak für VNC… []
  2. Sorry für die händischen Umbrüche, aber sonst hätten die Snippets das Layout zerschossen []
  3. Hört sich fast an wie jemand, den die GEZ los schickt, oder? []

SSH from iPhone

Mein iPhone ist zu jedem beliebigen Zeitpunkt den ich wach verbringe1, nie mehr als ca. 1 Meter von mir entfernt.

Sollte ich also gerade on the road einen SSH-Zugang in Richtung sonstwelcher Server benötigen, liegt es ja nahe, das mit einer entsprechenden App zu erledigen.

Die dafür, IMHO, am besten geeignete App heißt iSSH, kostet 8 € und bietet ordentlich bang for the buck.

So kann man etwa ein Kommando konfigurieren, dass bei jedem Login gestartet wird. Nimmt man dafür screen -DRRS iphone her, kann man Verbindungsabbrüche, mangelndes echtes Multitasking des iOS4 und sonstige Widrigkeiten die einer SSH-Verbindung passieren können vergessen. Dank screen wird eine Session namens iphone erzeugt und bei Bedarf neu verbunden. Es ist, als wäre die Verbindung nie unterbrochen worden. In der Tat sagt die Manpage zu den verwendeten Optionen das folgende2:

-D -RR Attach here and now. Whatever that means, just do it.

Und großartigerweise tut es dann auch genau das. Wenn die ~/.screenrc des betreffenden Shell-Users auch noch die Zeile termcapinfo xterm ti@:te@ enthält, klappt es auch mit dem Scrollen per Fingerzeig. Das Keyboard wird bei Bedarf halbtransparent geschaltet und für verschiedene Funktionstasten gibt es ein konfigurierbares Key-Pie-Menu…

iSSH kann mit SSH-Tunneln und -Keys umgehen. Es erzeugt selbst Keys oder importiert bereits vorhandene über das iOS-Clipboard. Und3 es kann automatisch Tunnel für X11- oder VNC-Forwarding erstellen und bietet praktischerweise auch gleich die passenden Clients an. Damit steht dann auch einem grafischen Fernzugriff nichts mehr im Wege.

Ausserdem läuft es auch auf diesem iPad, von dem jetzt so viel die Rede ist.

Eines der besten Sysadmin-Tools für das iPhone wenn ihr mich fragt, highly recommended!

(via: The 23x blog)

  1. und, ehrlich gesagt, auch wenn ich schlafe… []
  2. Wirklich, das steht da! Schau mit man screen in der nächsten Konsole nach, I kid you not! []
  3. Und(!) []

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…

Shell to $EDITOR

Wenn man viel auf der Shell unterwegs ist und dort öfters Einzeiler für irgend etwas gerade wichtiges produziert, kommt früher oder später der Moment in dem man denkt: “Junge, ich sollte mir diese Monsterzeile doch noch mal in einem Editor ansehen bevor ich Enter drücke…”.

Wenn die eigene Shell die Bash ist kann man das sehr, sehr schnell und ohne die Hände von der Tastatur zu nehmen.

ctrl-x gefolgt von ctrl-e nimmt die aktuelle Zeile und wirft sie in den Editor, der unter $EDITOR1 zu finden ist.

Nifty!

(via: cmdln.org)

  1. Die Variable ist in ~/.bashrc einstellbar und kann z.B. export EDITOR='vim' oder auch export EDITOR='mate -w' lauten. []