Archive

Archive for October, 2009

Subversion Backup and Recovery

October 29th, 2009

I wanted to convert one of our production machines from Fedora to Ubuntu server. One of the services this machine was running was subversion.

I both tarred up the repository directory and used ’svnadmin dump’ to backup the repository. I scp’ed both files to another server.

Upon recovery I wanted to use the dump but the dump file became corrupted.

Luckily, there’s an easy way to recover from a repository file backup. I just untarred the repository and used

1
svnadmin recover <repo path>

It worked great!

  • Share/Bookmark
Author: alex Categories: IT, Tech Tags:

Turn Off Wordpress PHP Error Display

October 22nd, 2009

After updating Wordpress and my devformatter plugin, I noticed some errors popping up from the geshi libraries:

1
2
[22-Oct-2009 14:00:12] PHP Warning:  array_keys() [<a href='function.array-keys'>function.array-keys</a>]: The first argument should be an array in ***/geshi.php on line 3502
[22-Oct-2009 14:00:12] PHP Warning:  Invalid argument supplied for foreach() in ***/geshi.php on line 3502

This was actually displaying in the blog posts, which is bad for a number of reasons, including security.

You can turn off php error logging by finding your wp-config.php file, usually in your Wordpress document root, and adding the following lines:

1
2
@ini_set('log_errors','On');
@ini_set('display_errors','Off');
  • Share/Bookmark
Author: alex Categories: IT Tags: , , , ,

Dollar Rent a Car Will Rip You Off

October 22nd, 2009

Lesson learned: Dollar Rent a Car will try to rip you off.

My girlfriend and I arrived in Las Vegas ready for a great trip. Two weeks hiking around the grand circle. We had our rental car arranged and the price set.

We waited in line at Dollar for an hour while one clerk serviced the 40 people in front of us. This was starting off well. But hey, it was the cheapest.

We finally get up to the desk. I know the drill: just answer no, no, no to everything. So I did.

clerk: "Do you want insurance?"
me:    "No thanks, we don't need insurance. We have our own insurance."
clerk: "Do you want daily coverage?"
me:    "No. AAA will cover us for that."
clerk: "Do you want...?"
me:    "No. No. No."
clerk: "Ok, initial here, here, here."

I’m in a rush to get out of there at this point so I initial and we’re on our way.

The trip is great, we see lots of shit, I’m happy.

We get back to the northeast and find that Dollar charged us $340 more than we bargained for. They hit us up for an “LDW” charge, or Loss Damage Waiver. What the fuck?

I call them several times, dispute the charges online, send faxes with our original confirmation and price quote. I get the same bullshit: “Sorry. You initialed. We won’t reverse the charges.”

Ok, I did initial. I was in a rush. I didn’t read the fine print. Shame on me. But I did tell the clerk at least three times I didn’t want that garbage insurance or LDW and I have a confirmation letter from Dollar stating we would be charged $340 less!

I guess I’ll have to take this one because, well, Dollar scammed me legitimately. I initialed. Nonetheless it’s still a scam. I feel insulted and pissed.

My takeaways from this experience:

  • Dollar Rent a Car will try to rip you off with LDW charges – buyer/renter beware definitely applies
  • The customer is not so important as a person but is very important as a wallet
  • The immediate bottom dollar is much more important than long term revenue or return revenue

Dollar has lost my business, my friends’ business, and hopefully your, the reader’s, business.

Check these links for other customer experiences or search google for “dollar rent a car scam”:
http://www.complaintsboard.com/bycompany/dollar-rent-a-car-a59315.html
http://www.rateitall.com/i-7022-dollar-rent-a-car.aspx
http://www.consumeraffairs.com/travel/dollar_rates.html
http://www.complaintsboard.com/complaints/dollar-rent-a-car-c265415.html
http://www.planetfeedback.com/dollar+rent+a+car+systems+inc/billing/payment/dollar+rent-a-car+insurance+cost+fraud/179207

  • Share/Bookmark
Author: alex Categories: Misc Tags: , , , , ,

Windows XP Remote Desktop Broken

October 7th, 2009

After a recent windows update I found my remote desktop was broken. I did some troubleshooting and packet sniffing and still couldn’t track the problem down.

Finally I stumbled upon this post, which fixed my problem.

It turned out that an nvidia driver update broke RDP. Updating the driver to the latest WHQL fixed the problem.

I love windows updates, they usually break more than they fix.

  • Share/Bookmark
Author: alex Categories: IT, Tech Tags: , , , ,