Pagination with MongoDB

Pagination with MongoDB

In the last few months I have spent some time looking at the traffic stats for this blog and looks like this post is attracting a lot of visits, so this time I decided to write a couple of words about how to page query results from a MongoDB collection....

2 minute read
oh my God, it’s full of LEDs!

oh my God, it’s full of LEDs!

Too much time has passed since my last post. That’s not a good thing. In my defense, I spent part of this time trying to learn new stuff 🙂 I have always had the desire to learn a little bit of electronics. Nothing specific, just basic stuff…and I tried, oh...

2 minute read
SQL: generate a report with dynamic columns by month

SQL: generate a report with dynamic columns by month

Hi all! This time I’ll try to dig a little bit into the fabulous realm of SQL and see how we can generate a nice report with dynamic columns. The need: I had to generate a report showing some counts divided by month, basically the columns represent the months and the user...

2 minute read
MVC: reading LinkedIn user profile data

MVC: reading LinkedIn user profile data

Suppose you have to login your users using an external provider. Maybe LinkedIn. Suppose you have to read the user profile data and do some stuff. Maybe you have to register the guy on your website. Maybe you know a bit of OAuth and you want to give it a...

6 minute read