Nikita Vasilyev – pronounced as Ni·kí·ta Va·síll·ev

Two-Way Data Binding

Let’s build a temperature converter app in Backbone, React, Angular, Meteor and vanilla JavaScript.

CSS, Retina, and Physical Pixels

On retina screens CSS pixels don’t match device (physical) pixels. A device pixel ratio of 2 means one CSS pixel equals two device pixels. Here are few ways to draw a one-device-pixel border.

Focus Transition: Part 2

Focus transition

Gzip

Gzip reduces the file size by compressing repeating sequences of bytes. The longer the sequences are, the better the compression rate. When all the bytes in a file are unique, the compressed file becomes even larger than the original.

How to setup local hosts on Mac OS X

When I develop this website locally I use n12v.dev virtual host. n12v.dev/index.html is just ~/Sites/n12v.com/public/index.html on the file system.

You can achieve this by either using Pow or /etc/hosts and Apache.

The easy way: Pow

Install

curl get.pow.cx | sh

Use

ln -s ~/Sites/n12v.com ~/.pow/n12v

Now n12v.dev serves index.html.

To serve a directory with a name different from “public”:

mkdir ~/.pow/usercss
ln -s ~/Sites/usercss/www ~/.pow/usercss/public

CSS transition from/to auto values

None of the browsers handle CSS transition from/to auto values correctly.

CSS transitions
How it supposed to be