Skip to content

Instantly share code, notes, and snippets.

"""
Exports Issues from a specified repository to a CSV file
Uses basic authentication (Github username + password) to retrieve Issues
from a repository that username has access to. Supports Github API v3.
"""
import csv
import requests
@sdellis
sdellis / gist:2911722
Created June 11, 2012 18:16 — forked from Lasha/gist:2389741
PHP mail() contact form script
<?php
if(isset($_POST['submit'])) {
if(trim($_POST['name']) == '') {
$hasError = true;
} else {
$name = trim($_POST['name']);
}
if(trim($_POST['subject']) == '') {