https://github.com/trizen/ruby-scripts
A small collection of Ruby scripts.
https://github.com/trizen/ruby-scripts
ruby-scripts
Last synced: 5 months ago
JSON representation
A small collection of Ruby scripts.
- Host: GitHub
- URL: https://github.com/trizen/ruby-scripts
- Owner: trizen
- License: gpl-3.0
- Created: 2015-02-18T11:11:46.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-30T17:58:23.000Z (over 3 years ago)
- Last Synced: 2025-03-03T02:28:32.935Z (10 months ago)
- Topics: ruby-scripts
- Language: Ruby
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ruby-scripts
A small collection of day-to-day Ruby scripts used in solving problems or in implementing some elegant solutions to old problems.
# Summary
* Math
* [Binary addition](./Math/binary_addition.rb)
* [Count primes bellow n](./Math/count_primes_bellow_n.rb)
* [Is even perfect number](./Math/is_even_perfect_number.rb)
* [Is happy number](./Math/is_happy_number.rb)
* [Is perfect square](./Math/is_perfect_square.rb)
* [LambertW function](./Math/LambertW_function.rb)
* [Long addition](./Math/long_addition.rb)
* [Modular exponentiation](./Math/modular_exponentiation.rb)
* [Nth molecular number](./Math/nth_molecular_number.rb)
* [Roman numerals decode](./Math/roman_numerals_decode.rb)
* [Roman numerals encode](./Math/roman_numerals_encode.rb)
* Text
* [Longest common prefix](./Text/longest_common_prefix.rb)
* [Smart word wrap](./Text/smart_word_wrap.rb)
* [Smart word wrap lazy](./Text/smart_word_wrap_lazy.rb)