Skip to content

Instantly share code, notes, and snippets.

View alpha-beta-soup's full-sized avatar
🌏

Richard Law alpha-beta-soup

🌏
View GitHub Profile
@alpha-beta-soup
alpha-beta-soup / github_issues_to_docx.md
Last active September 12, 2024 22:48 — forked from toraritte/github_issues_to_docx.md
A long and stupid way to save GitHub issues in Word DOCX format

The long and stupid way is listed below, but hoping that someone has a way quicker and nicer solution. (Didn't have time to come up with a proper Node or Deno solution, so I spent better part of the day on this abomination.[quote][1])

  1. "Install" [GitHub CLI][gh] and [Pandoc]

    nix-shell -p gh pandoc
    
  2. Export GitHub issues in JSON

# Author: [email protected]
#
# License: BSD (3-clause)
# XXX clafify licensing
import numpy as np
from collections import namedtuple
from scipy.signal import detrend
from scipy import stats