faviconit.com

Eduardo Russo was tired of complex favicon creation and created his own favicon generator. It's really easy and allows...

String#indent is not a standard Ruby method. When you use it, be sure to know where this method comes...

github.com

"I click on ..." step fixed Errors added to ToleranceForSeleniumSyncIssues::RETRY_ERRORS Capybara::ElementNotFound Selenium::WebDriver::Error::ElementNotVisibleError Selenium::WebDriver::Error...

You might have a table without a primary key set in MySQL. You can fix this by adding a primary...

Using git checkout - you can switch back to the branch you previously worked on. (master) $ git checkout foobar

Wondering how a specific method on an object is exactly named? You can use Enumerable#grep to detect it in...

codeka.com.au

For reasons that completely escape me, MySQL 5.x limits UTF-8 strings to U+FFFF and smaller.

Usually, Cucumber feature files live in features/. When you group them in sub directories, make sure to add -r features...

Like in any language, a FLOAT will eventually corrupt data due to rounding errors. Please use DECIMAL, which has well...

Tests are about 100% control over UI interaction and your test scenario. Randomness makes writing tests hard. You will also...

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

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

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

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

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

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