React Native <Select> component with search field
10 May 202211 minutes read
There is no built in component in React Native, that properly enables selecting an item from a longer list. There are some 3rd-party solutions, but I found them either not really suitable for small mobile devices (for example producing hard to use dropdowns) or not flexible enough, so here is another take, including an (optional) live search.
Dark color scheme for Ruby on Rails errors
27 Apr 20191 minute read
A small contribution to Ruby on Rails, which enables it to regard the OS setting for dark/light appearance when displaying errors.
Paginate stateful tabs in Ruby on Rails with Pagy
19 Jun 20185 minutes read
This is a how-to guide for the Rails gem Pagy, using the built-in
compactextra, that offers a lot of flexibility to build a great pagination UI.
Get Amazon S3 bucket item number and filesize for more than 1000 items with the AWS Ruby SDK
16 Apr 20162 minutes read
Getting the overall number and filesize quota of all your items in an S3 bucket is more complicated than you’d think, especially if your bucket contains more than a thousand items.