Skip to content

Instantly share code, notes, and snippets.

View justhamade's full-sized avatar

Justin Hamade justhamade

View GitHub Profile
#!/bin/bash
# Run with curl https://gist.github.com/justhamade/633013c13e29e72c1080 | sh
yum clean metadata
yum clean all
yum update -y
yum groupinstall "Development tools" -y
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y
from django.contrib import admin
from django.contrib.admin import ChoicesFieldListFilter
from django.contrib.admin.views.main import ChangeList
from django.utils.http import urlencode
from django.utils.translation import ugettext_lazy as _
from django.utils.encoding import smart_text
from .models import Person