Toyota Rav4 recall

11/16/2012 Update: Yep, I got letter from Toyota that my 2010 RAV4 is part of the recall. Crap!

My brother recently alerted me to this. Evidently the Rav4 rear suspension arm might come loose if the nuts holding it together are not tightened correctly.

Here is link to Toyota’s announcement about it.

Check VIN here to see if your Rav4 is part of recall.

August 01, 2012
Toyota Announces Recall of Certain RAV4 and Lexus HS 250h Vehicles

TORRANCE, Calif., August 1, 2012 — Toyota Motor Sales (TMS), U.S.A., Inc., today announced that it will conduct a voluntary safety recall involving 2006 to early 2011 model year RAV4 and 2010 model year Lexus HS 250h vehicles sold in the U.S. No other Toyota or Lexus vehicles are involved.

Approximately 760,000 Toyota RAV4
Approximately 18,000 Lexus HS 250h
Toyota has determined that if the nuts on the rear suspension arm are not tightened following the proper procedure and torque specification during a rear wheel alignment service, excessive play may occur at the threaded portion of the arm, followed by rust formation. If this were to occur, the threaded portion of the rear suspension arm may wear and cause the arm to separate.

Toyota is currently developing a remedy. Once the remedy is available, we will send a notification letter by first class mail advising owners to make an appointment with an authorized Toyota or Lexus dealer to have the remedy performed at no charge.

Detailed information and answers to questions are available to customers at www.toyota.com/recall and the Toyota Customer Experience Center (1 800-331-4331) or www.lexus.com/recall and Lexus Customer Satisfaction (1 800-255-3987).

Media Contacts:
Vehicle Safety and Quality Communications
Brian R. Lyons (310) 468-2552
John Hanson (310) 468-4718
Katy Soto (310) 468-8068
Toyota Motor Sales, USA, Inc. Media Line (310) 468-5297

dynamic robots.txt file in Rails 3.x

We have a need for dynamic handling of robots.txt file as we have different requirements for production, staging, dev, test, etc.

Google-fu shows various way to do this, some for Rails 2.x, some for Rails 3.x. Here is my version.

First is to edit config/routes.rb and add this line:


match '/robots.txt' => RobotsGenerator

Then add the following to app_root/lib/classes/robots_generator.rb.

NOTE: We have an old domain, foo.com, that redirects to our newfoo.com. We don’t want foo.com to get indexed, so I have special treatment for that in production

class RobotsGenerator
  # Use the config/robots.txt in production.
  # Disallow everything for all other environments.
  def self.call(env)
    req = ActionDispatch::Request.new(env)
    headers = {}
    body = if Rails.env.production?
      if req.host.downcase =~ /foo.com$/
        headers = { 'X-Robots-Tag' => "noindex,nofollow" }
        "User-agent: *\nDisallow: /"
      else
        File.read Rails.root.join('config', 'robots.txt')
      end
    else
        "User-agent: *\nDisallow: /"
    end

    [200, headers, [body]]
  rescue Errno::ENOENT
    [404, {}, "User-agent: *\nDisallow: /"]
  end
end

Finally, you want to move public/robots.txt to config/robots.txt.

I want to give credits to the people that inspired my version.

My Latest brites on Britely site

11/08/2013

Britely was purchased by Groupon in mid-2011.  I’ve went on to work somewhere.  Their site is gone, so all the links below are broken.

 


 

Did you know that you can create your very own Brites on Britely website?

 

This should always contain the most up-to-date list of all the brites I created and published on Britely.

 

[britely=http://www.britely.com/tinleorg2/funny-signs width=”460″]

[britely=http://www.britely.com/tinleorg2/do-you-feel width=”460″]

[britely=http://www.britely.com/tinleorg2/guide-to-online-streaming-video width=”460″]

[britely=http://www.britely.com/tinleorg2/dots-life width=”460″]

[britely=http://www.britely.com/tinleorg2/yoda-force-follow-it width=”460″]

The following has been making the rounds on Google+. I had a good laugh reading it, so wanted to share here.

=============================================

16 Things That it Took Me Over 50 Years to Learn (by Dave Barry)

1. Never, under any circumstances, take a sleeping pill and a laxative on the same night.
2. If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be “meetings.”
3. There is a very fine line between “hobby” and “mental illness.”
4. People who want to share their religious views with you almost never want you to share yours with them.
5. You should not confuse your career with your life.
6. Nobody cares if you can’t dance well. Just get up and dance.
7. Never lick a steak knife.
8. The most destructive force in the universe is gossip.
9. You will never find anybody who can give you a clear and compelling reason why we observe daylight savings time.
10. You should never say anything to a woman that even remotely suggests that you think she’s pregnant unless you can see an actual baby emerging from her at that moment.
11. There comes a time when you should stop expecting other people to make a big deal about your birthday. That time is age eleven.
12. The one thing that unites all human beings, regardless of age, gender, religion, economic status or ethnic background, is that, deep down inside, we ALL believe that we are above average drivers.
13. A person, who is nice to you but rude to the waiter, is not a nice person (This is very important. Pay attention. It never fails.)
14. Your friends love you anyway.
15. Never be afraid to try something new. Remember that a lone amateur built the Ark. A large group of professionals built the Titanic.
16. Final thought for the day: Men are like fine wine. They start out as grapes, and it’s up to the women to stomp the snot out of them until they turn into something acceptable to have dinner with.

— Dave Barry