Nowadays it is fairly easy to intercept and modify mails globally before they are sent. All you have to do...
ChromeDriver clicking works by simulating a mouse click in the middle of the element's first client rect (or bounding...
Dump this method into your Ruby console to quickly print data in columns. This is helpful for e.g. comparing attributes...
This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
RubyMine provides a visual tool for resolving merge conflicts locally. Follow Git > Resolve Conflicts in the context menu to open...
Imagine the following HTML structure, where the scrolling container has overflow-y: scroll: +--scrolling container+-+ | | | +-child element+----+ | | | ++iframe++ | | | | | | | | | | | | | | +-----------------------+ | | | | <-- actually cut...
Sometimes you want/have to send specific http(s) requests. You can do that easy with curl or just write the...
ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...
iOS Safari tries to be helpful and enlarges some(!) texts when you turn to landscape mode. In precise CSS building...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
Using the dialog command you can launch ASCII-art dialogs from your shell scripts. Check out man dialog for a...
Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...
Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...
window.getSelection().toString(); Browser support: IE9+, Android 4.3+, Safari 5+
There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...
We generally use multiple application servers (at least two) and you have to search on all of them if you...
Collection of useful tools in the Chrome JavaScript console. Make the whole page editable This is not special to Chrome...
Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...
A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...
In general, you should not put a block element inside an inline element. So don't do this: text
So you're getting an error like this: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
So you're getting this failure when running bundle install on an older project: Your Gemfile.lock is corrupt. The following...
Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...
This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...