I am creating this blog post as a quick reminder of how to check the size of my database:
https://gist.github.com/3238986
Per the documentation @ 10Gen, the results of this command return kilobytes[1]. So just divide
This might be the greatest thing since sliced bread:
https://gist.github.com/3740034
Of cource, "sid" can be changed to any attribute in your documents :)
I have been cutting and pasting a lot of D3.JS code lately, and one thing I wanted to do was replace line numbers from code liket this:
http://nvd3.com/ghpages/scatter.html
In VI, you can use the following command to do this:
https://gist.github.com/3682800
I have recently started using Hadoop again after a few months off, and decided to document how to get Hadoop + a simple word count example up-and-running on OSX 10.6.
If you have a production computer on EC2 you should periodically check how much space the root partition has. By default, for Ubuntu AMIs Amazon provides 8GB of space, but as your data set, log files, etc continue to grow, you may…
All of the install guides I read were telling me to use macports or brew to install OpenCV. Neither method worked, so I had to resort to building from source, which turned out to be the easiest of the three methods:
Someone pointed this out to me, and after googling around, I could not figure it out. The issue seems to be that Google's timestamps are incorrect for search results,and as a software engineer, I find that somewhat surprising.