Mysterious “You have new mail” in OS X Terminal

Geschrieben am 08. Februar 2010 von Oliver | Keine Kommentare »

Recently I discovered a mysterious message showing up in every new Terminal window I opened under OS X. The notice simply read “You have new mail”:

You Have New Mail in OS X Terminal

First I thought this was something that had been put in the Terminal’s startup message (called motd – Message of the Day, which can be edited with “$ pico /etc/motd”). However, this was not the case.
Weiterlesen…

Tags ,

OS X: Geek Alarm Clock

Geschrieben am 08. Februar 2010 von Oliver | Keine Kommentare »

There are for sure some visually nice alarm clocks to use on OS X, such like the 3-2-1 Dashboard timer-widget.

But for real Geeks, there’s a way over the Terminal for activating an audio-visual reminder, using the following simple command:

$ leave hhmm $ #f.eg.: "leave 0930" meaning 21h30 Alarm set for Mo 8 Feb 2010 21:30:00 CET. (pid 789)

This activates a leave-timer which will alarm you 5 and 1 minute prior to the given time, such as at the exact time. The date is always your current day.

To disable the alarm, you need to quit the according process using the following kill-command:

$ kill -s kill pid $ #pid = 789 as in above example

As usual, you can read all details about the “leave”-command by typing “man leave” in the Terminal.

Tags ,

Safari: How-to add a “Tweet this”-shortcut

Geschrieben am 13. Januar 2010 von Oliver | 1 Kommentar »

I wanted to have a shortcut in Safari, which allows me to instantly post the Webpage I am currently browsing to Twitter.

Thanks to the service TwitThis.com and the JavaScript-Code they use, I was able to create just what I desired:

Twit This Safari Shortcut

Weiterlesen…

Tags ,

Excel: “ZÄHLENWENN” nur ein Teil der Werte dem Suchbegriff entspricht?

Geschrieben am 08. Januar 2010 von Oliver | 1 Kommentar »

Excel 2007 Logo

In Microsoft Excel ermöglicht die Funktion

=ZÄHLENWENN(Bereich;Suchkriterium)

das Zählen aller Vorkomnisse eines bestimmten Suchbegriffes innerhalb eines Zellenbereichs.

Was ist nun aber, wenn man die Werte im Zellenbereich nicht komplett mit dem Suchbegriff übereinstimmen?
Weiterlesen…

Tags

AppleScript: Move Files from specific Source- to Target-Folder

Geschrieben am 03. Januar 2010 von Oliver | Keine Kommentare »

AppleScript Logo


I wanted to have an AppleScript application, that takes all the files from a specific Source-Folder and moves* them to a user defined Target-Folder.

After searching my way through different Discussion Boards and the official AppleScript Language Guide, I came up with the following working piece of code:

Weiterlesen…

Tags ,