...lockfile carefully when submitting a commit. Note that the approach in this card works best, if you use yarn outdated or npm outdated together with yarn upgrade some_package or...

The classical scenario: There's a parent div element and you want to center some arbitrary child element vertically inside...

...all routes, but may return early, a change has been introduced to add lazy behavior by adding an iterator block and yielding. This change breaks the adapter patch in routing...

For string columns, MySQL indexes the left side of a string. That means an index can speed a like query...

Understand what Memoization is and when it can be useful. Understand the @variable ||= computation pattern. Learn how to use...

So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...

github.com

...API design, I thought it might be nice to write down a set of best practices. And poke fun at a couple widely-used APIs. Much of this may be...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

Rails' default logger prefixes each log entry with timestamp and tags (like request ID). For multi-line entries, only the...

en.wikipedia.org

Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...

Some users might use Adblock Plus or similar browser plugins to reduce the number of ads displayed. If you run...

I have a form with a dynamic number of fields. Submitting it worked fine until I tried out a very...

web.archive.org

...any cleanup yourself. Why? Understand this: before(:context) is run when the context/describe block begins, before(:context) is run outside of transactions, so data created here will bleed into other...

Git has the concept of hooks: bash scripts that are invoked at certain points in the Git lifecycle. One handy...

No out of the box I18n support for translating the database values But: Better support for the enumerated database type and therefore better suited for performance optimizations

Attaching files to a field that is handled by Carrierwave uploaders (or maybe any other attachment solution for Rails) in...

DevOps Curriculum

...Worker Node auch eine Control Plane sein? Kubernetes hat als Feature Self-Healing. Was bedeutet das und wie wird das umgesetzt? Wie kann kontrolliert werden, ob eine Konfigurationsänderung erfolgreich deployed...

...kommunizieren Worker Nodes, wenn sie mit der API von Kubernetes sprechen möchten? Was ist bei selbst gemanagten Kubernetes zu beachten, damit das zuverlässig funktioniert (z.B. wenn eine Node offline geht...

What is a Cookie? Google it if you do not know. How are cookies transferred between your browser and...

caniuse.com

All major browsers (IE8+, FF3.5+, Safari 4+, any Chrome) support sessionStorage, a JavaScript storage object that survives page reloads and...

You can run bundle install in parallel. This might be helpful for development, where you often install many new gems...

Sometime we've seen this error when executing e.g. bundle exec rake asset:precompile: double free or corruption (out)

docs.gitlab.com

Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

Learn Enough Command Line to be Dangerous (it's in our library => Google Drive) CLI tricks every developer should...