01:36:09
Matthew Rocklin ❯
Afternoon!
01:36:18
garanews ❯
Hello there
01:36:23
Arnab Biswas ❯
Hello!
01:40:28
robbie ❯
Hi all, slightly weird question but is anyone talking right now? Just checking to see if my sound is working
01:41:15
Jonas Bostelmann ❯
Hi, nobody is talking at the moment! :-)
01:41:52
robbie ❯
Great, thanks!
01:44:31
chelle gentemann ❯
i feel like hold music should be playing.
01:45:04
Jacob Tomlinson ❯
Oooh good idea for next time!
01:45:15
chelle gentemann ❯
someone could sing...
01:46:18
Matthew Rocklin ❯
+1
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
import re | |
from datetime import datetime | |
from pathlib import Path | |
import subprocess | |
import sys | |
import requests | |
from packaging import version | |
import pandas as pd |
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
# %% | |
from pathlib import Path | |
import re | |
from packaging.version import Version | |
def find_python_version(): | |
content = Path("pyproject.toml").read_text() | |
python_versions = re.findall(r"Python :: (\d+\.\d+)", content) | |
if not python_versions: |
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
import io | |
import pandas as pd | |
# Got from this PyPI downloads BigQuery datasets with query | |
# SELECT | |
# REGEXP_EXTRACT(file.version, r'(\d+\.\d+)') as scikit_learn_version, | |
# REGEXP_EXTRACT(details.python, r'(\d+\.\d+)') as python_version, | |
# COUNT(*) as count | |
# FROM | |
# `bigquery-public-data.pypi.file_downloads` |
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
# Adapated from https://github.com/mxschmitt/action-tmate/blob/master/src/index.js | |
set -e | |
echo "Downloading tmate" | |
cd /tmp | |
wget https://github.com/tmate-io/tmate/releases/download/2.4.0/tmate-2.4.0-static-linux-amd64.tar.xz | |
tar xvf tmate-2.4.0-static-linux-amd64.tar.xz | |
tmate_path="/tmp/tmate-2.4.0-static-linux-amd64/tmate" | |
cd - |
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
# Adapted from https://gist.github.com/thomasjpfan/edef5d164d2992a2abd16e334ff59c79 | |
from collections import defaultdict | |
import os | |
import re | |
from github import Github | |
token = os.environ["GITHUB_TOKEN"] |
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
settings.hintAlign = 'left'; | |
settings.defaultSearchEngine = 'd'; | |
// vimium-like settings | |
api.map("J", "E"); | |
api.map("K", "R"); | |
api.map("H", "S"); | |
api.map("L", "D"); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This userscript has moved to https://github.com/lesteve/userscripts/blob/master/add-button-for-pr-circleci-doc.user.js.
NewerOlder