My Post with TextMate

Nach den hilfreichen 404-Fehlermeldungen auf Twitter sehe ich mich nun tatsächlich genötigt einen echten Eintrag über das Bloggen mit TextMate zu verfassen. So kann das gehen.

TextMate ist ein äusserst vielseitiger Texteditor, der unter anderem auch ein Blogging-Bundle anbietet. Um dieses Für ein Wordpress-Blog einzurichten, genügt es schon, das eigene Blog über Bundles – Blogging – Setup Blogs mit der Syntax

Blogname http://username@blogadresse.de/blog/xmlrpc.php

einzutragen.

Im Anschluss können die aktuellen Posts über Bundles – Blogging – Fetch Posts abgerufen und im Editor bearbeitet werden.

Wie hier gut zu sehen ist, werden die verschiedenen Felder über simple Header-Einträge befüllt. Wird etwa der Status auf draft gesetzt, könnte so eine voreilige Ankündigung eines neuen Blogposts über Twitter gar nicht erst passieren…

Formatiert werden können die Posts bequem per Markdown, Textile oder auch HTML. Bilder können per Drag and Drop in den Editor hochgeladen werden.

Wenn der Post dann fertig gestellt ist, wird sein Status auf publish geändert und kann über Bundles – Blogging – Post to Blog hochgeladen werden.

Sehr praktisch das ganze.

QuickLinks vom 19. Oktober bis zum 16. November

Meine delicious.com-Links vom 19. Oktober bis zum 16. November:

QuickLinks vom 23. Juli bis zum 5. August

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…

QuickLinks vom 2. Juni bis zum 16. Juni

Meine delicious.com-Links vom 2. Juni bis zum 16. Juni:

QuickLinks vom 6. Mai bis zum 12. Mai

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

QuickLinks vom 28. April bis zum 30. April

Meine delicious.com-Links vom 28. April bis zum 30. April:

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

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

  • The anatomy of cloud computing
  • Diakonos – the console text editor with a key mapping you practically already know. Easy to use and easy to configure, but potent in the hands of power users.
  • GlusterFS – is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system.
  • Maperture – Combining the power of Aperture and Google Maps (the mapping engine you know and love), Maperture is a powerful, new edit plug-in that makes geotagging your photos a snap.
  • HoudahGeo – may store latitude, longitude and altitude information right within the image file – invisibly with no loss of quality. HoudahGeo writes EXIF, XMP and IPTC tags. $30.

QuickLinks vom 8. Januar bis zum 9. Januar

Meine delicious.com-Links vom 8. Januar bis zum 9. Januar:

  • Diplodocs – Handbücher und Anleitungen online
  • Snipt – is your collection of frequently used commands or code snippets.
  • ferm – is a tool to maintain complex firewalls, without having the trouble to rewrite the complex rules over and over again.
  • Espresso – Website-Editor for Mac OS X with lots of Bells and Whistles. Now in public beta, later 59,95 €…
  • Blogo – Nice looking Desktop Blog-Editor for Mac OS X with a fresh UI-concept. Shareware, $25.
  • Wordpress Notifier for Mac OSX – is a freeware application that alerts you when new unapproved comments are posted on your Wordpress blog.
  • Townload-Essen – Mitmach-Portal für Essener Jugendliche

QuickLinks vom 09. Oktober bis zum 13. Oktober

Meine delicious.com-Links vom 09. Oktober bis zum 13. Oktober:

  • http://☃.net/ – ☃
  • TextMate Basics Tutorial – After having setup your TextMate, this Tutorial will show you around the basic features of TextMate. This is a must for everyone who wants to use TextMate seriously.
  • Ruby's Ambition – is a framework for writing adapters. Adapters are RubyGems which depend on the ambition gem and are named something along the lines of ambitious-activerecord. They typically use Ambition to turn plain jane Ruby into some sort of domain specific query which can be executed.
  • Swirly MMS – MMS Application for jailbroken iPhones… Pricetag: 8 $.
  • Subscribe2 Plugin – declares itself the beste WordPress email subscription plugin…
  • Shoes – Information and tutorials on the Shoes GUI toolkit for Ruby.
  • The Credit Crisis and the Bailout in Plain English
  • Rosetta Stone for Unix – What do they call that in this world?
  • Animated Knots by Grog – Learn a hellofalot knots…
  • fruux – is a lightweight and convenient system preference pane, that syncs your Address Book, Calendars, Tasks and Bookmarks between different Macs.
  • OSSIM – stands for Open Source Security Information Management. Its goal is to provide a comprehensive compilation of tools which, when working together, grant a network/security administrator with detailed view over each and every aspect of his networks/hosts/physical access devices/server/etc…
  • Sauron – is a scalable system for management of DNS & DHCP services

Java API Dokumentation in TextMate

java doc

Ich habe seit diesem Semester Java-Vorlesungen und benutze viel lieber mein MacBook als die Vista PCs vor Ort. Anstelle des dort installierten Java Editors1 nutze ich mein TextMate als Editor.

Das ganze klappt auch super, man kann ganze Ordner verwalten und in der Seitenleiste neue Dateien anlegen2, das Syntax-Highlighting und Code-Folding klappt out of the box und die Sache macht einfach Spaß.

Nur, wenn man die Dokumentation zu dem gerade markierten Wort aufrufen will (ctrl + H), klappt das leider nicht.

Ich habe im TextMate IRC nach Hilfe gesucht und auch gefunden. Das aktuelle Java Bundle bietet diese Funktion aus unklaren Gründen nicht, die SVN-Version schon. Also bin ich nach der Bundle Update Anleitung vorgegangen und habe mir das neueste Java Bundle besorgt. Und das ging so:

Das passende Encoding einstellen:

export LC_TYPE=en_US.UTF-8

In das Bundle Verzeichnis wechseln3:

cd ~/Programme/TextMate.app/Contents/SharedSupport/Bundles/

Das alte Bundle entfernen:

rm -rf Java.tmbundle/

Und das neue aus dem SVN holen:

svn export http://macromates.com/svn/Bundles/trunk/Bundles/Java.tmbundle

Anstelle von export könnte man hier auch checkout verwenden und dann bei Bedarf einfach per svn up an das aktuelle Bundle kommen. Ich glaube aber nicht dass ich das Bundle so oft updaten werde und so spare ich mir den Transfer des .svn Ordners…

Einen TextMate Neustart später steht die aktuelle Java API auf Knopfdruck zur Verfügung und zeigt die passende Stelle zu dem markierten Wort an.

  1. Den ich allerdings für ein klasse Programm halte []
  2. Was der Finder kurioserweise immer noch nicht kann… []
  3. Meine Programme liegen in einem Ordner “Programme” in meinem Home, vermutlich liegen deine eher unter /Programme/.../, ohne das ~ []