Launch a notebook in an ephemeral container in the cloud. No installation needed. Fill out the form or click on a Launch on Binder badge in GitHub.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
~/projects/tips via 🐍 pyenv miniconda3-4.7.12 (miniconda3-4.7.12) 🅒 root | |
➜ pyenv local 3.8.6 | |
~/projects/tips via 🐍 pyenv 3.8.6 | |
➜ python -m venv testenv | |
~/projects/tips via 🐍 pyenv 3.8.6 took 4s | |
➜ source testenv/bin/activate | |
~/projects/tips via 🐍 pyenv 3.8.6 (testenv) |
This file contains 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
# Add this to your zshrc file | |
# Use only if you have Big Sur and at your own risk | |
local xc_sdk_path="$(xcrun --show-sdk-path 2>/dev/null || true)" | |
if [ -d "$xc_sdk_path" ]; then | |
export CFLAGS="-I${xc_sdk_path}/usr/include ${CFLAGS}" | |
export LDFLAGS="-L${xc_sdk_path}/usr/lib ${LDFLAGS}" | |
fi | |
export PATH="~/.pyenv/bin:$PATH" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
{ | |
search(query: "org:python repo:cpython is:pr created:>2019-09-01", type: ISSUE, last: 100) { | |
edges { | |
node { | |
... on PullRequest { | |
url | |
title | |
createdAt | |
} | |
} |
This file contains 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
===== METHODS ===== | |
bool.__init_subclass__ | |
bool.__subclasshook__ | |
bytearray.__alloc__ | |
bytearray.__delitem__ | |
bytearray.__iadd__ | |
bytearray.__init_subclass__ | |
bytearray.__mod__ | |
bytearray.__reduce__ | |
bytearray.__reduce_ex__ |
This file contains 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
SELECT key AS function, sum(json_extract(value, '$.count')) as count | |
FROM FunctionStats, json_each(FunctionStats.stats) | |
JOIN File ON FunctionStats.id = File.id | |
WHERE FunctionStats.namespace IN ('string', 're', 'difflib', 'textwrap', 'unicodedata', | |
'stringprep', 'readline', 'rlcompleter', 'struct', 'codecs', | |
'datetime', 'calendar', 'collections', 'heapq', 'bisect', 'array', | |
'weakref', 'types', 'copy', 'pprint', 'reprlib', 'enum', | |
'numbers', 'math', 'cmath', 'decimal', 'fractions', 'random', | |
'statistics', 'itertools', 'functools', 'operator', | |
'pathlib', 'fileinput', 'stat', 'filecmp', 'tempfile', 'glob', |