Tags » Mongo

How to remove documents from a capped collection in MongoDB

You can’t remove one or all documents from a capped collection in MongoDB. BUT! you can drop the collection!

Execute the following command:


The result for me is: 20 more words

How To

How to count documents of a collection in MongoDB

Today, I had to do this at work. turns out it is very easy. I am using Robomongo 1.0-RC1. I just double click on the collection that I want, in this case… 32 more words

How To

Fuzz testing with hypothesis, without 400 http errors

In the previous post we used hypothesis’ documentation to apply fuzz testing to the star app

The request had some problems:

headers = {"Content-type": "application/json"}
        result = requests.post(
            "http://localhost:5000/star", data=data, headers=headers) 408 more words

Ginataang Munggo (Mung beans in coconut milk)

(This same recipe can be made without the meat for a vegan version.)

2 cups of mung beans, soaked overnight then boiled in just enough fresh water (do not drain) 173 more words


2018: year of the Singularity?

Jamie Foy’s unprecedented rise to success throughout 2017 marked the  resurgence of a type of a skating that dominated the turn of the millennium, where people almost exclusively skated big rails in sunny school yards. 402 more words


Philadelphia Eagles Fan Repeatedly Punches Police Horse In The Face After Being Ejected From Game

Fans of the Philadelphia Eagles have quite the reputation.

Remember the time they booed and threw snowballs at Santa Claus?  Well we can add another highlight to the long list of grievances against football fans in the City of Brotherly Love. 137 more words