This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...

This is not an issue in newer versions of HAML (starting with 5.0.0), as the ugly-option was removed...

There are various ways to run external commands from within Ruby, but the most powerful ones are Open3.capture3 and Open3.popen3...

makandra dev
iamvdo.me

Line-height and vertical-align are simple CSS properties. So simple that most of us are convinced to fully understand...

makandra dev

Sometimes your code has long lines: describe 'foo' do describe 'bar' do really_long_line_really_long_line_really_long...

There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...

Web technology is a broad field and you cannot be an expert in all aspects. However, it is useful to...

Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...

We generally use multiple application servers (at least two) and you have to search on all of them if you...

If you use Angular 1.4+ together with Angular Animate, all ng-show, ng-hide, ng-class etc. are animated on...

makandra dev
github.com

Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...

First find the reference for the entry you want through looking at the stash: $ git stash list stash@{0}: WIP...

medium.freecodecamp.com

Collection of useful tools in the Chrome JavaScript console. Make the whole page editable This is not special to Chrome...

smashingmagazine.com

A comprehensive introduction to sending HTML emails. Intro: HTML email: Two words that, when combined, brings tears to a developer...

In general, you should not put a block element inside an inline element. So don't do this: text

Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...

Building plain text emails with an .erb template doesn't allow you to indent code like you normally do in...

This card tries to summarize by example the different uses of heredoc. In Ruby << vs. <<- vs. <<~ In Rails strip_heredoc...

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

When giving a presentation with a projector it is sometimes better to use a dual screen layout instead of a...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

solnic.eu

Yesterday I stumbled across a talk in which the guy mentioned module sub-classing. I was curious what you can...

A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...

makandra dev

Knowing when to refactor Just feeling like refactoring is not a good reason to do it. Make an educated decision...