Recent posts

  • Fun with git: Revert Revert

    15 Aug, 2017    

    Comments: 0

  • Tips for Ruby development in Vim

    3 Feb, 2017    

    I’m huge vim fan. I’ve tried many modern editors, but, really, I wasn’t feeling at home like it was with vim. That being said, vanilla vim is nice, but for any kind of serious software development one wants to enhance it [quite] a bit.

    Comments: 0

  • Bash tips & tricks (part 1)

    16 Sep, 2016    

    Today I learned another really cool thing bash can do and then I thought it is worth it to start sharing various tips and tricks. Most of them arise from the fact that everything is file in *nix.

    Comments: 0

  • Issues with docker-compose and opendkim

    2 Sep, 2016    

    Docker-compose is awesome: it’s brings automation levels high, driving apps close to be 12 factor. But some times it’s being too smart (for me particularly). This time a couple of words on dynamic network creation.

    Comments: 0

  • Backing up dockerized rails PG database

    1 Sep, 2016    

    Backing up and restoring data in rails projects is trivial enough. But when using docker and docker-compose things may become a bit cumbersome.

    Comments: 0

  • Using watch to monitor other commands periodically

    24 Aug, 2016    

    Lately I’ve been doing a lot of hardware diagnostic tasks. One of which was to monitor network connection over screwed (and then repaired) twisted pair cable. I found myself constantly hitting to call ip l show eth0 again. And then I thought…

    Comments: 0

  • Building RPM packages using Docker

    20 Aug, 2016    

    When you manage one or two packages, it’s a good idea to spin up a virtual machine as build environment just for that. Using some tricks it can be made possible to build them automatically.

    Here I want to show fully automated approach using headless build host inside a Docker container.

    Comments: 0

  • Drop-in Xorg XClients

    9 Aug, 2016    

    XClients is a perfect and cannonical way to autostart graphical application. But personnaly I don’t like to keep various settings in a single file, so let’s add some modularity to XClients.

    Comments: 0

  • Fonts and Rails Applications

    26 Jul, 2016    

    There are several options for embedding fonts into a webpage. Here I’ll show, how I would optimize the process for page load speed and development convenience.

    Comments: 0

  • Simple all sizes favicon generator for Rails

    2 Jul, 2016    

    These days there are plenty of acceptable favicon formats. You are no longer restricted to 16x16 image/x-icon file, as long as support of IE < 11 is optional. Variety of mobile devices support other types of icons, that are used instead or with favicons, namely apple-touch-icon and mstile. Range of sizes varies from 16x16 to 192x192 pixels.

    Manual scaling for dozen of different sizes is strait violation of DRY principle, so here comes a possible solution for Rails application.

    Comments: 0