boolFirstRun::SearchEngineSelectorDisallowed(){// For now, the only case in which the search engine dialog should never be// shown is if the locale is Russia.std::stringlocale=g_browser_process->GetApplicationLocale();return(locale=="ru");}
In Soviet Russia, web browser sets search engine for YOU!
#!/usr/bin/rubyrequire'date'puts"Enter your birthdate (YYYY-MM-DD):"birth=Date.parse(gets,true)today=Date.todayage=today-birth# in daysmin_age=(2*(age-7*365.25)).roundmax_age=(age/2+7*365.25).roundmin_birth=Date.today-min_agemax_birth=Date.today-max_ageputs"Your age pool is #{min_birth.to_s} - #{max_birth.to_s}"puts"You're too young ^__^"ifmin_birth>max_birth