Sunday, May 30, 2010



Really digging this song for some reason.

Tuesday, May 25, 2010

Home Screen and iBooks

Home Screen

Home Screen (Wallpaper by mandolux)

Wallpaper by mandolux.

iBooks Shelf

iBooks Shelf

Almost looks like my real life bookshelf.

iPad Goodness

Got my iPad last night, and it's an amazing piece of technology. I've barely gotten much hands-on time with it between synching and letting everyone I know try it out.

It's pretty popular at home and at the office, so I'm going to put it through its paces and hopefully get out another post about it in a week or so.


BTW, this post was written on my iPad using a bluetooth keyboard.

Thursday, May 20, 2010

Android Prototype from 2007

http://gizmodo.com/334909/google-android-prototype-in-the-wild

This what a "smartphone" was supposed to look like before the iPhone hit the scene.

(via The Log)

Tuesday, May 18, 2010

scp doesn't support resuming? Use rsync

Since scp doesn't support resuming an interrupted download, rsync is the way to go for getting files from one place to another. And it's other functions are pretty good too.

Here's the command:

     rsync --partial --progress --rsh=ssh  :/target/directory


If you're not using the default ssh port, then you can do --rsh='ssh -p3022'

Monday, May 17, 2010

The New Macbook

The New Macbook is now more powerful than my 2007 15" Macbook Pro, which was top of the line when I bought it.


  • New Macbook vs 2007 15" Macbook Pro
  • 2.4GHz vs 2.33GHz (Core 2 Duo)
  • Up to 4GB Memory vs Up to 3GB Memory
  • 256MB Nvidia GeForce 9400M vs 256MB ATI Radeon X1600
  • 1066MHz FSB vs 667MHz FSB

Access Gmail POP via the command line

Since Google only supports connection using SSL, you can't just telnet to the relevant port (which is 995 instead of 110).

In order to connect, we need to make use of SSL.

In a nutshell, here's the command:

     openssl s_client -connect pop.gmail.com:995 -CApath /System/Library/OpenSSL/certs

I'm using the cert directory on Mac OS X. You'll need to put the path to your own cert directory depending on your OS (usually /etc/ssl/certs on linux).

Sunday, May 16, 2010

Wednesday, May 12, 2010

X11 Forwarding after sudo

Normally, you can do the following:
ssh -X user@host
However, if you need to su - root after logging in, the X11 forwarding setup by ssh will no longer be valid.
Do the following:
<as user> $ echo $DISPLAY
<note down the value>
<as root> # export DISPLAY=<the value noted earlier>
This will set the proper display. However, the Xauthority will not match. To fix that do the following:
# cp /home/<user>/.Xauthority /.Xauthority 
(or wherever the root home directory is)

Tuesday, May 11, 2010

Movist vs Quicktime

Movist

Movist

  • automatically plays all similarly named video files in the folder (movie1, movie2, etc.)
  • option to open at 2x size
  • can turn volume up 4x past max
  • no scroll-wheel scrubbing, used for volume instead like vlc
  • double-click maximizes, like vlc

Quicktime

  • scroll-wheel scrubbing

Yeah, Movist wins.