More MongoDB Content – On StackExchange

As mentioned previously, I like getting my little gamification rewards and I have been meaning to add new content here for quite some time.  In order to kill two birds with one stone, I took a couple of my ideas and turned them into the Q&A format that is encouraged on StackOverflow and the DBA StackExchange site.

Hence we now have these two new questions (and answers):

The first one is a bit specific, but is easily adapted for other purposes.  The second one is something I threw together for a support issue and have re-used multiple times and generally found rather useful.  It also made me finally put versions on Github rather than on my laptop, which has to be a good thing :)