Geek

lipflip's picture

Visor - hot-key accessible terminal window

Warning: Geek Tip! Visor pimps Mac OS X’ Terminal.app so that a terminal window slides onto your screen at the push of a button.

Screenshot of Visor in action

If you use a command line on a regular basis this tool really comes handy. Just press a user definable hot-key and a Quake-like terminal window slides out of your menu bar (mine is ALT+SPACE — similar to Spotlight’s COMMAND+SPACE). Press it again and the terminal slides out of your screen again — of course without quitting running tasks. Ideal if you just want to issue a ping, scp, svn or whatever quickly.

About two years ago I already wrote about Visor. However it was incompatible with Leopard so I lost sight of it after I upgraded. It took some time but the project is now fully compatible with Leopard’s Terminal.App (including Tabs etc.). Also quite some annoying bugs like the ever growing terminal were fixed.

Grap your copy here and follow the installation instructions. It’s really a time-saver for command line freaks.

Update: When using Tabs you can even drag them and create a conventional terminal window. Dragging them back to your Slider is not possible, however.

lipflip's picture

VMWare - kaputter Snapshot verhindert Start

Mit Virtualisierungslösungen können auf einem physikalischen Computer mehrere unabhängige virtuelle Systeme laufen. Doof nur, wenn die Festplatte eines virtuellen Computers kaputt ist.

Virtualisierung ist praktisch. Sei es auf großen Servern, um verschiedene Services wirklich sauber voneinander zu trennen, oder auf dem PC, um ab und an mal ein Windows oder ein Linux laufen zu lassen, ohne gleich die Festplatte partitionieren zu müssen. Das virtualisierte System bekommt von dem ganzen Drumherum herzlich wenig mit und belegt — zumindest wenn es ausgeschaltet und eingefroren ist — nur etwas Platz auf der Festplatte.

Die Dateien auf der Festplatte können auch bequem kopiert werden, zum Beispiel wenn jeden Tag ein unangetastetes Windows benötigt wird, oder nicht sicher ist, ob die neue Software auch wirklich komplett deinstalliert werden kann.

Hierfür bietet sich speziell der Einsatz von “Snapshots” an: Dabei wird der Zustand einer virtuellen Maschine komplett — also von der Position des Mauszeigers bis zum letzten Bit der Festplatte — gespeichert und bis auf weiteres verwahrt. Ein Wiederherstellen des alten Zustandes ist damit jederzeit per Mausklick möglich.

Zwar werden nur die Differenzen zum alten Zustand gespeichert, so dass sich der Plattenverbrauch für derartige Spielchen in Grenzen hält, dennoch muss man von Zeit zu Zeit mal die angehäuften Snapshots löschen. Kein Problem. Dachte ich zumindest!

Denn bei mir hat VM-Ware beim Wegwerfen eines alten Zustands gestreikt und weigerte sich seitdem meine Virtuelle Maschine überhaupt zu starten (also weder den alten noch den neuen Zustand):

Datei nicht gefunden: Windows XP-000002.vmdk”

Irgendwie wollte VM-Ware den inzwischen gelöschten Snapshot wiederherstellen, konnte aber auch nicht dazu überredet werden, einfach den aktuellen Zustand zu starten. Damit war ich erstmal aufgeschmissen.

Die Lösung ist denkbar einfach: Eine Reparatur der virtuellen Maschine ist mir nicht auf Anhieb gelungen. Stattdessen habe ich eine neue virtuelle Maschine angelegt und einfach bei der Konfiguration die alte virtuelle Festplatte ausgewählt. Damit werden die Snapshots ignoriert und nach 5 Sekunden war das System wieder in Ordnung. Der Snapshot war weg, aber das wollte ich ja auch so.

lipflip's picture

Mind the dot

I never would have thought that I’ll have to program in Smalltalk one day. I know Java and PHP quite well and compared to them Smalltalk — or specifically Squeak in my case — is awesome and very weird at the same time.

Logo if SqueakOkay, I just have to write a little wrapper layer, still I have to deal with sockets programming, implementing a Singleton, and a bit exception handling. Pretty basic if you’re an experienced Smalltalk programmer, but quite a challenge if you’re not.

I’ve learned some interesting things about the language and its development environment and I thought I share it with you. This isn’t a complete Smalltalk roundup, just some notes. Feel free to add stuff in the comments and check out www.squeak.org.

Squeak and Smalltalk is definitely worth a look, it’s actually an easy but powerful first-contact programming language, so don’t be frightened by my technical gibberish below.[Read the rest of this posting]

SSH Private/Public Key Authentication

This post isn’t about super-secret ssh sorcery, but a collection of frequently used and easily forgotten ssh tricks. Mostly a reminder for myself.[Read the rest of this posting]

lipflip's picture

MacFUSE - use additional filesystems in OS X

Sometimes you need access to filesystems that are not natively supported by your operating system. For example when you need to access an weirdly formatted external drive.

To integrate support for a new filesystem, you normally need special binary drivers that are loaded into your kernel. This usually involves a reboot and some security issues, as the filesystem driver runs with the same privileges as the kernel itself.

But wait. FUSE is a convenient alternative to kernel-based filesystem drivers. FUSE stands for “Filesystem in Userspace” and makes installing, using, and developing filesystems really easy.[Read the rest of this posting]

Some filesystem icons
Syndicate content