makandra dev
medium.freecodecamp.com

The linked article states that CSS breakpoints should group "similar" screen sizes and thus be at: 600px "narrow"

You can use three different versions of the regular expression syntax in grep: basic: -G extended: -E(POSIX)

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

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

web.archive.org

xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...

If you use awesome 3.5, and a gnome or mate panel, the panel will often receive focus when you switch...

When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

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

makandra dev
web.archive.org

When testing your command line application with Aruba, you might need to stub out other binaries you don't want...

A Rake task appears in rake -T if it has a description: desc 'Compile assets' task :compile do ... end

clipboardjs.com

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

solnic.eu

Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...

github.com

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

api.rubyonrails.org

Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...

makandra dev

Knowing when to refactor Just feeling like refactoring is not a good reason to do it. Make an educated decision...

api.rubyonrails.org

When working with custom transactions and use ActiveRecord::Rollback you may encounter unexpected behaviour if you try to roll back...

You can have a command repeatedly executed and the output displayed. This is useful e.g. for monitoring file system changes...

If you are fine with the default console diff most of the time but only sometimes want to use an...

github.com

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

relishapp.com

VCR lets you configure how it matches requests to recorded cassettes: In order to properly replay previously recorded requests, VCR...

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

We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...

linuxquestions.org

Run dconf-editor (as your user) Go to org / mate / panel / objects / clock / prefs Change the key format to custom...