Git Product home page Git Product logo

ruby_learning_participants's Introduction

RubyLearning.org Participants' Countries

Snapshot

Ruby_Metaprogramming_5th_batch.png

Requirement

gem install mechanize
gem install nokogiri

Usage

  • Set your login user name, password and course name at line 10-12 of RL_participants_countries.rb
  login_form['username'] = "*****"  # input your login user name, i.e. "asakawa"
  login_form['password'] = "*****"  # input your login password, i.e. "12345"
  course = "*****"  # input course name, i.e. "Core Ruby 20th batch"
  #teachers = {'India' => 1, 'Japan' => 1, 'United States' => 1}
  • Execute RL_participants_countries.rb
ruby RL_participants_countries.rb
  • Will get the output like this:
>ruby RL_participants_countries.rb
United States
Brazil
Germany
Spain
Canada
United Kingdom
Australia
Italy
Austria
Mexico
India
Chile
New Zealand
Greece
Poland
Cambodia
Ukraine
Japan
Venezuela

18
7
5
4
4
3
3
3
2
2
2
1
1
1
1
1
1
1
1
>Exit code: 0

You will get a chart!

Good luck,
ashbb

ruby_learning_participants's People

Contributors

ashbb avatar perfectionist avatar satoshi-xx avatar douglasallen avatar geoff2k avatar jezreljane avatar keley avatar smtalim avatar rlgghc avatar grillety avatar kgolic avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.