Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script to get watchers/stars/forks for all repos on a github organization | |
Set GITHUB_API_TOKEN environment variable if you are hitting the API rate limit | |
Requires pygithub and Python 3.6: | |
pip install pygithub | |
Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Script to get watchers/stars/forks for all repos on a github organization | |
Set GITHUB_API_TOKEN environment variable if you are hitting the API rate limit | |
Requires pygithub and Python 3.6: | |
pip install pygithub | |
Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Python implementation of https://github.com/jupyterhub/jupyterhub/issues/1261 | |
""" | |
import json | |
import requests | |
username = 'minrk' | |
password = 'secret' | |
hub_url = 'http://127.0.0.1:8765' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# usage: | |
# ruby all-releases ipython jupyter jupyterlab jupyterhub | |
# dependencies: | |
# gem install netrc octokit activesupport faraday-http-cache | |
require "rubygems" | |
require "octokit" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import re | |
import os | |
import urlparse | |
import hashlib | |
import json | |
import sys | |
title_re = re.compile(r'([=*]{3,})\n([^\n]+)\n\1\n') |