Skip to content

Instantly share code, notes, and snippets.

@dhui
dhui / gist:1164498
Created August 23, 2011 06:43 — forked from voodootikigod/gist:1155790
PyCodeConf Ticket Give-away
Day job: Software Ninja
Favorite Python project: Django
Favorite Conference: PyCon
Python Experience Level: not quite ninja, but just enough to be a fanboy
@dhui
dhui / resources.py
Created April 23, 2012 01:46
Tastypie Hierarchical Resource
from tastypie.fields import ToOneField
from resources_base import CustomModelResource, ChildResource
from models import User, Post
class UserResource(CustomModelResource):
class Meta:

Keybase proof

I hereby claim:

  • I am dhui on github.
  • I am dhui (https://keybase.io/dhui) on keybase.
  • I have a public key whose fingerprint is 5BD3 7D5C A239 C23A 8924 6EA3 1501 BE2D 4ED3 E839

To claim this, I am signing this object:

"""
Gets stats for salaries by IDE
Inpired by: https://stackoverflow.blog/2017/06/15/developers-use-spaces-make-money-use-tabs/
Data from: https://drive.google.com/uc?export=download&id=0B0DL28AqnGsrV0VldnVIT1hyb0E
"""
import collections
import csv