9. Mai 2009
22. Februar 2009

UpdateCheck

von Sveenie | um 2:18 Uhr | in Software, Was den Geek bewegt | 6 Kommentare

Mac OS X Software Update Notifications for Non-Admin-Users

As you might heard before, you should not do your normal work with an account that has administrative rights, no matter under which operating system. Although the vendors don’t make it very easy sometimes. Compared to MS Windows you are quite well off with Mac OS X, but also here you will find some caveats. For example, the automatic notification about available software updates only works, if you are logged in as an administrator. (In a multi-user environment this makes sense, since you don’t want to confuse ordinary users with such notifications. However, you cannot switch it on for a non-admin account that is used by the owner/admin of the machine, even if you want it.)

screenshot

Since I could not find any tool or script that fills in that gap, I wrote my own. It’s an applescript embedded into a plist-file for the launchd. It will check for available software updates once per day, and if there are any, it will display them in a Growl notification or – if Growl is not installed – in an ordinary dialog window. But using Growl is highly recommended!

Download: UpdateCheck

To install it, just move the file to Library/LaunchAgents in your Home folder. If the LaunchAgents folder does not exist, create it. Then re-login or enter the following command in the Terminal:
launchctl load ~/Library/LaunchAgents/de.anderson.sven.updateCheck.plist

PS.: As a Mac OS X user you might also be interested in another tool by me: Hibernate (Hibernation Tool for Mac OS)

14. Februar 2008

word wrap command line tool

von Sveenie | um 13:08 Uhr | in Was den Geek bewegt | 2 Kommentare

I just couldn’t find one, so I ended up using this line:

cat <textfile> | perl -e 'use Text::Wrap;$Text::Wrap::columns=70;
while(<>) {print wrap("","",$_)}'

24. Januar 2008

C-Rätsel

von Sveenie | um 1:37 Uhr | in Was den Geek bewegt | 8 Kommentare

Das folgende Programm gibt “kaputtendorf” aus. Warum?


/*
* (c) Sven Anderson sven_at_anderson.de
* Creative Commons by-nc-sa
*/
#include <stdio>
int main(void) {
char x[22] = {'p', 'g', 'z', 'o', 'n', 'l', 'y', 'h', 'm', 'j', 'a',
'b', 'k', 'd', 'r', 'u', 'w', 'f', 'v', 't', 't', 'e'};
char* a;
int n=0;
char b = 'm';
a = (x - 'a');
while(n++&lt;6)
{
printf("%c", b=b[a]);
}
b|='b';
while(n++&lt;13)
{
printf("%c", b=b[a]);
}
printf("n");
return 0;
}

10. Oktober 2007

Nr. 5

von kjo | um 0:15 Uhr | in Was den Geek bewegt | Keine Kommentare

17. August 2007

Hibernation Tool for Mac OS

von Sveenie | um 18:07 Uhr | in Software, Was den Geek bewegt | 21 Kommentare

Hibernate Since quite some time Mac OS also has a hibernation mode, also known as suspend-to-disk. But as usual for Mac, you cannot select it by hand. In fact, a suspend-to-ram always does a suspend-to-disk as well, so that in a case of power loss (like empty battery) you can start the computer from the image on the hard disk without losing anything. Apple calls this suspend combination “Safe-Sleep“.

So far so nice. But sometimes you might want to go directly into hibernation mode. Therefore I wrote a little applescript, which in respect to similar scripts doesn’t need any administrator rights to work. In fact the icon was the most difficult part.

Download it right here.

For an easy access to the hibernation mode, you either move it to /Applications/ or somewhere else and drag it into your dock, or you put it in ~/Library/Scripts and activate the script menu with the Applescript Utility.

PS.: If your Mac does not support the hibernation mode, there is a chance that you can enable it. Look here.

PPS.: As a Mac OS X user you might also be interested in another tool by me: UpdateCheck (Software Update Notifications for Non-Admin-Users)

Troubleshooting: if you experience that your computer still goes into normal sleep mode, open Hibernate.app/Contents/Resources/Scripts/main.scpt and increase the delay to 30 at the end of the script.

20. April 2007

Brilliant!

von kjo | um 8:36 Uhr | in Was den Geek bewegt, kaputtendorf deckt auf | 1 Kommentar

Commentbot V1.2 hat Geburtstag. Herzlichen Glückwunsch!

29. Januar 2007

iPod Smoothie

von Relaxander | um 17:02 Uhr | in Was den Geek bewegt | 2 Kommentare

Ich will so einen Mixer!

9. Januar 2007

Erster!

von Thomas | um 0:40 Uhr | in Meta-Blah, Verschiedenes, Was den Geek bewegt | 4 Kommentare

Erster im neuen Jahr!

2. November 2006
29. Oktober 2006

Hallo Frontstadt

von kjo | um 14:06 Uhr | in Was den Geek bewegt | 3 Kommentare


Wo bleibt die Coverage? Muessen wir erst auf das GT warten? Oder liegt Göttingen diesmal so in Schutt und Asche, dass gar nichts mehr geht?

Übrigens immer noch keine Spur von Heidi.

17. Oktober 2006

Erfolgsrezept wird fortgeführt

von Thomas | um 22:21 Uhr | in Bilder, Freies Assoziieren, Was den Geek bewegt | 7 Kommentare

Lego Hostel

Für alle, die schon alles gesehen haben.

19. Mai 2006
9. April 2006

Der Tod in der Leuchtreklame

von kjo | um 17:24 Uhr | in Bilder, Was den Geek bewegt | 15 Kommentare



Es ist deutlich zu erkennen, dass der Kopf der Taube von den Abweisedalben durchbohrt wurde. Für eine Vergrösserung (auch als Wallpaper geeignet) bitte die tote Taube klicken.
(Weiter lesen…)

19. Dezember 2005

Sorry,

von Herr Lehmann | um 20:12 Uhr | in Was den Geek bewegt | 19 Kommentare

aber einen muss ich noch zum Besten geben:

Solche und ähnliche Bilder gibt es bei Cuteoverload
Ist glaube ich auch ein Blog.

11. November 2005

Von Äpfeln und Mädchen

von Sveenie | um 15:25 Uhr | in Was den Geek bewegt | 7 Kommentare

[15:06:57] <chenchen> ich bin begeistert von apple
[15:07:11] <chenchen> ich habe vorhin ichat als Startprogramm ausschalten wollen
[15:07:21] <chenchen> wusste nicht mehr genau wo bei Systemeinstellung
[15:07:30] <chenchen> bei Suche habe ich dann automatisch eingegeben
[15:08:09] <chenchen> und während ich a-u-t-o usw eingebe, verschwinden die Programme in den Hintergrund (also werden dunkler), die nicht in Frage kommen
[15:08:27] <chenchen> :-)
[15:08:32] <chenchen> tolles teil
[15:08:32] <chenchen> echt
[15:08:45] <chenchen> sie haben mich so weit, dass ich vielleicht mein lebenlang nicht umsteigen will ;-)
[15:08:57] <chenchen> und das in einer Phase, in der ich nur rumschimpfe ;-)
[15:09:05] <chenchen> I am a apple-girl

2. Oktober 2005
3. September 2005

Selbstgespräch?

von kjo | um 3:18 Uhr | in Was den Geek bewegt | 4 Kommentare

17. Juli 2005

Trennung auf Probe

von Paul | um 12:18 Uhr | in Was den Geek bewegt | 8 Kommentare

TRENNUNG AUF PROBE

Gestern um 21:39 Uhr nach fast 20 Jahre andauernder Liebe (1988-2005) haben mein Auto und ich sich aufgrund von nichtvereinbarer Lebensmodelle (ich bleibe in Deutschland – mein Auto zieht es nach Afrika) in gegenseitigem Einvernehmen ersteinmal voneinander getrennt.

11. Juli 2005

EIN FREUDENTAG !!!

von bine | um 8:17 Uhr | in Was den Geek bewegt | 8 Kommentare

Maren hat Geburtstag!
Herzlichen Glückwunsch!!!
Wenn jetzt Januar wäre, würde ich sagen, du machst den Tag sonnig und bringst die Blumen zum blühen und die Leute zum lächeln…

Is aber nich. Und so danke ich einfach dem da oben, dafür, daß er den 11.07 genommen hat. Sommer und Maren. Gibt’s Schöneres?

Nächste Seite »

Powered by WordPress. Theme based on Pool.
Entries and comments feeds. Valid XHTML and CSS. ^Top^