Elias Baixas

Results 5 issues of Elias Baixas

This is my monkey patch :P ``` Color::RGB.class_eval do def self.from_rgba(rgba) r,g,b = *rgba.scan(/\d+/).map(&:to_f) self.new(r,g,b, rgba.match(/%/) ? 100 : 255) end end ```

Ruby 3.2 deprecated File.exists? but File.exist? is available in 3.2 and earlier versions.

https://github.com/twitter/typeahead.js/blob/588440f66559714280628a4f9799f0c4eb880a4a/dist/typeahead.bundle.js#L1723 the addition of suggestions.length to the "rendered" variable, should be done AFTER appending the suggestions, that._append(query, suggestions.slice(0, that.limit - rendered)); because otherwise that.limit is equal to rendered, and NOTHING...

I'm trying to share some images on Buffer that happen to be data-uris, buffer is unable to share those.

## The problem I am proxying the searchkit requests through a Rails controller, but it breaks because Rails tries to parse the request.body as json (as the content-type: application/json suggests)....