makandra dev
mailru.github.io

A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...

makandracards.com

Chances are you're seeing the warning repeated a lot of times, maybe thousands of times. Here's how to...

If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...

svnweb.freebsd.org

If you have trouble updating something on FreeBSD you should always take a look in the UPDATING file.

The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...

SELECT enum_range(NULL::portal) # Returns an array of all possible values SELECT unnest(enum_range(NULL::portal)) # Unnests the...

airpair.com

A lot of the advice involves less separations of concerns in your code ("don't use $watch", "don't use...

The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...

airpair.com

In the Controller: // Instead of doing this: app.controller('TodoCtrl', function ($scope) { $scope.input = 'ex. buy milk'; }); // Do this: app.controller('TodoCtrl', function...

makandra dev

The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...

When you run code inside a $watch expression that forces a repaint (e.g. by computing an element's width, or...

Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...

Starting Terminator with split screens is quite simple: Just store a layout and start Terminator with the --layout option.

tutorialzine.com

A very clever hack to parse a structured URL object is to create a element and set its href to...

If you get one of this errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ( ): found...

When putting phone numbers into web pages, you should use tel: links so smartphone users can click those numbers to...

github.com

BubbleTree is a library for interactive visualization of hierarchical data. Originally developed mainly for spending data, the library is now...

One of the many useful features of TextMate is autocompletion of words. If I were in TextMate right now, I...

makandra dev
github.com

An amped-up alternative to Turbolinks that differs in points like this: It's opt-in instead of opt-out...

makandra dev
tom.preston-werner.com

A perfect implementation of the wrong specification is worthless. By the same principle a beautifully crafted library with no documentation...

A great two-part article about various hacks you can use to create great-looking screen designers when you're...

stackoverflow.com

Have you ever opened a file with vim, edited it and when you wanted to save your changes it told...

Settings -> Editor -> General -> Smart Keys -> Unindent -> To nearest indent position RubyMine 7.0: Settings -> Editor -> General -> Smart Keys -> Backspace...

If bower complains about a missing node binary, do not install Ubuntu's node package. Instead, you need to create...