You want to deploy new features but the latest commits are not ready for production? Then use git merge master...

Sometimes you need to access a dev server running on localhost from another machine that is not part of the...

RSpec Rails can automatically mix in different behaviors to your tests based on their type tag, for example enabling you...

Jasmine has spyOnProperty(), but it only works if the property is implemented using getter and setter functions. This is a...

dev.to

In my case [...] the catalog is an XML that contains all kinds of possible products, categories and vendors and it...

TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.

github.com

Rack::SteadyETag is a Rack middleware that generates the same default ETag for responses that only differ in CSRF tokens...

The Interactive Advertising Bureau (IAB) is a European marketing association which has introduced a standard how advertising can be served...

From Exploring ES6: Module imports are hoisted (internally moved to the beginning of the current scope). Therefore, it doesn’t...

Since GitLab 10.3. you can use Mermaid in GitLab comments: Gitlab Doc. With Mermaid you can create diagrams based on...

Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...

You want to use fields in your applications. However, your desktop users may encounter some weird quirks: Aside from allowing...

The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...

Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...

git --fixup is very handy to amend a change to a previous commit. You can then autosquash your commits with...

The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...

dev.to

If you have fzf installed, you may add an alias such as this to your ~/.bashrc: alias recent-branch="git...

We are using Spring in our tests for sequential test execution but not for parallel test execution. And Rails requires...

This bookmarklet grabs a PivotalTracker story title, transforms it into a valid git branch name and automatically prepends your initials...

The need for clearfix hacks has been greatly reduced since we could layout with Flexbox or CSS Grid.

When using RestClient to make an HTTP request, it will raise an exception when receiving a non-successful response.

To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master

If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...

After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...