makandra dev
brunildo.org

The pages listed here contain tests and experiments about features, possibilities, browsers’ bugs concerning CSS. That is, over 200 experiments...

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

stackoverflow.com

window.getSelection().toString(); Browser support: IE9+, Android 4.3+, Safari 5+

stackoverflow.com

A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...

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

To create a 10 GB file: fallocate -l 10G huge_file.dat

evilmartians.com

Adding a gem means you take over the liability towards the external code. Checklist Based on "To gem, or not...

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

makandra Curriculum

Advanced cucumber features Learn about the following cucumber features: Doc Strings ("multiline strings") Tables Tags Before/after hooks Background Scenario outlines...

makandra dev

We have projects that have been developed using many different versions of Ruby. Since we do not want to...

If you have a replication error with MySQL and you know the "error" is okay (e.g. you've executed the...

On application servers, gems are usually bundled into the project directory, at a location shared across deployments. This is usually...

github.com

There are some inconvenient Gem dependencies. Resolve them by adding/modifying these lines in your Gemfile: gem 'guard-livereload', '>= 2.5.2', require...

makandra dev
github.com

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

TLDR: When you put CSS rules into a partial and import that partial multiple times, the CSS rules will be...

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

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

TLDR: A function is hard to use when it sometimes returns a promise and sometimes throws an exception. When writing...

smashingmagazine.com

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

Ruby's regular expressions can be represented differently. When serializing them, you probably want to use inspect instead of to...

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