Help:
Anyone have any IP Geolocation software recommendations?
- MaxMind provides downloadable databases and updates
- Google provides an api called google.loader.ClientLocation
Firebug binds up and forces me to restart Firefox when modifying CSS.
- Try Safari or Webkit. You can add css styles to a class on an element by editing an existing element, finishing the current style with a semi-colon, and declaring a new style.
Interesting:
- Optional params to a lambda: declare the lambda with *args and get warning free lambda to which you can pass no arguments.
class MyClass
named_scope :in_progress, lambda { |*args| param = (args.empty? ? true : args.first); {:conditions => {:in_progress => param} }}
#MyClass.in_progress # < return all in progress records
#MyClass.in_progress(false) # < return all non-in-progress records
#MyClass.in_progress(true) # < return all in-progress records
end
Rubymine 2.0 RC2 is out. Release notes include better performance and reduced memory usage.
Pivotal Labs will be a stop on the Startup Crawl during Rubyconf.
I find the Firefox Web Developer add-on (https://addons.mozilla.org/en-US/firefox/addon/60) to be the easiest way to play with CSS.
November 13, 2009 at 9:14 pm
There’s a nice gem for accessing MaxMind’s data files:
* [http://gemcutter.org/gems/geoip](http://gemcutter.org/gems/geoip)
November 13, 2009 at 9:47 pm
Highly recommend MaxMind + GeoIP. Simple + Fast, no network connectivity dependency.
November 14, 2009 at 2:14 pm
Duncan Beevers , thanks for your tip! It was the most helpful!
February 9, 2010 at 8:03 am