various tech ramblings

Categories: Science, GIS, Left, Numbers

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 »

999

Permalink Sep 09, 2009 18:39, by admin, Categories: Numbers
its 9-9-9 today and i'm a little bummed out that i had nothing special planned. just noticed. it could have been the opposite of 6-6-6 day. rats. this day will not happen again. so sad. but wait, 12-12-12 which is double-bad because its twice 6-6-6, oh y… more »
Leave a comment »

Cool Space Panoramas

Permalink Aug 03, 2009 22:53, by admin, Categories: Science
Wow! A site has some incredible pictures taken from the Apollo flights to the moon. Zooming in to check out the rover made me fell like I was there. Check it out here! more »
Leave a comment »

:: Next >>

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 free blog software