How to Publish iCal calendars with local WebDAV server

17 04 2008

To publish your iCal Calendar with the bundled OS X Apache web server, edit Apache’s configuration file in /etc/httpd. You must be root, so I expect you know vi and the workings of this file in general.

 % sudo vi /etc/httpd/htttpd.conf

In the Shared Library section, where modules are loaded, add these two lines in the same ordering in their repective sections:

LoadModule dav_module libexec/httpd/libdav.soAddModule mod_dav.c

Then somewhere in the global section add:

DAVLockDB /Library/WebServer/davlocks/DAVLockDB

I used this section to have a webdav folder managed by Apache:

<Directory "/Library/WebServer/Documents/dav">  DAV OnAuthName 'WebDAV'

AuthType Basic

AuthUserFile /etc/httpd/.htpasswd

AuthGroupFile /dev/null

<LimitExcept GET HEAD OPTIONS>

require valid-user

</LimitExcept>

</Directory>

I want this folder protected (somewhat) by a password. To generate the password file
with MD5 passwords (not that old crypt!), please use the -m flag. The file is text. Note that http is vulnarable to sniffing attacks, so someone on your network can get at your password.

 % htpasswd -m -c /etc/httpd/.htpasswd user New password: not_safeRe-type new password: not_safe

Adding password for user user

Then set up the folder with permissions.

 % cd /Library/WebServer/ % mkdir davlocks% chown www:www davlocks

% cd Documents

% mkdir dav

% chown www:www dav

In iCal, choose Publish Calendar and specify http://localhost/dav/iCal. Do not FTP stuff into the dav folder; webdav uses its own locking, don’t confuse it.

Good Luck!

From http://www.macosxhints.com/article.php?story=20020912065811863

Share/Save/Bookmark



Heroes

28 10 2007

HeroesI was very hopeful that Heroes could become my next favorite series when I was first introduced to the show. Soon I got very bored with the story line.

Oh, yes, in case we haven’t noticed - the world is in grave danger and almost at an end, and it is up to a bunch of wonder guys who will save it. I could buy it if it wasn’t for a deja-vu called the 4400. So what’s new? Ah, yes, how did I miss that? The “wonder guys” aka Heroes cannot be reproduced in a factory like the 4400 can. Big difference.

Let’s see what’s next.

Share/Save/Bookmark



Apple unveils iPod Touch

6 09 2007

iPod TouchThe new iPod touch introduced yesterday by Apple features built-in Wi-Fi networking and a revolutionary multi-touch user interface—first introduced on iPhone—that makes it easy to find all of your music, video, and other digital content and enjoy it on the gorgeous widescreen display on iPod touch. The multi-touch interface uses pioneering new software to present the perfect user interface for Safari, Apple’s YouTube application, and the new iTunes Wi-Fi Music Store—all of which come with iPod touch.


Read the rest of this entry »

Share/Save/Bookmark



Controlling MacBook with a Lighter

6 09 2007

Lighter - MacBook Remote Control Trick

You can use your lighter to remote your macbook. It will repeat your last signal from remote control. E.g. if you volume up, lighter will gonna volume up, if you volume down, it will volume down.

Enjoy it :)

Requirements: windows installed macbook(with bootcamp), remote control(you have one RC from macbook) and a lighter.

Share/Save/Bookmark



The Top 10 Most Outrageous Places to Advertise Your Business

6 09 2007

by Dr. Joe Vitale
www.mrfire.com

1. On your back with a real tattoo.
(Your body becomes a walking billboard.)

2. On your sunglasses.
(Protect your eyes and promote your business!)

3. On your belly with body paint.
(Great on the beach!)

4. On the soles of your inked and stenciled shoes.
(So you leave ads wherever you walk. Use washable ink.)

6. On your bald head.
(Hats are out. Ads are in!)

7. On your driveway.
(Low flying planes might buy from you!)

8. On your pet.
(Now when they run off they’ll be promoting you.)

9. On the back of your cell phone.
(Everyone checks out your phone.)

10. On your baby’s forehead.
(Make them even cuter with a colorful ad!)

Share/Save/Bookmark