Monthly Archives: December 2009

Usage and Best Practices for RADIANT CMS-Part1

Addition of snippets to webpages : Consider snippet which has been created with name “site_footer”. In order to include this snippet either in any of the created webpages or any of the layouts you can use the command as given … Continue reading

Posted in CMS, Radiant | Leave a comment

Pune Rails Meetup #2

It was great to be a part of the Pune Rails Meetup which was held yesterday (19th December, 2009) at ThoughtWorks, Pune. It was an idea initiated by Anthony Hsiao of Sapna Solutions which has got the Pune Rails community … Continue reading

Posted in Conferences, Ruby on Rails | Tagged , | 21 Comments

Getting wired and wireless working on ubuntu 9.0.4

It might be the case that earlier wireless was working and then it stopped workingFollow the simple steps here…. 1. Restart networking sudo /etc/init.d/networking restart 2. Disable the “Support for Atheros 802.11 wireless LAN cards” on system/administration/Hardware Drivers, and reboot … Continue reading

Posted in General | Tagged , | 1 Comment

Hpricot scraping in ruby

Include gems/library required before getting started require ‘hpricot’require ‘net/http’require ‘rio’ # Pass website url to be scrapedurl = “”# Define filename to store file locallyfile = “temp.html”# Save page locallyrio(url) < rio (file) # Open page through hpricotdoc = Hpricot(open(file))Apply … Continue reading

Posted in Ruby | Tagged , , | 1 Comment