sudo gem install geoip
require 'geoip'GeoIP.new('GeoLiteCity.dat').country('www.atlantis.sk')=> ["www.atlantis.sk", "217.67.18.26", "SK", "SVK", "Slovakia", "EU", "02", "Bratislava", "", 48.15, 17.1167, nil, nil, "Europe/Bratislava"]
Source: https://habr.com/ru/post/102119/More articles:Fragment of the discussion of the translation of the "computer hockey" into Russian in an echo conference Ru.Hokku in October 2003User RenewalCreating an FB2 version of the latest issue of a magazine / newspaperThe crisis in the economy and ethics in businessRIP "Well, Wait!" Or copyright storyR. Feynman "The nature of physical laws" (second lecture)Features of using GD-lib on PHP hosting with limited resourcesYour Web-PDF printer in 10 minutesSports Tracker Service OverviewA study of simple crackme's (part 3)All Articles