Fabian Franke

intentionally left blank

yet another alfred screenshot extension

Why another alfred screenshot extension?

Crawling the web for the right extension takes about the time to write a new one.

Why I wanted a screenshot solution that is not Skitch?

When using a custom server you have to click the share button, wait for the image to be uploaded and thereafter you have to click again to copy the URL. Two clicks too much, every time. (When using skitch’s own server the URL is copied to your clipboard automatically after the upload.)

My wish list was short:

  • select a window or an area of the screen
  • optional: give me some seconds after selecting the area to pull up some menus
  • optional: edit the screenshot before uploading
  • optional: no upload, but move the image to my octopress media folder
  • random filenames
  • auto upload
  • get the URL copied to the clipboard after finishing the upload

Copy the code from the gist, edit the local destination at the top and server settings at line 51/52 and use the following Alfred.app (beware: Powerpack feature (You don’t own it yet? What are you waiting for, it’s awesome)) settings or any other application starter of your desire.

If you didn’t guess: After editing a screenshot, overwrite the original file to upload the edit.

Lion: Full Disk Encryption auf externen Platten

Schritt 1: Wir öffnen das Terminal (über Spotlight oder im Dienstprogramme/Utilities Ordner zu finden)

Schritt 2: Devicenamen vom Datenträger finden. Diesen findet man in der Identifier Spalte

1
2
3
4
5
6
7
diskutil list

/dev/disk2
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *8.0 GB     disk2
   1:                        EFI                         209.7 MB   disk2s1
   2:                  Apple_HFS sonyvault               7.7 GB     disk2s2

Im Beispiel hier mit einem USB Stick wäre das disk2s2, sollte über den Namen des Datenträgers beziehungsweise über seine Größe leicht ermittelbar sein.

Schritt 3: Das Device umwandeln und damit das Passwort nicht direkt sichtbar zu lesen ist geben wir das über die Standardeingabe ein.

1
diskutil corestorage convert {device} -stdinpassphrase

Bonus Schritt 4: Nachschauen wie weit die Konvertiertung fortgeschritten ist.

1
diskutil corestorage list

oder für die ganz ungeduldigen:

1
watch -n2 diskutil corestorage list

Bei der internen Platte geht das auch bequemener Systemeinstellungen/Sicherheit/FileVault und für die Time Machine Festplatte über das zugehörige PrefPane.

Nun haben wir wenn der Rechner aus ist eine schöne verschlüsselte Platte. Dank Firewire und Thunderbolt gibt es die Möglichkeit direkt auf den Arbeitsspeicher zuzugreifen (DMA), was im Grunde etwas Gutes ist, aber in unserem Fall schlimmstens bedeutet dass das Passwort für die Festplatte/n direkt aus dem Arbeitsspeicher gelesen werden kann. Beim Aufwachen aus dem Standby sollte dieser Angriff erfolglos sein, aber um sicher zu gehen das der Schlüssel beim Wechsel in den Standby Modus verworfen wird sagen wir das Power Management nochmal explizit.

1
sudo pmset -a destroyfvkeyonstandby 1 

`

tmux as a screen replacement

Since I could not find a way to get screen working with split screens and different windows I switched to tmux.

So far, after setting up the same look and feel as my screen configuration, I quite like it (the tmux configuration is actually human read- and editable).

Below is my current .tmux.conf file

Need more panes per window?

Flashfreier Google Chrome mit Flashfallback

reboot

time to reboot this.

Imagine a picture of some defibrillator paddles here.