Archive for November, 2006

YouTube - Live Action Hamster Video Game

The music really helps making this worth watching.

Caution of Giving WordPress Its Own Directory

http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

This site provides great step-by-step instructions for sweeping the WordPress files out of the root and into a sub-directory. However, this may cause some vendor clients to choke when looking for the xmlrpc.php. This happened to me when trying to set up my “external blog” at bimactive.com

Assuming that the new folder you created is called wp, then the uri for the xmlrpc.php file is: http://yourserver.com/wp/xmlrpc.php. However, the html header generated by WordPress shows a link to http://yourserver.com/xmlrpc.php. Any app following this link will be sent a 404 error.

View the source of this page to see for yourself. At the bottom of the head tag is the following line:


<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.srhaber.com/xmlrpc.php?rsd" />

To work-around this problem, I created symbolic links at the root folder to point to the xmlrpc.php and wp-config.php files (wp-config.php is a dependency for xmlrpc.php)


ln -s wp/xmlrpc.php xmlrpc.php
ln -s wp/wp-config.php wp-config.php

This fix is simple, and prevents any unnecessary hacking of the WordPress core code.

Forerunner 305

Forerunner 305

I want this! I have the Forerunner 101, and it’s very nice. The 305 would make for a very nice upgrade…

iTerm

iTerm

I made the switch and started using iTerm today. I felt limited somehow with Terminal, and iTerm delivers more features with the added bonus of having a comforting cocoa-app look and feel.

The main productivity boost in iTerm comes from using the Bookmarks window. Essentially, I can create a bookmark for each server I ssh into on a regular basis. Then with a simple double-click, a new tab is created (another shortfall with Terminal) and the ssh command is issued with a prompt for my password. It’s pretty nice.

Bookmarks could also be used for issuing other common commands, such as starting a WEBrick server for rails development.

YouTube - Skateboarding Girls

this is just great

YouTube - Mr. Dumass

This commercial was great!

Installing the Zune… sucked - Engadget

Installing the Zune… sucked - Engadget

Wow this microsoft zune thingy sounds really freakin sweet! ;)

macosxhints.com - 10.4: Avoid dropped connections due to idle timeouts


macosxhints.com - 10.4: Avoid dropped connections due to idle timeouts

A useful thread for me since I’ve been having this problem. According to some comments, it could be related to my ISP, DNS, or even my router. I’ll take my chances though and test out this solution.

UPDATE
It works, but I had to edit the /etc/ssh_config file as sudo. The first option of creating a .ssh/config gave me permission errors upon ssh connection attempts.

ssh tunneling for CocoaMySql

I’m using CocoaMySql as a GUI for doing some db work. It’s much faster than PhpMyAdmin in my opinion.

To connect to remote servers, I needed to set up an ssh tunnel to get around the firewall.

To do this, I opened up a terminal window and typed:

ssh -N username@mysql.server.com -L 8888:127.0.0.1:3306

where username and mysql.server.com are replaced with the appropiate values

Then in CocoaMySQL, I connect with the following:
Host: 127.0.0.1
User: mysql user
Password: mysql password
Port: 8888

The port number is arbitrary, as long as it doesn’t conflict with any other open ports and matches the port used in the ssh command.

Thanks to this thread for providing the answers!