ImageMagick has a command line tool called identify which can read image metadata: >identify -verbose DSC00136.JPG Image: DSC00136.JPG Format: JPEG...

You can start vim with a read-only option. This prevents making accidentally changes in files you don't want...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...

The maximum version of Internet Explorer you can have depends on your version of Windows. E.g. Windows 7 users can...

makandra dev

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...

makandra dev
javascript.info

To move elements around we should be familiar with coordinates. Most JavaScript methods deal with one of two coordinate systems...

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

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

labs.detectify.com

The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...

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

Below is a list of some VIM settings I find useful. You can add them to your .vimrc. source $VIMRUNTIME/mswin.vim...

medium.com

As web developers, we know how easy it is to end up with web page bloat. But loading a webpage...

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

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

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

lists.ruby-lang.org

TruffleRuby is an experimental Ruby implementation that tries to achieve ~10x performance over MRI. This has been on our radar...

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

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