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

demosthenes.info

The result is a .ico file with multiple versions of your logo at different resolutions. Now, depending on the context...

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); }

By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...

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

You can define what will be printed by checking View -> Preview Page Breaks and then moving around the blue borders...

weblog.jamisbuck.org

How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...

todotxt.com

Solution to share a todo.txt file over Dropbox and make it editable on Android und iOS devices. Also comes with...

robots.thoughtbot.com

TL;DR {} binds stronger than do … end (as always in Ruby, special characters bind stronger than words) Demo

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

teddevito.com

This is a demo of the "Tabby" Javascript jQuery plugin to use tabs in regular textareas to make them suitable...

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

github.com

Pour color on your Rails console with awesome_print. Turn confusing long strings into formatted output. Have objects and classes...

If you want to know your public key's fingerprint, do this: ssh-keygen -lf ~/.ssh/my.key.pub This may be necessary...

If you need to debug Analytics tracking, consider using this chrome extension. It will replace the tracking code with a...

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

Instead of showing you two lines for each change, Git allows you to highlight changes in a line explicitly:

If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...

makandra dev

The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...

You can change the color for text selection via CSS, using the ::selection and ::-moz-selection pseudo-elements.

REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...