Mercurial and 404

I just started working with Mercurial source control at my new job. So far so good. I moved from developing on my Mac to working on Ubuntu 10.04 LTS. I installed the default instance of Mercurial and got the out of the box version 1.4 ( or there abouts ). As I tried to clone a repo that cloned just fine on the Mac I kept on getting this error:

abort: HTTP Error 404: Not Found

I searched around a bit ( I still can’t bring myself to use the verb Googled as I was a loyal Yahoo for 11 years ) and wasn’t able to find anything that directly solved my problem. I compared the version I had running on Mac which was ~2.0. I started to wonder if the version skew was the culprit. I up’d my Ubuntu version using the instructions here:

  • sudo add-apt-repository ppa:mercurial-ppa/releases
  • sudo apt-get update
  • sudo apt-get install mercurial

I tried again and Viola… it worked. Hope this helps others.

Posted in programming, Rambling, Work | Tagged , , | Leave a comment

Remove .svn files recursively

I keep having to look this up again…..

find . -type f -name “*.svn” -exec rm ‘{}’ \; -print

Thanks to: http://blog.simongregory.com/12/recursively-remove-svn-files/

Posted in Uncategorized | Leave a comment

Rest Client for Firefox – Sample POST Request

I was having fits getting the REST Client for Firefox to let me create a post body where PHP would recognize the parameters I was trying to post. I added them to the “request body” but my REST server wasn’t showing that I was even posting anything.

I found out that you have to set the “request header” section of the Firefox plugin to have a “name” = “Content-Type” and “value” = “application/x-www-form-urlencoded”. Then I was able to put something like “name=themayesfamily” in the “request body” and my server found a post variable with called “name” with the value I’d set.

Hope this helps some others.

Posted in programming | Tagged , , , , | 3 Comments

Setup Twiki with 1 and 1

Here’s a link to a twiki that describes how to setup a twiki :)

http://twiki.org/cgi-bin/view/Codev/TWikiOnWebHost1and1

This is specific directions for setting up twiki 4.x on a 1and1 shared hosting account.

Posted in Uncategorized | Leave a comment

NFS Client For Windows 7

I was trying to enable NFS on my windows 7 machine. Seems like only Ultimate and Professional have it available. Luckily I fit the bill. Here’s where to find and enable it:

This service is not installed by default and should not be installed on a “home” system. You can add or remove this service by heading to:

1. Head to Start
2. Select Control Panel
3. Select Programs
4. Select Programs and Features
5. Select Turn Windows Features on or off
6. Find the section “Services for NFS”

Default Path and Command Line Options

C:\Windows\system32\nfsclnt.exe

Posted in Uncategorized | Leave a comment

Setting Up Port Forwarding in Ubuntu VMWare

Found this great post as I’m trying to forward remote desktop connections to a Windows 7 guest OS. I’m using the NAT network type ( yes I thought of using bridged but there are network level complications out of my control ). Anyway this looked promising and I’m going to give it a shot:

http://ubuntuforums.org/showpost.php?p=4537013&postcount=6

Posted in port forwarding, Ubuntu, Vmware | Leave a comment

Fishing reports

Was looking for fishing reports here in CA so I figured I start to put a list together here:

http://www.usafishing.com/klamath.html

http://fishing.blogs.pressdemocrat.com/10355/extended-fishing-report-for-aug-23/

Posted in Uncategorized | Leave a comment

Bizzare Foods w/ Andrew Zimmerman

Andrew Zimmerman Singapore

I was watching the travel channel “Andrew Zimmerman Bizarre Foods” episode the other day with some friends. There was a section on eating the chicken version of Rocky Mountain Oysters. I couldn’t believe the size of the organ compared to the size of the animal ( I forgot I was applying mammalian standards ). I went on a quest to find an anatomical diagram of a rooster somewhere on the web. I searched all over and finally found something. Sharing it here with everyone not that anyone else will every wonder about the same thing. Crazy that in our digital Google age finding something like this can be so hard.

http://animalsciences.missouri.edu/reprod/AnatomyMale/poultry/index.htm

Posted in Uncategorized | Leave a comment

Tennessee Wedding

I’m getting married in Tennessee in the spring. Looking at what I needed to get a marriage license there I came across this wonderful tidbit:

Cousin Marriages:
Yes. A marriage to a first cousin is allowed.

Posted in Uncategorized | Leave a comment

File Dialog Popup EclipsePHP

Eclipse PHP was giving me fits. Every time I switched between tabs of files the file open/save dialog kept popping up. I tried to change file associations since I thought that was the problem but the issue remained.

I couldn’t find any posts on the web and then finally I found one. It said something about stopping Eclipse from doing previews. I searched through the options and couldn’t find anything right away. I finally followed:

Window (menu option) -> PHPEclipse Web Development -> “Browser Preview Default”.

Un-Check both of the options. After that the pop up went away.

Hope it works for someone else.

Posted in Uncategorized | Tagged , , , , | Leave a comment