Get MongoDB existing indexes

When your application on an early development stage, your indexes are changing very fast. And most of the time you only add more and more indexes, until you come to the point that either MongoDB fails auto-guessing a proper index to use or indexes are taking too much RAM. This is a simple snippet that allows get a list of existing indexes (except built-in) of all collections in your MongoDB…

Read more…

Using Jekyll plugins on GitHub Pages

Few people asked me how they can use jekyll-assets on GitHub pages. There are lots of info out there on this topic, but I would like to aggregate some kind of best practices here. Main thing to understand here is that GitHub renders pages using Jekyll with safe mode enabled. Custom plugins are disabled when safe mode is on. In other words this instruction applies to any third-party plugin…

Read more…

Unleash Mr.Hyde! Introduction of Jekyll-Assets.

Not so long ago I have released Jekyll-Assets plugin, that adds Rails-alike assets pipeline for Jekyll or Octopress powered blogs. As later Brandon Mathis mentioned, a reference to “rails-alike” gives almost zero understanding of what plugin actually does. In few words, with this plugin you can write your assets in languages like CoffeeScript, SASS, LESS, automagically minify and concatenate assets, and more ;)) So this is an introduction to some of core features and how to enable jekyll-assets for your blog…

Read more…