List Projects without pagination

I've seen some discussion about pagination defaults and the possibility to get a list of all projects. I've created a generator method to achieve this. Maybe this is helpful to others as well.