Make your custom web font available Add to ckeditor/config.js CKEDITOR.editorConfig = function(config) { config.contentsCss = [ '/assets/myCkeditorStyles.css', // any other file to encapsulate custom...

When you are working with Backbone models and inheritance, at some point you want to overwrite inherited methods but call...

relishapp.com

Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...

makandra dev
github.com

Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...

kadin.sdf-us.org

This is just a quick note, mostly for my own reference, of a few ways to easily delete the dot...

If you have a text that is edited by WSYIWYG-Editor but want some length checking nevertheless, you need to...

Sometimes you want to strip a text of every special char. If you use \W, the result might not be...

After I upgraded to Mac OS X Mavericks, I regularly got this error message when running Cucumber features with Selenium...

makandra dev
justinjackson.ca

Nice thoughts about marketing and sales for developers.

Warning: Because of (unclear) rounding issues and missing decimal places (see examples below), do NOT use this when dealing with...

jacklmoore.com

Non-static elements will not inherit their parent's opacity in IE for no good reason. This can lead to...

makandra dev
robots.thoughtbot.com

Rails 4.0 introduced a helpful new method for ActiveRecord queries: where.not. It can make clunky queries easier to read.

dev.housetrip.com

Introducing Trailer from HouseTrip, a simple menu bar app that helps you manage your GitHub pull requests. It’s one...

If you want to switch to another ruby versions, you have several options, depending on what you want: Do you...

extensions.libreoffice.org

Colorizes code in LibreOffice Writer. Note that you need to create a paragraph style _code for this to work.

makandra dev
github.com

Publish/subscribe for Ruby classes. Bonus: You do not have to declare events before using them.

I had a huge MySQL dump that took forever (as in: days) to import, while I actually just wanted to...

coderwall.com

There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.

dev.mysql.com

A MySQL DECIMAL column is used when it is important to preserve exact precision. It takes two parameters, where...

Rbenv won't compile REE 2011.03 properly on Ubuntu 12.04, failing with an error in tcmalloc.cc. If you want to...

makandra dev
martinfowler.com

Great slide deck about various forms of refactorings.

makandra dev

We have released Modularity 2. It has many incompatible changes. See below for a script to migrate your applications automatically...

In /etc/rc.local add: service bluetooth stop

When you do something like this in your code: def var_value @var ||= some_expensive_calculation end