various tech ramblings

Category: GIS

Passing Ruby vars to Javascript

Permalink Jun 10, 2010 12:50, by admin, Categories: GIS
It may not be the best way of doing things, but it is the way I am doing it. I need to pass a Ruby variable to a javascript function, here's how: <% @x = "#{params[:shortened_url]}" %> <a href="javascript:task('<%= @x -%>')">Do it&l… more »
Leave a comment »

New Installation Headaches

Permalink Jun 04, 2010 22:59, by admin, Categories: GIS
I need to have a Linux instance running for a Rails app that I am to fix. That means I need Ruby, Rails, and MySql. Not sure yet about apache-passenger.Headache city as I know more about software then installation of these. I have done it before on a w… more »
Leave a comment »

Geolocation and PHP

Permalink May 28, 2010 16:48, by admin, Categories: Programming, GIS
Geo location is now so easy: $geo = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR'])); print_r($geo); echo "City: " . $geo['geoplugin_city']; ... Thanks geoPlugin! more »
Leave a comment »

Map Aitmachamh

Permalink May 21, 2009 18:56, by admin, Categories: Science, GIS
I spent a wonderful weekend out at Ait macnamh last weekend and some thoughts occurred to me. I went for a walk around the quarter section of land (160 acres or ½ mile per side or ¼ sq miles.) Anyways, as I walked it it occurred to me that I would be int… more »
Leave a comment »
September 2010
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
things that are of a technical nature that i find interesting and find time to write about

Search

Robs Fav Links

Places I like to visit:
powered by b2evolution free blog software