Skip to content

Instantly share code, notes, and snippets.

View jcuotpc's full-sized avatar

Julian C. jcuotpc

View GitHub Profile
@jcuotpc
jcuotpc / pypi-release-checklist.md
Created September 20, 2017 17:54 — forked from audreyfeldroy/pypi-release-checklist.md
My PyPI Release Checklist
  • Update HISTORY.rst
  • Commit the changes:
git add HISTORY.rst
git commit -m "Changelog for upcoming release 0.1.1."
  • Update version number (can also be minor or major)
bumpversion patch
@jcuotpc
jcuotpc / mailman.ini
Created March 10, 2017 14:48 — forked from denji/mailman.ini
Mailman setup with uwsgi-cgi, systemd and nginx
# /usr/bin/uwsgi --ini /etc/uwsgi/mailman.ini
[uwsgi]
plugins = cgi
vhost = true
master = true
#touch-reload = %p
#daemonize = /var/log/uwsgi-mailman.log
#pidfile = /var/run/uwsgi-mailman.pid
#log-maxsize = 20971520
socket = 127.0.0.1:4010
@jcuotpc
jcuotpc / template.html
Created January 30, 2017 21:02 — forked from imkevinxu/template.html
Django code to read uploaded CSV file
<form action="{% url %}" method="post" enctype="multipart/form-data">{% csrf_token %}
<input type="file" name="csv_file" />
<input type="submit" value="Upload" />
</form>
@jcuotpc
jcuotpc / gist:8333214
Created January 9, 2014 12:15
html5 skeleton
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>