Shared code for habr-analytics