Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthias Kurz mkurz

  • Vienna, Austria
View GitHub Profile
View success.html
<!doctype html>
<title>dynamic</title>
<button onclick="addGeneratedForms()">addGeneratedForms</button>
<script>
function addGeneratedForms(){
var div = document.createElement('div');
div.innerHTML = '<form class="login" method="post" action="login">\
<input type="text" name="username">\
<input type="password" name="password">\
<button type="submit">login</button> stay on this page but update the url with pushState\
@mkurz
mkurz / export_repo_issues_to_csv.py
Last active Oct 11, 2015 — forked from unbracketed/export_repo_issues_to_csv.py
Export Issues from Github repo to CSV (API v3)
View export_repo_issues_to_csv.py
#!/usr/bin/env python
"""
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
import json
@mkurz
mkurz / mig.py
Last active Jul 30, 2016 — forked from Jach/mig.py
View mig.py
#!/usr/bin/env python
'''
Steps:
1. Create any milestones
2. Create any labels
3. Create each issue, linking them to milestones and labels
3.1: Update status for new issue if closed
4: Create all the comments for each issue
'''
import getpass