Breakpoint-free fluid type and spacing with Tailwind and the utopia.fyi approach
History API states persist between reloads
In Ruby, curly braces can be omitted from hashes not only when the hash is the last argument of a method, but also when itβs the last item in an array: [1, 2, three: :four]
. Neat!
Ruby's Array#inquiry, Rails' truncate with block
Bricolage looks great: A free and open source variable font with French attitude and British mannerisms across 3 axis: weight, width & optical size
Hereβs an Apple Shortcut (for iOS & macOS) that exports podcast subscriptions to an OPML file, making it easier to switch away from Appleβs default Podcast app. Itβs based on the Shortcut created by Pocket Casts (thanks!), but skips the importing part and instead just downloads the file.
Run migrations after a deploy to Heroku. In Procfile
, add a release
command:
web: bin/rails server -p $PORT
release: rails db:migrate
Learnt via Justin Searlsβs The Selfish Programmer talk.
RailsInspire: a directory of patterns for Ruby on Rails apps. I particularly like the interface. It simply highlights the files needed to implement the pattern, including explanatory annotations. Really nice work from Jeremy Smith.
Nothing will ever be attempted if all possible objections must be first overcome.
Samuel Johnson