Interesting Thing About Microsoft Window OS
Do You know one thing?
You can't create con Folder in any Microsoft OS(Windows) Installed System.
It z True. Test It Now in Your System.
You May Wonder about it.
Ok bye
Enjoy Rails!
Ruby on Rails Blog for Chennai People
Do You know one thing?
You can't create con Folder in any Microsoft OS(Windows) Installed System.
It z True. Test It Now in Your System.
You May Wonder about it.
Ok bye
Enjoy Rails!
Code for Extracting Html Content of specific Website
Below code is used to extract the html content of specific site.
try this by just copy and paste the below code.
require 'open-uri'
require 'pp'
open('http://www.chennairails.blogspot.com') do |a|
# hash with meta information
pp a.meta
#
pp "Content-Type: " + a.content_type # meta content type
pp "last modified" + a.last_modified.to_s
no = 1
# print the first thousands lines
a.each do |line|
print "#{no}: #{line}"
no += 1
break if no > 1000 #no of lines
end
end
source: code snippets
Enjoy rails!
David A Black Blog
David's Blog Link- You can make comment on David Blog
ok bye
Enjoy Rails
Posted by
nkarthick
at
7:31 PM
0
comments
Useful Ruby Links
Ruby Garden
Site contain more information about Ruby Tutorials, Ruby Community, & more on...
Ruby Garden HomePage
Ruby Garden India Groups
Ruby User Groups around the world.: Even Chennai Rails also listed there.
Ruby Holic: List of Ruby Groups around the world.
Ruby Meet Up: Site contain information about Ruby Meetings takes place around the world.
Code Snippets : such a wonderful site having some great sample codes of Ruby,Rails, JavaScript & more.
ok bye
Enjoy Rails
Posted by
nkarthick
at
4:04 PM
0
comments
Labels: Java Script, links, Rails, Ruby