25. August 2010 | Tags: 7, airport, amazon, api, audio, backup, cli, cloud, code, converter, desktop, documentation, editor, encoding, git, grid, gtd, h.264, howto, html, http, ide, internet, itunes, java, last.fm, mac, markdown, monitoring, mp3, mp4, organisation, osx, radio, ruby, s3, script, semantic, shell, simpledb, stream, textmate, txt, versioncontrol, video, vista, web, webserver, website, wiki, windows, xp
3. Juni 2010 | Tags: apple, bonjour, internet, itunes, mac, music, musik, network, osx, ssh, zeroconf
Ich hatte 2007 schon einmal einen Artikel mit dem selben Titel geschrieben und es ist seitdem nicht weniger praktisch geworden, von unterwegs auf das heimische iTunes zugreifen zu können.
Die gute Nachricht: Nach einem Kommentar von Yann aus dem Januar 2010, der mich auf einen Blogpost bei iharder.net hinwies, konnte das ganze Vorgehen noch ein wenig verschlankt werden und beschränkt sich nun auf ein sehr kleines Shellscript:
#!/bin/sh
dns-sd -P "Home iTunes" _daap._tcp local 3689 localhost 127.0.0.1 "Arbitrary text record" & PID=$!
ssh -C -N -L 3689:127.0.0.1:3689 user@domain.de
kill $PID
Dank dem äusserst vielseitigen dns-sd Kommando, spart man sich den Betrieb des Network Beacons und erstellt die Bonjour-Annonce direkt im Script.
Im einzelnen:
Die erste Zeile weist den Interpreter /bin/sh als zuständig für das Script aus. No big deal.
Die zweite Zeile annonciert eine neue Proxy (-P) Bonjour-Ressource des Typs daap auf dem lokalen Port 3689 (Das ist quasi die Standard iTunes Netzwerk Konfiguration) auf dem lokalen Mac (localhost 127.0.0.1). Die entfernte Bibliothek kann genannt werden wie man mag, ich habe hier “Home iTunes” verwendet. Der “Arbitrary Text Record” wird nur aus syntaktischen Gründen benötigt. Dann wird noch die Prozessnummer des Kommandos in der Variable PID gespeichert.
In der nächsten Zeile wird dann der SSH-Tunnel gebaut. Die Option -C schaltet die Kompression ein, -N gibt keine interaktive Shell, sondern schickt den Tunnel in den Hintergrund. Nach -L wird der Tunnel definiert: Port 3689 lokal wird an Port 3689 auf der IP zwischen den Doppelpunkten weitergeleitet. Hier muss die IP des Computers eingesetzt werden, dessen iTunes aus der Ferne erreicht werden soll. Wenn iTunes- und SSH-Server auf der selben Maschine laufen, kann im Script auch die 127.0.0.1 für das Loopback-interface eintragen werden. Danach folgt nur noch der SSH-User und die dyndns oder sonstige Adresse.
Die letzte Zeile killt die Bonjour-Annonce wenn der Tunnel endet (z.B. wenn die IP wechselt während man verbunden ist).
In der Praxis und wenn alle Angaben stimmen, genügt dann die Ausführung des Scripts und die Eingabe des SSH-Passworts und man bekommt die heimische iTunes-Bibliothek angezeigt, als wäre man in seinem Heimnetz.
Ich hatte 2007 schon einmal einen Artikel mit dem selben Titel geschrieben und es ist seitdem nicht weniger praktisch geworden, von unterwegs auf das heimische iTunes zugreifen zu können.
Die gute Nachricht: Nach einem Kommentar von Yann aus dem Januar 2010, der mich auf einen Blogpost bei iharder.net hinwies, konnte das ganze Vorgehen noch ein wenig verschlankt werden und beschränkt sich nun auf ein sehr kleines Shellscript:
[sourcecode language="bash"]
\#!/bin/sh
dns-sd -P "Home iTunes" _daap._tcp local 3689 localhost 127.0.0.1 "Arbitrary text record" & PID=$!
ssh -C -N -L 3689:127.0.0.1:3689 user@domain.de
kill $PID
[/sourcecode]
Dank dem äusserst vielseitigen ((und kaum dokumentierten)) dns-sd Kommando, spart man sich den Betrieb des Network Beacons und erstellt die Bonjour-Annonce direkt im Script.
Im einzelnen:
Die erste Zeile weist den Interpreter /bin/sh als zuständig für das Script aus. No big deal.
Die zweite Zeile annonciert eine neue Proxy (-P)
2. Juni 2010 | Tags: bash, book, code, cover, development, ebook, epub, filesharing, filesystem, framework, hdd, id3, internet, ipad, iphone, itunes, linux, mac, monitoring, mp3, mp4, music, nagios, network, opensource, osx, pancake, pdf, perl, pfannkuchen, ping, python, recipe, rezept, shell, sla, software, softwareengineering, statistic, sysadmin, tag, testing, traceroute, unix, video, virtualization, vmware, web, webserver, wiki, windows, xen
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…
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 ou
26. April 2010 | Tags: air, airforce, atom, bash, blackbird, bsd, code, cover, decryption, dvd, fedora, firewall, identity, internet, ipad, iphone, iPod, itunes, language, latex, learn, linux, mac, macports, movie, movies, music, mutt, network, networking, newsreader, opml, osx, plane, privacy, reading, rss, ruby, school, screenshot, shell, sr-71, suse, sync, terminal, thumbnails, ubuntu, uk, unix, usa, video, vlc
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…
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.
skree
19. Januar 2010 | Tags: apple, code, driver, git, hardware, itunes, linux, mac, mp3, music, osx, semantic, sysadmin, versioncontrol, windows
3. Januar 2010 | Tags: addressbook, adventure, android, apple, book, code, daap, dacp, filesystem, fs, game, google, itunes, mac, music, online, opensource, osx, remote, sun, sync, txt, xing, zfs
13. Dezember 2009 | Tags: adobeair, apple, browser, design, ftp, gtd, isight, itunes, mac, magicmouse, mockup, mp3, music, osx, photo, remote, shell, surveillance, unix, vi, vim, visualization, web
15. Oktober 2009 | Tags: .net, adressbook, airport, bavaria, beer, book, code, diff, download, festival, fritzbox, google, hdr, howto, inotify, iphoto, itunes, latex, linux, literature, mac, microsoft, mirror, music, nas, ocr, oktoberfest, osx, party, pdf, photo, rsync, ruby, san, shell, storage, stream, sync, sysadmin, telephone, typo, typography, unix, vcs, web2.0, windows
Meine delicious.com-Links vom 7. Oktober bis zum 15. Oktober:
- Openfiler — Openfiler – Open Source Storage Management Appliance – is a network storage operating system, fronted by a web based management user interface. With the features we built into Openfiler, you can take advantage of file-based Network Attached Storage and block-based Storage Area Networking functionality in a single cohesive framework.
- RAOP Client – is an Airport Express client written in ruby. It allows you to stream music to an Airport Express from Ruby.
- Detexify – LaTeX handwritten symbol recognition
- HDRtist – Free and easy to use HDR-Software for Mac OS X
- lsyncd – uses rsync to synchronize local directories with a remote machine running rsyncd. Lsyncd watches multiple directories trees through inotify. The first step after adding the watches is to rsync all directories with the remote host, and then sync single file by collecting the inotify events. So lsyncd is a light-weight live mirror solution that should be easy to install and use while blending well with your system.
- sink – is a tool that allows you to compare multiple directories, take snapshots
of their state, and compare the states. It also provides commands to create
logical links between files to do micro changes management.
- Oktoberfest Etiquette – Surviving the Oktoberfest from an US-perspective… Might come in handy…
- Frizzix – ist ein kostenloser FritzBox Anrufmonitor und Anrufmanager für Mac OS X.
Frizzix zeigt ein- und ausgehende Anrufe, die über eine Fritz!Box geführt werden, sowie die integrierte Anrufliste der FritzBox bequem auf dem Mac an.
- Google Book Downloader – is small utility which allows you to save books as PDF from google to your local filesystem.
Meine delicious.com-Links vom 7. Oktober bis zum 15. Oktober:
Openfiler — Openfiler - Open Source Storage Management Appliance - is a network storage operating system, fronted by a web based management user interface. With the features we built into Openfiler, you can take advantage of file-based Network Attached Storage and block-based Storage Area Networking functionality in a single cohesive framework.
RAOP Client - is an Airport Express client written in ruby. It allows you to stream music to an Airport Express from Ruby.
Detexify - LaTeX handwritten symbol recognition
HDRtist - Free and easy to use HDR-Software for Mac OS X
lsyncd - uses rsync to synchronize local directories with a remote machine running rsyncd. Lsyncd watches multiple directories trees through inotify. The first step after adding the watches is to rsync all directories with the remote host, and then sync single file by collecting the inotify events. So lsyncd is a light-weight live mirror solution that should be easy to instal
5. August 2009 | Tags: appstore, audio, book, browser, code, desktop, editor, euro, framework, frontrow, git, h.264, image, internet, iphone, itunes, javascript, jquery, lightbox, mac, mail, menubar, metadata, microsoft, mp4, multimonitor, osx, outlook, photo, plugin, quote, ruby, safari, server, textmate, versioncontrol, video, wallpaper, website, windows
Meine delicious.com-Links vom 23. Juli bis zum 5. August:
- App Store Expense Monitor – Berechnet wieviel für iPhone-Apps aus dem App Store ausgegeben wurde
- Outlook-QuoteFix – can modify MS Outlook's message composition windows on-the-fly to allow for correct quoting and to change the appearance of your plain-text replies and forwards in general: move your signature, use compressed indentation, customize your quote header, etc.
- iFlicks – Using iFlicks you can easily import your Video Collection into iTunes. This gives you the ability to watch your Videos directly in iTunes or transfer them to your iPod or iPhone. On top of that iFlicks downloads Metadata for your Videos and lets you tweak the Metadata manually.
- ColorBox – A light-weight, customizable lightbox plugin for jQuery 1.3
- RubyFrontier Documentation – It’s a way of maintaining and generating Web sites.
It imitates UserLand Frontier, but it’s written in Ruby.
- Pro Git Book – The whole Pro Git book online.
- Glims – adds a cocktail of features to Safari (Tabs, Thumbnails, Full Screen, Search Engines, Search Suggestions, Forms autocomplete on, Dated download folders, Type Ahead …)
- Jack OS X – is a low-latency audio server, written originally for the GNU/Linux operating system, and now with Mac OS X support. It can connect any number of different applications to a single hardware audio device; it also allows applications to send and receive audio to and from each other.
- StudioTwentyEight | Wallpapers – Great wallpapers, often available in dual and triple versions…
Meine delicious.com-Links vom 23. Juli bis zum 5. August:
App Store Expense Monitor - Berechnet wieviel für iPhone-Apps aus dem App Store ausgegeben wurde
Outlook-QuoteFix - can modify MS Outlook's message composition windows on-the-fly to allow for correct quoting and to change the appearance of your plain-text replies and forwards in general: move your signature, use compressed indentation, customize your quote header, etc.
iFlicks - Using iFlicks you can easily import your Video Collection into iTunes. This gives you the ability to watch your Videos directly in iTunes or transfer them to your iPod or iPhone. On top of that iFlicks downloads Metadata for your Videos and lets you tweak the Metadata manually.
ColorBox - A light-weight, customizable lightbox plugin for jQuery 1.3
RubyFrontier Documentation - It’s a way of maintaining and generating Web sites.
It imitates UserLand Frontier, but it’s written in Ruby.
Pro Git Book - The whole Pro Git book online.
Glims - adds a cocktail o
13. Juli 2009 | Tags: apple, applescript, bachelor, blog, cc, code, creativecommons, css, dns, encryption, games, gesellschaft, growl, howto, itunes, last.fm, linux, mac, medien, music, network, osx, paper, pdf, plugin, politics, politik, radio, recht, science, security, society, theme, unix, web, wifi, wlan, wordpress