Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...
To connect to the serial console of an EC2 instance, you can use the aws cli. Add your public ssh...
When RSpec sets out to print any given object to the console, it will never print more than 200 characters...
This release adds asynchronous compilers and many other features requested by the community. We also fixed a number of performance...
I had to modify the time for an application that I launch through Docker. Here is an approach that worked...
Most of the time, when you are interested in any log output, you see the logs directly on your console...
When RSpecs runs the first feature spec, you may see log output like this: Capybara starting Puma... * Version 6.5.0, codename...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
Frontend performance and user experience are orthogonal to feature development. If care is not taken, adding features usually degrades frontend...
We usually ship applications that self-host webfonts to comply with GDPR. Many popular web fonts are available as NPM...
If you need dummy data to play around with in development, it's often faster to reuse your existing factories...
Important wkhtmltopdf is deprecated and shouldn't be used anymore. Please consider switching to another tool We can install wkhtmltopdf...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...
There are several ways to run a single spec. I usually copy the spec file path with the line number...
Sometime we've seen this error when executing e.g. bundle exec rake asset:precompile: double free or corruption (out)
The key to unlocking the full potential of LLMs in coding lies in crafting precise prompts. The main challenge is...
Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background
Also see the list of IRB commands. Switching the context Changes the "default receiver" of expressions. Can be used to...
With Ubuntu 24.04 it's not longer possible to setup FDE with BTRFS The new installer won't offer you...
tl;dr When a cookie includes an Expires attribute or an HTTP response includes caching headers like Expires or Cache...
When Ruby objects are inspected in any modern IRB, some objects (like ActiveRecord instances) are rendered with neat colors and...
Capistrano 3 has a doctor task that will print information about Environment: Ruby, Rubygems and Bundler versions List of Capistrano...