Site update

Well, thought it was time to update my site. Not much has changes: My picture is updated to a new and somewhat improved version and the site theme is now a darker grey. I also removed my old “Ønskeseddel” page and put in a redirect menu item to the new wedding site.

Bryllyps site

Finally I got around to do our wedding site and just for the fun of it I tried out the iWeb application on my mac. Must say it was pretty easy. The only thing I had to do some hacking on was to get Google Analytics to work.
Go check it out here *btw it is in Danish so good luck

DFU Mode

I got a big scar today. I was playing around with my iPhone and trying to free up some space on the root disk [ disk0s1]. So I was moving stuff from the [/System] folder into the media partition [/private/var]. I moved the Fonts (85 mb) and the Framework directory and things still looked fine. But then I rebooted the iPhone something was very wrong. The iPhone failed to boot and ended up in the console no key input was possible and iTunes couldnt detect it so restore didnt work. Nothing i did helped and I was really worried that I just bricked my phone. After some googling around I found out that you can put the iPhone into somethink called DFU mode boot into a state where you can restore it from iTunes

After some googling i found this very helpful tip to restore the firmware to is original :

Step 1. Turn off your iPhone.

Step 2. Hold Power and Home button, the iPhone should now be boot.

Step 3. When you see the Apple logo, release the power button but HOLD the home button.

Step 4. Open iTunes and wait for it to tell you in restore mode.

Also, NTL leave a comments to stated that how to put the iPhone in DFU mode easily. Take it as an alternative method if the above does not work for you.

Step 1. Connect iphone to USB then listen to the sound when it connect and disconnect.

Step 2. Hold 2 buttons until hear disconnect sound then release power button.

Step 3. Wait until hear another sound then release home button

iPhone ssh problem

After installing the BSD Subsystem and OpenSSH packages from the Installer.app, I tried to remotely login to my iPhone using ssh, but all I got was this error:

me@mbp $> ssh iphone
ssh_exchange_identification: Connection closed by remote host

After some googling I still couldn't find any useable solution to my problem, so I started to investigate the problem my self.

Running the Term-vt100.app on the iPhone and typing /usr/sbin/sshd -t reviled that the host keys was not generated, so the fix was to generate them by hand:

me@iphone $> ssh-keygen -t rsa1 -b 1024 -f /etc/ssh_host_key -N ''
me@iphone $> /usr/bin/ssh-keygen -d -f /etc/ssh_host_dsa_key -N ''
me@iphone $> /usr/bin/ssh-keygen -t rsa -f /etc/ssh_host_rsa_key -N ''

After that it all work like a charm.

Just bought two iPhones

A friend of mine is going to the US, so I finally decided to order two iPhones on the online apple store. Now I'm as exceeded as a child before christmas, cant wait to get my hands on them.

My first pay check

Today I got my first pay check for my own company, thats a really nice feeling.

HD Trailers in Front Row

Open the Terminal and type the following:

defaults write com.apple.frontrow TrailerBypass \
http://www.apple.com/trailers/home/xml/current_720p.xml \


This will change the trailer source to apples 720p list.

If you ever want it back, just type:

defaults delete com.apple.frontrow TrailerBypass && killall "Front Row