Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
I had to modify the time for an application that I launch through Docker. Here is an approach that worked...
We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...
Some browsers render PNG images with color profiles and other shenanigans, some do not. The cleanest way to have consistent...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...
You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...
This talk shows simple and advanced usages of the ruby/debug debugger. It goes through a step by step debugging workflow...
The attached compiler() function below applies JavaScript behavior to matching HTML elements as they enter the DOM. This works like an Unpoly compiler for apps that don't use Unpoly...
...line-height is font-size relative, but the problem is that font-size: 100px behaves differently across font-families, so is line-height always the same or different? Is it...
...also in our library): Designing a Complex Form Designing a Dashboard Designing Content Designing Beautiful Shadows in CSS Pairing typefaces Then, take the quiz at cantunsee.space. Did you spot all...
We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you want to move some, but not all commits from main...
Capybara has a variety of finder methods like find_button to help you look up DOM elements. There are also...
We're always striving towards keeping our website's JavaScript as small as possible. If you're using webpack(er...
I frequently find myself needing a combination of group_by, count and sort for quick statistics. Here's a method...
Using git fixup helps you to speed up appending changes further back in the git history of your feature branch...
Enable local logging for Sentry when: Debugging Sentry event capture locally Testing error handling without polluting production metrics Developing background...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
...only because your step definition requires that. Here's a typical step definitions that benefits from using find_by_anything: When /^I sign in as "([^\"]+)")$/ do |identifier| user = User.find_by...
...Capybara see the print stylesheet Capybara always requests as the screen medium. The step belows reloads the current page with a query param we will use in our layout to...
Capybara and most assistive technology will fail to find tags that are missing an href attribute. This will probably happen...
...DateTime.strptime is not what you want You may eventually encounter DateTime.strptime. It's a "better" Time.parse where you can actually define the date format to parse, e.g. >> DateTime.strptime...
...If you use Rails' time_zone_select, you will be juggling zone names like "Berlin" which are actually unsupported. Unsupported zone identifiers are silently discarded and you'll end up...
If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...
...you can use a special form options helper called #collection_check_boxes. It behaves similar to #collection_select, but instead of a single select field it renders a checkbox and...
...cat tmp/parallel_cucumber_failures.log | xargs geordi cucumber # Running features > Only: features/authentication.feature:33 features/backend/pages.feature:5 features/backend/pages.feature:60 ... Beside the linked article you might also be interested in reading An Opinionated Guide to xargs...