Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...
In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...
Sometimes when working with VCR you still want to use webmock. Since VCR hooks into webmock and fails when an...
When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...
If your application exports CSV, be advised that Excel and other spreadsheet applications treat certain cells (those starting with =, +, - or...
Requestb.in is a webservice that gives you a temporary URL you can use to test request. The page will automatically...
When attempting to update RubyGems, depending on updates your previously performed, you might run into an error ERROR: While executing...
...Installed: 2:7.4.1689-3ubuntu1.2 Candidate: 2:7.4.1689-3ubuntu1.2 Version table: 2:7.4.1829-1ubuntu2.1 10 10 http://de.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 Packages 10 http://security.ubuntu.com/ubuntu...
...yakkety-security/main amd64 Packages 2:7.4.1829-1ubuntu2 10 10 http://de.archive.ubuntu.com/ubuntu yakkety/main amd64 Packages *** 2:7.4.1689-3ubuntu1.2 500 500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64...
A common pattern in Ruby is to to require all files in a specific diretory, using something like Dir.glob(Rails.root.join...
RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...
If you already selected an element and want to get its parent, you can call find(:xpath, '..') on it.
If you use awesome and make a Slack call, you'll constantly have an overlay window pop up taking over...
You are not using javascript tests The file is served from a public folder (not via controller) Problem description...
When your public-facing application has a longer downtime for server maintenance or long migrations, it's nice to setup...
Browsers support different types of redirects. Be very careful with these status codes: 301 Moved Permanently 308 Permanent Redirect
If you are using PDFKit / wkhtmltopdf, you might as well want to use custom fonts in your stylesheets. Usually this...
...www.winedt.org/dict.html, e.g. http://www.winedt.org/dict/de_neu.zip unzip de_neu.zip mkdir ~/Documents/dic iconv -f UTF-16 -t UTF-8 de_neu.dic -o ~/Documents/dic/de_neu_utf8.dic In RubyMine: Go to Settings (CTRL + ALT + S) > Editor > Spelling...
Let's say you have a folder images and want to to move all files in there to a new...
The linked article shows how to exploit websites that include unsanitized user input in their CSS. Although the article often...
Hack to implement an inverted "night mode" theme with a few lines of CSS. Colors in images are preserved.
TL;DR: Bundler 2.0 will rename Gemfile to gems.rb and Gemfile.lock to gems.locked (sic). The old filenames will be supported...
You need to set the :inverse_of option manually for relations that have an association to a polymorphic model. Otherwise...
When you want to group rails models of a logical context, namespaces are your friend. However, if you have a...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...