Sunday, February 14, 2010

Tuesday, January 5, 2010

No Permission crossdomain.xml

So.. what exactly does crossdomain.xml do ?

"A cross-domain policy file is an XML document that grants a web client—such as Adobe Flash Player (though not necessarily limited to it)—permission to handle data across multiple domains. When a client hosts content from a particular source domain and that content makes requests directed towards a domain other than its own, the remote domain would need to host a cross-domain policy file that grants access to the source domain, allowing the client to continue with the transaction. Policy files grant read access to data as well as permit a client to include custom headers in cross-domain requests." from adobe.com

If you had enough of seeing all the routing errors on "/crossdomain.xml" in your logs,
you need to place a "NO PERMISSION" crossdomain.xml specifications.

Simply put the following content on "public/crossdomain.xml" file in your app:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">

<cross-domain-policy>
<site-control permitted-cross-domain-policies="none"/>
</cross-domain-policy>
That's it, Access will be explicitly be denied to everyone.

Tuesday, December 29, 2009

Did you mean: recursion ?

Search for the word: "recursion" on Google.

http://www.google.com/search?q=recursion

Now click the "Did you mean" Link.

Click again.

Repeat ;)

Friday, November 13, 2009

What does 'Ahava' means in Suomi (Finnish)

I decided to verify the old rumor about the word Ahava in Finnish.

Ahava (אהבה) in Hebrew means love, but apparently it also has a meaning in Suomi, the Finnish language.

From:
http://translate.google.com/translate_t#fi|en|ahava

noun
  1. march wind
  2. weather-beaten


Niceee :)

Sunday, November 8, 2009

The Funniest Rails exception EVER



While reading today one of my favorite Ruby on Rails blogs,
I encountered this funny Rails exception:

Exception Caught in EladMeidar#life

uninitialized constant Sanity

Knowing Elad first hand, and his hilarious sense of humor, I guess this is probably his new ingenious blog template.

But who know ;)
:popular_tags => [ruby, rails, ruby-on-rails, רובי-און-ריילס, console,,tricks, youtube, links, screeshots, toturials],
:email_me => 'shmuel@ahdut.com',
:subscribe_to_rss => ,
:sites => [pawst.com, urlazy.com],
:sponsored_by =>