Google Mail Text statt Icons

Google Mail bietet in der US Version den Anwendern die Möglichkeit von Icons auf Text umzustellen.
Großartig. Ich bin kein Freund von Icons. Sie sind kulturkreisbezogen, haben eine zeitliche Geltung und gleiche Icons werden in verschiedenen Anwendungen unterschiedlich eingesetzt.
Mein Kinder haben noch im Leben eine Diskette gesehen, dieses Icon wird oft für Speichern verwendet. Die Festplatte hat bei OS X auf dem Desktop tatsächliche ein ausgebaute!! Festplatte als Icon. Welcher Anwender weiß wie eine Festplatte aussieht? Macht das Sinn? SSDs sehen anders aus.
Im Zeichen der ‚Cloud‘ ist physikalischer Speicher sowieso nicht mehr fassbar.

Wer ebenfalls auf die Icons bei Google Mail verzichten möchte: Settings => Button labels => Text.


Installing mitmproxy on Mac OS X throws ‚No module named urwid‘

If you are installing the mitmproxy on Mac OS X you probably get an ‚No module named urwid‘ error.
This error is thrown, because, there is no urwid module 😉
Simply install it with sudo easy_install urwid
That’s it.


Drupal Suchformular erscheint nicht im Header

Wenn es gewünscht ist, auf einer Drupal Seite im Header das Suchformular einzubinden, ist der Weg simpel.
Verwalten => Strukturierung => Blöcke => Suchformular dem Headerblock hinzufügen.
Dann passiert nix. Kein Suchformular im Header.
Das Suchformular hängt an einer Berechtigung.
Verwalten => Benutzerverwaltung => Berechtigungen => search-Modul => Inhalte suchen => Gast


Delete all documents from solr with a cURL JSON POST

If you want to delete all documents from solr with a cURL JSON POST:
curl -i -H ‚Accept: application/json‘ -H ‚Content-type: application/json‘ -X POST -d ‚{„delete“: { „query“:“*“ }}‘ http://localhost:8080/apache-solr-3.3.0/update/json?commit=true


Enabling Drupal Clean Urls Feature On Mac OS X Lion

If you want to run Drupal on localhost on Mac OS X Lion with the clean url feature enabled you have to edit the ‚httpd.conf‘ file located under ‚/etc/apache2‘.
1.) BACKUP THE ORIGINAL httpd.conf !!!
2.) Go to the ‚/etc/apache2/‘ folder
3.) Open the httpd.conf file with the editor of your choice with administrative rights e.g. sudo mate /etc/apache2/httpd.conf
4.) Locate the <Directory /> directive and change ‚AllowOverride none‘ to ‚AllowOverride All‘.
5.) Locate the <Directory „/Library/WebServer/Documents“> directive and change ‚AllowOverride none‘ to ‚AllowOverride All‘.
6.) Restart the web server


Dovecot On Mac OS X

Installation:
Install MacPorts. Install Dovecot through MacPorts.

sudo port install dovecot
Start Dovecot:
sudo port load dovecot


Running a local postfix mta on Lion (Mac OS X 10.7)

I had a local postfix mta running under Snow Leopard for testing purposes. After updating to Lion, postfix stopped working.

A good starting point is to run:

tail -f /var/log/mail.log

The first fatal entries in the log

postfix/smtpd[1001]: fatal: open /etc/postfix/submit.cred: No such file or directory



postfix/master[971]: warning: process /usr/libexec/postfix/smtpd pid 1001 exit status 1



postfix/master[971]: warning: /usr/libexec/postfix/smtpd: bad command startup — throttling



Which brought me to this in the Apple support forum.

After fixing that the next error on the log was



valid hostname or network address required



No further hint where the hostname or network address is missed. After playing around with hostnames and inet_interfaces I thought if something changed in the network in general. Bingo! IPv6 support!

Changed inet_protocols = all to inet_protocols = ipv4 in the main.cf and the postfix mta started as supposed.


Lion erste Eindrücke

Normalerweise bin ich bei Mac OS X kein ‚early adopter‘. Da ich aber wenig negatives gehört und SuperDuper hier einen guten Dienst verrichtet, habe ich mich zum Lion Update hinreisen lassen.
Scrollen ist den iOS Devices angeglichen, d.h. um nach oben zu scrollen bewegt man das Scrollrad bzw. die Finger auf dem Touchpad nach unten und umgekehrt, als ob man ein Blatt Papier im Sichtfeld verschiebt.
Das ist die ersten Minuten gewöhnungsbedürftig. Für Apple der richtige Weg um die Usability zu vereinheitlichen.
iCal ist aufgeräumter und bietet mehr Platz. Ich frage mich allerdings ob diese verspielte Lederbesatz UI notwendig war, das gefällt mir optisch nicht.
Auch das Adressbuch ist optisch auf aufgeräumter und die Adresse hat mehr Platz. Mit einem Lesezeichen wechselt man zwischen Gruppen und Personenansicht.
Launchpad ist irgendwie zwecklos, da man nicht über die Tastatur (Eingabe des Applikationsnamen) zu einer Applikation navigieren kann und mit Return starten.
Java ist nicht mehr preinstalled, bei dem ersten Start einer Applikation die Java benötigt, frägt Lion ob es installiert werden soll. Das war bei mir merkwürdigerweise bei Xcode 3.2, was bei Lion wohl mitinstalliert wird.
Mission Control ist gut, werde ich aus dem Dock nehmen da ich es ausschließlich über die Geste (3 Finger nach oben) aufrufe.
Ansonsten hatte ich auf meinem MacBook Pro bis jetzt keine Auffälligkeiten. WLAN, Bluetooth, Software alles benne.


Notice To Myself: How To Start Firefox In Debug Mode On Mac OSX

Open Terminal.
Go to directory
/Applications/Firefox.app/Contents/MacOS
Start Firefox in Terminal
./firefox-bin -console


Rails Paperclip And ’no such file to load — cocaine‘ Error

If you want to make a rails application that deals with pictures then paperclip may be the plugin of your choice. You can install paperclip via github
rails plugin install git://github.com/thoughtbot/paperclip
After installation I tried to generate the picture handling to my rails application by running:
rails generate paperclip Modellname picturemodell
Rails threw an error no such file to load — cocaine
Simply install the cocaine gem gem install cocaine
Run bundle install
Be a happy camper!