Skip to content

Instantly share code, notes, and snippets.

@DmitryBash
Last active March 30, 2019 16:07
Show Gist options
  • Save DmitryBash/595c5806492d3600bef37557bf1e242a to your computer and use it in GitHub Desktop.
Save DmitryBash/595c5806492d3600bef37557bf1e242a to your computer and use it in GitHub Desktop.
ruby
https://github.com/rubocop-hq/ruby-style-guide
https://redisgreen.net/blog/pubsub-howto/ - redis pubsub
https://www.brianstorti.com/understanding-ruby-idiom-map-with-symbol/
https://www.youtube.com/watch?v=gIEMKOI_Y-4&t=1s - ruby 24 trics and tips
https://stackoverflow.com/questions/14881125/what-does-to-proc-method-mean
http://maximomussini.com/posts/ruby-to_proc/
https://bparanj.gitbooks.io/ruby-basics/content/part2/binding.html
https://www.reddit.com/r/ruby/comments/981kjw/10_ruby_tricks_we_should_use_to_improve_the_code/
https://www.driftingruby.com/episodes/random-ruby-tips-and-tricks
http://www.virtuouscode.com/2013/12/25/exception-causes-in-ruby-2-1/
https://robots.thoughtbot.com/ruby-2-keyword-arguments
https://www.sitepoint.com/understanding-scope-in-ruby/
http://ruby-doc.org/core-2.2.0/ObjectSpace.html#method-c-_id2ref
https://blog.codeship.com/tracking-object-allocations-in-ruby/
https://airbrake.io/blog/ruby-exception-handling/ruby-exception-classes
https://medium.com/@eric.programmer/arguments-for-included-modules-in-ruby-8056b9fa2743
https://apidock.com/ruby/v1_9_3_392/Enumerable/reduce
https://robots.thoughtbot.com/web
https://github.com/airbnb/ruby#nested-conditionals
https://stackoverflow.com/questions/7220634/how-do-i-use-the-enumerable-mixin-in-my-class
https://github.com/thoughtbot/til/blob/master/ruby/all-but-the-first-element-from-array.md
https://medium.com/@farsi_mehdi/alias-in-ruby-bf89be245f69
http://mitrev.net/ruby/2015/11/13/the-operator-in-ruby/
http://rubylearning.com/satishtalim/ruby_exceptions.html
https://blog.honeybadger.io/a-beginner-s-guide-to-exceptions-in-ruby/
https://stackoverflow.com/questions/4800698/what-is-the-difference-between-raise-foo-and-raise-exception-newfoo
https://habr.com/post/50151/
https://blog.appsignal.com/2018/04/10/rescuing-exceptions-in-ruby.html
https://www.youtube.com/watch?v=aISNtCAZlMg&t=13s - to_proc
https://github.com/octoai/redisListener/blob/master/redisListen.rb#L21 - redis pubsub
https://www.schneems.com/2015/05/11/how-ruby-uses-memory.html
https://airbrake.io/blog/ruby-exception-handling/stopiteration
http://rubylearning.com/satishtalim/mutable_and_immutable_objects.html
https://dou.ua/users/vladimir-vorobev/articles/ - ruby news
http://www.rubyguides.com/2016/02/ruby-procs-and-lambdas/
https://lonelyelk.ru/posts/24/
https://github.com/lbvf50mobile/exeptional_ruby_avdi_grimm
https://medium.com/roonyx/solid-ruby-ad046727ec26 - solid ruby
https://medium.com/@kopilov.vlad/%D1%86%D0%B8%D0%BA%D0%BB-%D1%81%D1%82%D0%B0%D1%82%D0%B5%D0%B9-%D0%BF%D0%B0%D1%82%D1%82%D0%B5%D1%80%D0%BD%D1%8B-%D0%BE%D0%BE%D0%BF-%D0%B2-ruby-46666b260303 - ruby oop
https://www.agiratech.com/10-ruby-tricks-we-should-use-to-improve-the-code/
https://www.digitalocean.com/community/tutorials/how-to-use-array-methods-in-ruby
https://medium.freecodecamp.org/six-ruby-array-methods-you-need-to-know-5f81c1e268ce
https://www.rubyguides.com/2017/10/7-powerful-ruby-methods/
https://www.smartly.io/blog/ruby-tricks-for-curious-developer?hs_amp=true
https://medium.com/@farsi_mehdi/metaprogramming-ruby-hook-methods-25b279042be5
https://launchschool.com/books/ruby/read/hashes
http://www.peachpit.com/articles/article.aspx?p=1278994&seqNum=8
https://medium.com/@nothingisfunny/sorting-arrays-in-ruby-375c547a5d6
https://habr.com/post/92570/ - grasp
https://www.rubyguides.com/2018/05/ruby-cohesion-and-coupling/
https://medium.com/nights-of-insomnia/object-oriented-programming-should-be-simple-263cf47c825f
https://robots.thoughtbot.com/ruby-2-keyword-arguments
https://medium.com/@tyler_brewer2/utilizing-ruby-keyword-arguments-462ba8366483
https://stackoverflow.com/questions/28746767/pass-hash-to-a-function-that-accepts-keyword-arguments
https://github.com/rubocop-hq/ruby-style-guide#classes--modules
https://medium.com/@raycent/ruby-clone-vs-dup-8a49b295f29a
https://stackoverflow.com/questions/33326166/what-is-a-good-practice-for-dependency-injection-in-ruby
https://habr.com/post/308188/ - DI ruby
http://rubyblog.pro/2016/10/ruby-dependency-injection
https://gist.github.com/blairanderson/8072d951a480a590f0bd
https://hokstad.com/why-coupling-is-always-bad-cohesion-vs-coupling
https://github.com/piscolomo/ruby-patterns#composite
https://github.com/nslocum/design-patterns-in-ruby#decorator
https://blog.honeybadger.io/how-to-try-again-when-exceptions-happen-in-ruby/
https://rubyreferences.github.io/rubyref/builtin/core/fiber.html
https://medium.com/@nakshtra17/ruby-design-pattern-composite-method-52406f8dd0c5
https://stackoverflow.com/questions/5030553/ruby-convert-object-to-hash
https://thecodebarbarian.com/i-dont-want-to-hire-you-if-you-cant-reverse-a-binary-tree
https://medium.com/@farsi_mehdi/5-ruby-tips-you-probably-dont-know-76fee34cfd0c
https://www.rubyguides.com/2018/10/method-visibility/
https://www.monterail.com/blog/repository-pattern-active-record
https://medium.com/@lfv89/ruby-and-rack-the-beginning-739a0260ad08
http://ruby-for-beginners.rubymonstas.org/writing_methods/return_values.html
https://ruby-doc.org/core-2.3.0_preview1/Hash.html#method-i-dig
https://engineering.gusto.com/memoization-in-ruby-made-easy/
https://www.justinweiss.com/articles/3-ways-to-configure-your-ruby-api-wrappers/
https://www.toptal.com/ruby/ruby-dsl-metaprogramming-guide
https://revs.runtime-revolution.com/building-a-dsl-in-ruby-part-1-d210a785477b
https://hasno.info/ruby-gotchas-and-caveats/
https://www.google.com.ua/search?q=ruby+how+to+write+dsl&oq=ruby+how+to+write+dsl&aqs=chrome..69i57j0j69i64l3.4778j1j7&sourceid=chrome&ie=UTF-8
https://stackoverflow.com/questions/51021/what-is-the-difference-between-raising-exceptions-vs-throwing-exceptions-in-ruby
https://blog.honeybadger.io/a-beginner-s-guide-to-exceptions-in-ruby/
https://www.exceptionalcreatures.com/guides/advanced-rescue-and-raise.html
http://rubydev.ru/2011/05/rubydev-ruby-tutorial-7_exceptions_in_ruby/
https://docs.ruby-lang.org/en/2.4.0/syntax/exceptions_rdoc.html
http://phrogz.net/ProgrammingRuby/tut_exceptions.html
https://stackoverflow.com/questions/37799296/what-does-the-comment-frozen-string-literal-true-do
https://ruby-doc.org/stdlib-2.2.2/libdoc/rake/rdoc/Rake/DSL.html#method-i-import
http://rubylearning.com/satishtalim/ruby_inheritance.html
http://rubyblog.pro/pages/books
https://blog.lelonek.me/how-to-delegate-methods-in-ruby-a7a71b077d99
https://dev.to/t/ruby
https://stackoverflow.com/questions/1801516/how-do-you-add-an-array-to-another-array-in-ruby-and-not-end-up-with-a-multi-dim?rq=1
https://stackoverflow.com/questions/9429819/what-is-the-functionality-of-operator-in-ruby/9429972#9429972
https://gist.github.com/lbvf50mobile/97caff70861f84773deb08803b915d11 - to_proc
https://habr.com/post/143990/
https://rubymonk.com/learning/books/4-ruby-primer-ascent/chapters/39-ruby-s-object-model/lessons/131-singleton-methods-and-metaclasses
https://www.rubyguides.com/2016/02/ruby-procs-and-lambdas/
https://github.com/uohzxela/clean-code-ruby - Must have
https://github.com/bogdan/interview/tree/master/ruby
https://github.com/rstacruz/cheatsheets
https://www.google.com.ua/search?q=ruby+GC&oq=ruby+GC&aqs=chrome..69i57j0l5.1158j0j7&sourceid=chrome&ie=UTF-8 - GC RUBY
https://www.speedshop.co/2017/03/09/a-guide-to-gc-stat.html
https://ruby-hacking-guide.github.io/gc.html
https://ruby-doc.org/core-2.2.3/ObjectSpace.html#method-c-garbage_collect
https://www.youtube.com/watch?v=aISNtCAZlMg - to_proc
https://www.youtube.com/watch?v=by5fFOBhtPQ&t=1s - Ruby object model
https://www.youtube.com/watch?v=gIEMKOI_Y-4&t=4s - ruby tips and tricks
https://www.youtube.com/watch?v=VBC-G6hahWA&t=1s - procs and lambdas
http://blog.hasmanythrough.com/2006/3/7/symbol-to-proc-shorthand
https://stackoverflow.com/questions/14881125/what-does-to-proc-method-mean
https://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Method_Calls#The_ampersand_.28.26.29
https://www.toptal.com/ruby/hunting-ruby-memory-issues
https://robots.thoughtbot.com/announcing-upcase-is-free
https://blog.honeybadger.io/profile-your-gem-memory-usage-with-derailed/
https://www.rubyguides.com/2018/11/ruby-alias-keyword/
https://www.rubyguides.com/2018/11/dup-vs-clone/
https://blog.arkency.com/2014/01/ruby-to-enum-for-enumerator/ - Must have
https://ruby-doc.org/core-2.5.3/Enumerator.html
https://idiosyncratic-ruby.com/42-ruby-config.html
https://launchschool.com/blog/references-and-mutability-in-ruby - Must have
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment