Tutorials
Ruby wrapper for ‘espeak’ and ‘lame’ with sugar on top to create Text-To-Speech mp3 files.
Ruby wrapper for ‘espeak’ and ‘lame’ with sugar on top to create Text-To-Speech mp3 files. - dejan/espeak-ruby: Ruby wrapper for ‘espeak’ and ‘lame’ with sugar on top to create Text-To-Speech mp3.espeak-ruby is a small Ruby API for utilizing es...
Reading the uncompressed GZIP file size in Ruby without decompression - Closer to Code
There are cases where you have a compressed GZIP file for which you want to determine the uncompressed data size without having to extract it.For example, if you work with large text-based documents, you can either display their content directly i...
TIL: Queuing Sidekiq workers safely with the help of Isolator
Listening to a recent episode of the thoughtbot podcast, The Bike Shed, one of the hosts talked about a couple of gems that they'd come across that seemed pretty handy to me.The first is isolator, a gem by the folks over at Evil Martians that dete...
Setup Bulma CSS framework in your Rails application
In this tutorial, I will show you how to setup the CSS framework Bulma in a Rails applicationPrerequisitesRails 6.xCreate new rails projectGo to your terminal and execute rails new bulma-test. You can read the guide to Starting your Rails project ...
Using RequestStore with asynchronous I/O in Rails apps
Did you know it’s possible to write Rails apps using non-blocking, asynchronous I/O, the way Node apps work? Your app handles each web request in a fiber. Whenever that fiber fires off a blocking operation like a network call, it can yield the cur...