Skip to content

Instantly share code, notes, and snippets.

@wafiq
Created June 4, 2012 08:26
Show Gist options
  • Select an option

  • Save wafiq/2867226 to your computer and use it in GitHub Desktop.

Select an option

Save wafiq/2867226 to your computer and use it in GitHub Desktop.

Revisions

  1. Wafiq Rodzuan created this gist Jun 4, 2012.
    2 changes: 2 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    url = 'http://dl.dropbox.com/u/657235/filename.csv'
    codes = open(url).lines.first.split(/\r/)