Skip to content

Instantly share code, notes, and snippets.

View douglase's full-sized avatar
🔭

Ewan Douglas douglase

🔭
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@douglase
douglase / backup-github.sh
Created May 17, 2019 14:58 — forked from rodw/backup-github.sh
A simple script to backup an organization's GitHub repositories, wikis and issues.
#!/bin/bash
# A simple script to backup an organization's GitHub repositories.
# NOTE: if you have more than 100 repositories, you'll need to step thru the list of repos
# returned by GitHub one page at a time, as described at https://gist.github.com/darktim/5582423
GHBU_BACKUP_DIR=${GHBU_BACKUP_DIR-"github-backups"} # where to place the backup files
GHBU_ORG=${GHBU_ORG-"<CHANGE-ME>"} # the GitHub organization whose repos will be backed up
# (if you're backing up a user's repos instead, this should be your GitHub username)
GHBU_UNAME=${GHBU_UNAME-"<CHANGE-ME>"} # the username of a GitHub account (to use with the GitHub API)
@douglase
douglase / issue-migrate-bitbucket-to-github.py
Created January 13, 2018 17:24 — forked from nidico/issue-migrate-bitbucket-to-github.py
Helper script for issue migration from Bitbucket to GitHub
#!/usr/bin/env python
"""
This script helps migrating issues from Bitbucket to GitHub.
It currently ignores milestones completly and doesn't care whether an issue is
open, new or on hold. As long as it's not closed it's considered open.
To use it, install python-bitbucket, PyGithub and ipdb.
@douglase
douglase / download.tsv
Last active September 22, 2017 19:30 — forked from anonymous/download.tsv
NASA Outgassing Database source: http://outgassing.nasa.gov data last updated: 03/29/2017
We can't make this file beautiful and searchable because it's too large.
sample_id data_ref mfgr_code tml vcm wvr time1 temp1 atm1 time2 temp2 atm2 time3 temp3 atm3 time4 temp4 atm4 appl_code
--------- -------- --------- --- --- --- ----- ----- ---- ----- ----- ---- ----- ----- ---- ----- ----- ---- ---------
V MATERIAL IN CLICKBOND CB4023V, GLASS/PEI - 40% GLASS GSC33214 CLB 0.37 0.00 0.35 CLICKBOND
VC MATERIAL IN CLICKBOND CB9257VC, CARBON FILLED PEI GSC33217 CLB 0.52 0.00 0.28 CLICKBOND
0.5 MIL KAPTON KEVLAR, SHELDAHL 177544 GSC32950 SCH 2.48 0.05 1.97 BLANKET MATERIAL
0667 BLACK EPDM GSC34174 PRS 0.65 0.13 0.07 ORING
1 INCH COPPER TAPE GSC33829 MMM 0.24 0.08 0.01 TAPE
1.6 MIL GBK NOMEX, SHELDAHL 177541-001 GSC32947 SCH 1.81 0.03 1.76 BLANKET MATERIAL
100 DUN-LAM, GE COATED BLACK KAPTON XC GSC33397 DUN 0.89 0.01 0.67 COND BLANKET FILM
104-38 MLI GSC35301 BGF 0.22 0.02 0.12 MLI
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.