This uses the Github API, via the PyGithub Python library, to list all closed issues and print info about when the issue was closed and who closed it.
To run, you need a Github API access token:
GITHUB_TOKEN="XXX" python issue_close_dates.py
import json | |
from hca.dss import DSSClient | |
dss = DSSClient() | |
print(dss.get_all_bundles(replica="gcp")) | |
print(dss.get_all_bundles(replica="aws")) |
import os, sys | |
import argparse | |
""" | |
A Simple Argparse Program | |
That Works Just The Way | |
We Like It. | |
Charles Reid |
\documentclass[border=2mm]{standalone} | |
\usepackage{tikz} | |
\usepackage{xintexpr} | |
\usetikzlibrary{shapes.geometric} | |
\begin{document} | |
\begin{tikzpicture}[scale=3] | |
% make a node with variable name pol (with the list of features given) at the location (0,0), and don't label it | |
\node (pol) [draw=none, thick, black!90!black,rotate=0,minimum size=6cm,regular polygon, regular polygon sides=11] at (0,0) {}; |
\documentclass[border=2mm]{standalone} | |
\usepackage{tikz} | |
\usepackage{xintexpr} | |
\usetikzlibrary{shapes.geometric} | |
\begin{document} | |
\begin{tikzpicture}[scale=3] | |
% make a node with variable name pol (with the list of features given) at the location (0,0), and don't label it | |
\node (pol) [draw, thick, black!90!black,rotate=0,minimum size=6cm,regular polygon, regular polygon sides=11] at (0,0) {}; |
\documentclass[border=2mm]{standalone} | |
\usepackage{tikz} | |
\usepackage{xintexpr} | |
\usetikzlibrary{shapes.geometric} | |
\begin{document} | |
\begin{tikzpicture}[scale=3] | |
% make a node with variable name pol (with the list of features given) at the location (0,0), and don't label it | |
\node (pol) [draw, thick, black!90!black,rotate=0,minimum size=6cm,regular polygon, regular polygon sides=11] at (0,0) {}; |
#!/usr/bin/env python | |
import re, os | |
from github import Github | |
import time | |
''' | |
Centillion Dead Person Switch | |
If this script is run for | |
more than 72 hours continuously, |
During the last fifteen years the subject of bacteriology has developed with a marvellous rapidity. At the beginning of the...
The study of bacteria practically began with the use of the microscope. It was toward the close of the seventeenth century that...
Nothing of importance came from this work, however, partly because of the inadequacy of the microscopes of the day, and...
from functools import wraps | |
''' | |
This is a brief demo of how and why | |
functools @wraps is useful. | |
Basically, the decorator invisibly | |
swaps out one function with another | |
wrapper function. Unfortunately it | |
also invisibly swaps out the __name__ |