Skip to content

Instantly share code, notes, and snippets.

View professormahi's full-sized avatar
😀
Happy!

Mahdi Fooladgar professormahi

😀
Happy!
View GitHub Profile
@professormahi
professormahi / SimpleHTTPServerWithUpload.py
Created April 19, 2016 13:41 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
@professormahi
professormahi / README.md
Last active November 19, 2016 06:41
Installing Sentry on Debian

Installing Sentry on Debian

Install aptitude packages

sudo apt-get update
sudo apt-get install python python-setuptools python-pip python-dev libxslt1-dev libxml2-dev libmysqlclient-dev libpq-dev libffi-dev postgresql lipjpeg-dev

Install and activate virtualenv

sudo pip install -U virtualenv
virtualenv /clients/sentry/

source /clients/sentry/bin/activate