This method will remove automatically installed packages that no other packages depend on any more. This, of course...

There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

github.com

Closure_tree lets your ActiveRecord models act as nodes in a tree data structure. This promises a few improvements over...

unixetc.co.uk

When a directory has more than a few thousand entries, ls will start taking really long to list its content...

github.com

This might be relevant for us since we're often managing customer documents in our apps. I played around with...

If you want to find the commits that touched a specific text in a file, use git log -G 'text...

Using the -U parameter you can change how many lines are shown above and below a changed section.

icomoon.io

Icomoon.io offers a free app to build custom icon webfonts. It offers downloads as webfont set (.eot, .ttf, .woff, .woff2...

makandra dev

These are Chrome plugins that proved useful at makandra. Each is the best-in-class. Dimensions Auto-measure distances by...

You know those helper methods that just render some HTML but look weird because of content_tags all over the...

github.com

We have a new gem Minidusen which extracts Dusen's query parsing and LIKE query functionality. Minidusen can no longer...

github.com

If you were using Dusen for its query parsing and LIKE queries, we recommend to migrate to Minidusen, which extracts...

quilljs.com

A new open source WYSIWYG editor that promises superior fidelity and customizability. This might be a future alternative to Redaktor...

Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...

This pretty-prints a JSON object, with two spaces of indentation: JSON.stringify(object, null, 2)

When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...

We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

PostgreSQL, unlike MySQL, treats strings as case sensitive in all circumstances. This includes comparison with = and LIKE collision detection in...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

So you downloaded a theme for Chrome a while ago and don't remember which one it is?

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...

makandra dev
stackoverflow.com

IE has a "Compatibility Mode" for old browsers. You can keep IE from offering it (and fix some other things...