Skip to content

Instantly share code, notes, and snippets.

View zbettenbuk's full-sized avatar

Zoltan Bettenbuk zbettenbuk

View GitHub Profile
# This script exports all issues from all repos of a github organization into CSV format without headers
# Handy when you want to migrate your issues to some other task tracking systems
#
# You need to install and configure gh (https://cli.github.com/)
# Replace ORG_NAME with your org name
#
# Feel free to fine tune with additional filters or fields
gh repo list ORG_NAME --json name | jq -c '.[] | .name' | xargs -I % gh issue list --repo ORG_NAME/% --json title,body --limit 1000 | jq -r '.[] | [ .title, .body ] | @csv' > issues.csv
@zbettenbuk
zbettenbuk / gist:da9b739faaeb401b1779c611b1ebe551
Created October 6, 2020 15:24
Prerender.io outbound IPs
116.202.117.73
116.202.165.46
116.202.165.61
116.202.171.253
116.202.224.109
116.202.224.155
116.202.242.171
116.202.247.40
134.122.4.162
134.209.162.234
@zbettenbuk
zbettenbuk / generateWikiDirectory.js
Created October 6, 2020 10:21
Generates a directory .md page of all the .md pages in a folder (e.g. for a GitHub wiki)
const fs = require('fs');
/**
* Change this line to match the base URL of your pages (e.g. your github wiki).
*/
const BASE_URL = 'https://github.com/githubuser/githubproject/wiki/';
/**
* Filter for file names in the folder.
*/