Being president is a stressful job and as you can see, it can have a real impact on aging the President prematurely. Maybe Obamba may turn into Morgan Freeman, but what will McCain turn into?


presidential_aging.jpg
Categories: Humor
Posted: June 25, 2008 11:25 AM | Perm Link
The problem with all natural peanut butter is all that tasty peanut oil comes to the top of the container. When I tried to stir the oil back into the peanut butter some of the oil would slosh out of the jar. A friend suggested a good way to combat this was to store the peanut butter container upside down in the pantry when you get it home from the store. When you open it, all the oil is at the bottom and easier to stir in without sloshing. Once it is opened up we stick it in the refrigerator right side up and it pretty much stays combined.
Categories: Things I Know
Posted: March 6, 2008 10:04 AM | Perm Link
We were out to eat tongiht a a mediocre burger place and noticed they had a claw game. But this one enticed you with candy instead of toys. We were seated near it and many people attempted to buy a candy bar but non succeeded.candyclaw.jpg
Categories: Humor
Posted: October 13, 2007 10:29 PM | Perm Link
I just recently heard about Symfony, an MVC framework for PHP.  I've been going through the tutorials and it seems pretty well put together.  They have an online book with a ton of documentation. The tutorials seems very well done and professional. Checkout the 24x1 hour 'advent' tutorial for creating a Yahoo Answers type application, askeet.com.
Categories: Programming
Tags: php programming web
Posted: October 7, 2007 3:02 PM | Perm Link
I recently tried to get Mail.app in OSX 10.4.10 working with IMAP with SSL over an SSH tunnel and ran into nothing but problems.  I had an ssh tunnel setup mapping a port on my local network to the IMAP SSL port.  Since I am not starting tunnels as root, my local port has to be >1024, so I picked 2993 locally forwarding to the remote IMAP SSL host on port 993.  Mail.app appears to let you specify a Port in the Advanced tab in Accounts configuration.  However, it seems to not have any effect.  Running tcpdump on the host with my tunnel confirms that Mail does use the port specified at least initially, but it doesn't use it for communication.  Regardless of what you put in the Port #, if you have "Use SSL" checked it will force itself to use tcp port 993. 

I don't know of a workaround in Mail itself.  I tried checking the prefs files by hand and the custom port is listed properly but just is not used.  My solution was to setup netcat to just forward the port 993 on the host where the tunnel is running to the tunneled port.

My tunnels run on a debian linux machine so I just setup an inetd entry like this:
    imaps   stream  tcp     nowait  root    /usr/sbin/tcpd /bin/nc localhost 2993

If you run your tunnels on OSX directly, check out Lingon (an open source utility for creating launchd config files) and setup a launchd entry to run netcat for you.
Categories: OS X Tips
Tags: osx mail.app ssh imap ssl
Posted: October 7, 2007 2:49 PM | Perm Link
 
This is a Flickr badge showing public photos from pdm tagged with badge. Make your own badge here.
  • Recent Interesting Links
  • The requested page could not be found.

    require_once(/home/realpdm/lib/php/magpierss/rss_fetch.inc) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory