Skip to content

Instantly share code, notes, and snippets.

View pilt's full-sized avatar

Simon Pantzare pilt

View GitHub Profile
from memsite.base.api.authorization import MemAuthorization
class DeviceAuthorization(MemAuthorization):
def apply_limits(self, request, object_list):
if request.user.is_authenticated():
return self.apply_user_profile_limits(request, object_list)
return object_list.none()
@pilt
pilt / about.md
Created August 31, 2012 20:45 — forked from FSX/about.md
Programming Achievements: How to Level Up as a Developer

Programming Achievements: How to Level Up as a Developer

  1. Select a particular experience to pursue.
  2. Pursue that experience to completion. (Achievement unlocked!)
  3. Reflect on that experience. Really soak it in. Maybe a blog post would be in order?
  4. Return to Step 1, this time selecting a new experience.

*This gist is a fork of the gist from [this blog post][1] and this [Gist][2].