Cloud Computing: The Digital Shift 2.0 – Understanding the Current Market Trends

joshteam

Getting wired and wireless working on ubuntu 9.0.4 – Josh Software

Getting wired and wireless working on ubuntu 9.0.4 – Josh Software It might be the case that earlier wireless was working and then it stopped working Follow 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 your box. 3. …

Getting wired and wireless working on ubuntu 9.0.4 – Josh Software Read More »

Hpricot scraping in ruby – Josh Software

Hpricot scraping in ruby – Josh Software Include gems/library required before getting started require ‘hpricot’ require ‘net/http’ require ‘rio’ # Pass website url to be scraped url = “www.funonrails.com” # Define filename to store file locally file = “temp.html” # Save page locally rio(url) < rio (file) # Open page through hpricot doc = Hpricot(open(file)) …

Hpricot scraping in ruby – Josh Software Read More »

Passing commandline parameter (arguments) to ruby file using optparser – Josh Software

Passing commandline parameter (arguments) to ruby file using optparser – Josh Software Ruby file accepts from command prompt in the form of array. Passing parameters ruby input.rb TOI DH TimesNew Accessing parameters # input.rb p ARGV # => [“TOI”, “DH”, “TimesNew”] p ARGV[0] # => “TOI” p ARGV[1] # => “DH” Optparser : parses commandline …

Passing commandline parameter (arguments) to ruby file using optparser – Josh Software Read More »

How to get all associted models of rails model – Josh Software

How to get all associted models of rails model – Josh Software I have Site Model and i wanted to find all associated models of Site model which are having belongs_to relationship.After doing lot headache, here is the solution i found has_many models of Site Model Site.reflect_on_all_associations.map{|mac| mac.class_name if mac.macro==:has_many}.compact => [“Layout”, “User”, “SubmenuLink”, “Snippet”, …

How to get all associted models of rails model – Josh Software Read More »

Flash games

Flash games 3rd worm game———————-http://www.layoutshack.net/games/puzzle/1.swfFlash Puzzle Games Racing Game———————- http://www.layoutshack.net/games/racing/2.swfFlash Racing Games

cloud native app development

Cucumber Configuration with Radiant – Josh Software

Cucumber Configuration with Radiant – Josh Software Configuring cucumber with Radiant Application: The command  > ruby script/generate cucumber does not succeed in case of Radiant application. Issues encountered: The command  >ruby script/generate cucumber cannot be executed. It gives error “Couldn’t find ‘cucumber’ generator” Possible reason & solution: Seems that this is because Radiant Application does …

Cucumber Configuration with Radiant – Josh Software Read More »

search engine

How to submit sitemap to search engines – Josh Software

How to submit sitemap to search engines – Josh Software There are many ways that can be used to submit sitemap to search engines. Lets discuss approaches 1. Put sitemap.xml in public folder and you are done. Crawlers will find it through url http://yourdomain.com/sitemap.xml 2. There are many online sites which generates sitemaps for you. …

How to submit sitemap to search engines – Josh Software Read More »