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...
Quick reference for passing data from Rails to JavaScript via Unpoly compilers. Haml Attribute Syntax # Ising hash rockets and string...
Quick guide for frequently used compiler selector patterns of Unpoly. 1. BEM Component Pattern When: Reusable UI components with multiple...
prettier calls itself an opinionated code formatter. I recommend using it for your JavaScript and TypeScript code. prettier only concerns...
Most of the time, when you are interested in any log output, you see the logs directly on your console...
The DB schema is the most important source of truth for your application and should be very self-explanatory. If...
You can use docker to run images with a different architecture using qemu emulation. Prerequisites There are a couple required...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
In Rails, the implicit_order_column (added in Rails 6) is a configuration option that helps you define the default...
DirectUpload allows you to upload files to your file storage without having to wait for the form to submit. It...
ActiveStorage does not provide any built-in way of implementing authentication for the available DirectUpload endpoint in Rails. When using...
PostgreSQL can cosplay as a full-text search engine. It doesn't have the features or fidelity of ElasticSearch or...
Method delegation in Rails can help you to keep your code organized and avoid deep call chains (law of demeter...
There are several ways to run a single spec. I usually copy the spec file path with the line number...
The key to unlocking the full potential of LLMs in coding lies in crafting precise prompts. The main challenge is...
Ubuntu 24 added some guarding for Python packages which no longer allows installing applications through pip on system level. Instead...
Rails wraps your parameters into an interface called StrongParameters. In most cases, your form submits your data in a nested...
The new params.expect method in Rails 8 improves parameter filtering, addressing issues with malformed input and enhancing security. It provides...
To reverse lookup a fixture by its table name and id, use the following approach on ActiveRecord::FixtureSet: table = 'users...
Your package-lock.json should always match and resolve all packages from your package.json. Coming from Yarn, I was looking for an...
Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to...
I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...
On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...