Ever wanted autocompletion for paths from paths.rb in Cucumber? This card lets you write your steps like this:

Assuming the following sunspot setup of the post class: class Post < ActiveRecord::Base searchable do text :title string :state

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

Jedes nicht rein private Profil auf Social Media Portalen muss ein Impressum haben, das heißt insbesondere Unternehmen und Freiberufler (§ 5...

The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...

Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...

Consider this Sass: .comment width: 320px; height: 240px; Any textarea with the comment class will be sized 320 by 240...

In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...

LibreOffice Impress, Writer, etc. doesn't embed most fonts into the PDFs it generates. This means if you share a...

ask.libreoffice.org

Upgade to LibreOffice 3.5.3+ or disable hardware accelleration in Tools → Options → LibreOffice → View → Graphic output.

makandra dev

To have your text input field pre-filled in with some text that disappears as soon as the user selects...

jsfiddle.net

Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!

If you're suffering from a huge de.yml or similiar file, cry no more. Rails lets you freely organize your...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

Say you want to vertically align a div box inside a div container. This is how you do it:

makandra dev
github.com

DTAUS & DTAZV are formats for German bank transfers and is short for "Datenträgeraustausch". The format itself totally sucks because it...

Spreewald gives you steps like these: When I enter "text" into the browser dialog Also see Accept or deny JavaScript...

You can use this code: function scrollToLine($textarea, lineNumber) { var lineHeight = parseInt($textarea.css('line-height')); $textarea.scrollTop(lineNumber * lineHeight); }

In your ~/.gitconfig: [core] editor=nano

bbs.archlinux.org

xterm by default uses black text on white background. To change that to something like "light gray on black", do...

The following two hints are taken from Github's Ruby style guide: If your regular expression mentions a lot of...

icelab.com.au

We love Markdown. We use it wherever we can for text formatting. In a web app, the obvious place for...

This is surprisingly difficult when there is a with the same text on the page, but you really want to...

makandra dev

This card shows you how to format a card's content using Markdown. We use the Commonmarker interpreter, so here...