Ruby's standard library is in the process of being gemified. It will soon - Ruby 2.5 - consist of RubyGems, which...
TLDR: Browser implementations of HTTP/2 push are horrible. You might end up with worse performance than without pushing. However, the...
By default Middleman generates files with a .html extension. Because of this all your URLs end in /foo.html instead of...
Middleman is a static page generator that brings many of the goodies that Rails developers are used to.
Dump this method into your Ruby console to quickly print data in columns. This is helpful for e.g. comparing attributes...
Assuming you're wanting to undo the effects of git rm or rm followed by git add -A or something...
Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include...
Database connections are not thread-safe. That's why ActiveRecord uses a separate database connection for each thread.
In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...
In case you want to require a gem, that is not in the Gemfile of you bundle and therefore not...
This card compares patterns to store trees in a relation database like MySQL or PostgreSQL. Implementation examples are for the...
Solved with flexbox is a collection of css problems which were hard or impossible to solve without flexbox: Better, Simpler...
The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...
When you load a dump for development, records may reference images that are not available on your machine.
RubyMine allows bookmarking lines of code. This is super-helpful when working on a complex problem. I've been using...
Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...
For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...
Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...
Barby is a great Ruby gem to generate barcodes of all different sorts. It includes support for QR codes via...
The maximum version of Internet Explorer you can have depends on your version of Windows. E.g. Windows 7 users can...
This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...
Hint This applies only to distributions based on Debian. Requirement You need to setup the PostgreSQL Apt Repository first.
This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...
To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems...