Skip to content
View mehdi-farsi's full-sized avatar

Block or report mehdi-farsi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mehdi-farsi/README.md
Welcome to my GitHub profile!

I'm Mehdi, the creator and sole maintainer of RubyCademy, a platform for learning and improving your Ruby and Rails skills.

I believe that learning should be accessible to everyone, which is why I share free content on social media, even though RubyCademy is a paid platform.

Where can you find me?

If you enjoy fun Ruby code, follow me on X.com/RubyCademy, where I share Ruby Cards, interesting challenges, and code examples daily!

I am always happy to connect with other developers, so feel free to reach out!

Thank you for taking the time to read my presentation!

💚

Pinned Loading

  1. make_it_snow.rb make_it_snow.rb
    1
    trap("SIGINT") { exit! }
    2
    
                  
    3
    total_width = `stty size`.scan(/\d+/)[1].to_i # terminal width
    4
    
                  
    5
    snowflakes = {}
  2. Count the lines of code of a rails p... Count the lines of code of a rails project - in pure Ruby
    1
    # Workflow:
    2
    #
    3
    # 1- if the path points to a directory
    4
    #   1.1- if the directory isn't in the exclusion list then: count LOC
    5
    #   1.2- else: prune directory
  3. activerecord-search activerecord-search Public

    A lightweight search engine using ActiveRecord

    Ruby 7 1

  4. wcr wcr Public

    A wrapper on wc command. Permit to execute `wc` recursively with a more flexible argument parser.

    Ruby 6