How to autodownload subtitles SMPlayer with mpv

Thu, 03/31/2016 - 16:37
[SMPlayer](http://www.smplayer.eu/) is powerful GUI for mplayer and for some time form mpv too. It already has UI for downloading subtitles from opensubtiles.org, but that's all you can do with online subtitles. Fortunately [mpv](https://mpv.io) comes to rescue with it's support for .lua scripts.

Control LIFX with NodeMCU and range sensor

Wed, 03/09/2016 - 15:30
LIFX bulbs are great, but when you just need to turn them on, off or just change brightness, it can be not very comfortable, to do this simple task by app. So I decided to create much simpler way to do this. And then I came across NodeMCU, small development board similar to Arduino with integrated Wi-Fi, with cost of about $5.

Remove jQuery timestamp from json requests to hit Drupal cache

Mon, 02/22/2016 - 10:33
Problem: When ajax request has cache off it always creates request with timestamp e.g. `_=1456134256000`, and as it is get parameter, views are called and Drupal cache is not hit. And when cache is on, request is made without timestamp, and browser returns data from it's cache, so it doesn't hit server. What I needed is that script gets past browser cache, but hits Drupal cache.