contact

Archive for February, 2008

How to watch Movies in Apple Front Row without importing them to Itunes

Thursday, February 21st, 2008

 In order to watch movies in Itunes you have to convert them into one of the few supported formats, which for longer movies is a lot of work. I have my home server with an harddrive full of movies and I really wanted to be able to access them with the nice remotely controlled interface of Apples Front Row, which is actually capable of playing a lot more video formats than itunes supports. In Leopard Front Row offers you the possibility to access the movies folder on your mac. I only have a 120 GB Harddrive so now way I could keep all my movies in this folder, but the solution is simple:

Simply create an alias of the folder your movies are in and place it inside the designated movies Folder. That way you can add any location from a usb Harddrive to a Windows SMB share. Then run Front Row and check the movies folder for the alias. And you are done watching all your movies without importing them to itunes.

Western Digital MyBook does not power up

Monday, February 18th, 2008

 I recently bought a Western Digital 500GB Mybook and was very pleased. The Firewire 800 is really fast and the automated power up and down is very convenient. I haven’t been to my flat for about three weeks now and was shocked to see that my Mybook would not show any sign of life when I connected it to my Macbook Pro. Pushing the button, using USB or Firewire 400 did not change anything either. No need to throw away your harddrive yet. The solution is simple:

Simply disconnect the power adapter, and all connections to your computer. Then reconnect and it should power up and fulfill its duty.

Using Anchors and GET variables

Monday, February 18th, 2008

Well in general it is impossible to use them both. So http://www.yourdomain.com/yourpage.php?get=fubar#anchor1 is not going to work in most browsers, so we want to forget about that. I solved this problem with a little javascript workaround and an additional GET varibale. So step one is that your links would have to include a get variable “?a=YourAnchor”. Now we dont use the usual anchor but place a div with the id YourAnchor at the position we want the page to jump to. I use some javascript that is called when the page loads and the looks up the div with the id YourAnchor and scrolls the page to its position.

</pre>
<div id="YourAnchor"></div>
onload="go_to('<?php echo $_GET['a']; ?>')"

//in order to call the function simply place the following code in your body tag
<pre>

note that this is quite insecure though.