I had to deal with JavaScript Undefined Error while accessing a specific CKEditor instance to fill in text. Ensure everything...

robots.thoughtbot.com

Arel is a library that was introduced in Rails 3 for use in constructing SQL queries. Every time you pass...

class Book::Page end class MyBook < Book def new_page Page.new # has to be `Book::Page` in development to...

Ask before leaving an unsaved CKEditor Vanilla JavaScript way, but removes any other onbeforeunload handlers: $(function(){ document.body.onbeforeunload = function() { for(editorName...

makandra dev
redisdesktop.com

"Redis Desktop Manager (aka RDM)— is a cross-platform open source Redis DB management tool (i.e. Admin GUI). Redis Desktop...

makandra dev
tech.taskrabbit.com

At TaskRabbit, we have gone through a few iterations on how we make our app(s). In the beginning, there...

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...

kadin.sdf-us.org

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

makandra dev
mark-rolich.github.io

RulersGuides.js is a Javascript library which enables Photoshop-like rulers and guides interface on a web page Also available as...

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

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...

blog.plenz.com

If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:

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.

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.

makandra dev
cssdeck.com

Clever hack to allow user interaction without Javascript (by using radio buttons and selecting on :checked).

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.

pngquant.org

pngquant is a command-line utility and a library for converting 24/32-bit PNG images to paletted (8-bit) PNGs.