View
Posted about 10 hours ago by Henning Koch.

When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...

Posted 15 days ago by Michael Leimstädtner. makandracards.com

Updated the gdb-inspect card with instructions for Ruby 2.4+. Ruby 2.4+ Gist with all relevant commands

Posted almost 3 years ago by Henning Koch.

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

Posted over 2 years ago by Dominik Schöler. relishapp.com

In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...

Posted about 2 years ago by Natalie Krehan. developer.mozilla.org

Browsers' printing methods usually don't print background colors. In most cases this is the desired behavior, because you don...

Posted 4 months ago by Judith Roth.

Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...

Posted about 8 years ago by Tobias Kraze. weblog.jamisbuck.org

How to get a backtrace from a running Ruby process: Ruby 2.4+ Gist with all relevant commands

Posted almost 3 years ago by Dominik Schöler. github.com

When an Rspec example fails, I usually investigate by running that example again using rspec . However, this does not work...

Posted 7 months ago by Dominik Schöler.

Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...

Posted 8 months ago by Dominik Schöler.

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

Posted 9 months ago by Arne Hartherz.

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

Posted about 6 years ago by Arne Hartherz.

When you have a string containing umlauts which don't behave as expected (are not matched with a regexp, can...

Posted 10 months ago by Judith Roth.

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...

Posted about 8 years ago by Henning Koch.

By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...

Posted almost 5 years ago by Tobias Kraze.

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

Posted about 8 years ago by Henning Koch. robots.thoughtbot.com

Braces and do/end are completely swappable—almost all the time. They have different precedence. It’s not often that anyone...

Posted about 1 year ago by Michael Leimstädtner.

In Rails, we usually have a mailer setup like this: class MyMailer < ActionMailer::Base def newsletter mail to: 'receiver@host.tld',

Posted about 8 years ago by Henning Koch.

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more