Colcade is a lightweight Masonry alternative

Posted Over 5 years ago by Arne Hartherz.
github.com

Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...

Pretty commit messages via geordi

Posted Over 5 years ago by Natalie Zeumann.

Geordi provides a pretty neat way to generate beautiful commit messages according to your stories in Pivotal Tracker:

Best practices: Large data migrations from legacy systems

Posted Almost 6 years ago by Tobias Kraze.

Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...

How to make changes to a Ruby gem (as a Rails developer)

Posted Almost 6 years ago by Dominik Schöler.

At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...

Capistrano + Rails: Tagging production deploys

Posted Almost 6 years ago by Dominik Schöler.

Just like Ruby Gems tag their version releases to the corresponding Git commit, it can be helpful to track production...

Capistrano + Rails: Automatically skipping asset compilation when assets have not changed

Posted Almost 6 years ago by Dominik Schöler.
makandracards.com

In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...

Jasmine: Adding custom matchers

Posted About 6 years ago by Dominik Schöler.
content.pivotal.io

A matcher is a function that returns an object with a compare key. Usually it is registered with beforeEach...

screenfull.js: Simple wrapper for cross-browser usage of the JavaScript Fullscreen API

Posted About 6 years ago by Arne Hartherz.
github.com

Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...

Understanding SQL compatibility modes in MySQL and MariaDB

Posted About 6 years ago by Henning Koch.

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...

How to mirror a git repo to a new remote

Posted Over 6 years ago by Tobias Kraze.

Say you want to move a git repository from one remote (perhaps Github) to another (perhaps Gitlab).

Git: creating and deleting a tag

Posted Over 6 years ago by Daniel Straßner.

Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...

RSpec: run a single spec (Example or ExampleGroup)

Posted Over 6 years ago by Daniel Straßner.

RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...

Fixing flaky E2E tests

Posted Over 6 years ago by Henning Koch.

An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...

JavaScript bookmarklet to click an element and copy its text contents

Posted Over 6 years ago by Arne Hartherz.
gist.github.com

Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...

How to use a local gem in your Gemfile

Posted Almost 7 years ago.

You can use local copies of gems in your Gemfile like this: gem 'spreewald', :path => '~/gems/spreewald' As soon as you...

Speed up better_errors

Posted Almost 7 years ago by Tobias Kraze.

If you use the Better Errors gem, you will sometimes notice that it can be very slow. This is because...

RawGit

Posted Almost 7 years ago by Arne Hartherz.
rawgit.com

RawGit serves raw files directly from GitHub with proper Content-Type headers, for CDN-like purposes. Note that they don...

How to bulk-unwatch many repositories on Github

Posted Almost 7 years ago by Henning Koch.

To easily opt out of notifications for a large number of Github repositories, go to https://github.com/watching.

Git: rebase dependent feature branch after squash

Posted Almost 7 years ago by Daniel Straßner.
stackoverflow.com

This card will show you how to use git rebase --onto without confusion. Use case: You've got two feature...

Capistrano 3: How to deploy when a firewall blocks your git repo

Posted Almost 7 years ago by Tobias Kraze.

Sometimes, through some firewall or proxy misconfiguration, you might have to deploy to a server that cannot access the git...

Git: undo delete

Posted Almost 7 years ago by Daniel Straßner.
stackoverflow.com

Assuming you're wanting to undo the effects of git rm or rm followed by git add -A or something...

Howto: Write a proper git commit message

Posted Almost 7 years ago by Emanuel.
chris.beams.io

Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include...

Rubymine provides a visual merge conflict resolution tool

Posted About 7 years ago by Natalie Zeumann.
jetbrains.com

RubyMine provides a visual tool for resolving merge conflicts locally. Follow Git > Resolve Conflicts in the context menu to open...

Sending errors to sentry from development

Posted About 7 years ago by Emanuel.

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...