Skip to content

Instantly share code, notes, and snippets.

Avatar

Jason R. Coombs jaraco

View GitHub Profile
View gist:5abcf9bc64af4652e24e0754f3933eee
~ $ ping 192.168.107.175
PING 192.168.107.175 (192.168.107.175): 56 data bytes
Request timeout for icmp_seq 0
64 bytes from 192.168.107.175: icmp_seq=0 ttl=64 time=1096.404 ms
64 bytes from 192.168.107.175: icmp_seq=1 ttl=64 time=92.475 ms
64 bytes from 192.168.107.175: icmp_seq=2 ttl=64 time=12.017 ms
64 bytes from 192.168.107.175: icmp_seq=3 ttl=64 time=5.744 ms
64 bytes from 192.168.107.175: icmp_seq=4 ttl=64 time=5.631 ms
64 bytes from 192.168.107.175: icmp_seq=5 ttl=64 time=14.786 ms
64 bytes from 192.168.107.175: icmp_seq=6 ttl=64 time=6.262 ms
View gist:9fc22e50d362d26da95a0037781fe8eb
$ ping 192.168.107.147
PING 192.168.107.147 (192.168.107.147): 56 data bytes
64 bytes from 192.168.107.147: icmp_seq=0 ttl=255 time=84.178 ms
64 bytes from 192.168.107.147: icmp_seq=1 ttl=255 time=18.423 ms
64 bytes from 192.168.107.147: icmp_seq=2 ttl=255 time=65.569 ms
64 bytes from 192.168.107.147: icmp_seq=3 ttl=255 time=136.458 ms
64 bytes from 192.168.107.147: icmp_seq=4 ttl=255 time=8.176 ms
64 bytes from 192.168.107.147: icmp_seq=5 ttl=255 time=34.045 ms
64 bytes from 192.168.107.147: icmp_seq=6 ttl=255 time=12.747 ms
64 bytes from 192.168.107.147: icmp_seq=7 ttl=255 time=120.082 ms
View gist:60f26af6233fc34051668d0bb76dfb83
$ ping 192.168.107.211
PING 192.168.107.211 (192.168.107.211): 56 data bytes
64 bytes from 192.168.107.211: icmp_seq=0 ttl=64 time=242.343 ms
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
64 bytes from 192.168.107.211: icmp_seq=1 ttl=64 time=2209.524 ms
64 bytes from 192.168.107.211: icmp_seq=2 ttl=64 time=1208.365 ms
64 bytes from 192.168.107.211: icmp_seq=3 ttl=64 time=205.347 ms
64 bytes from 192.168.107.211: icmp_seq=6 ttl=64 time=10.068 ms
Request timeout for icmp_seq 7
View gist:285d8274cca073c8dd224406aa7eea85
This file has been truncated, but you can view the full file.
warehouse main $ docker-compose -v
Docker Compose version v2.1.1
warehouse main $ make build
/bin/sh: .state/env/bin/python: No such file or directory
/bin/sh: .state/env/bin/python: No such file or directory
make[1]: Circular requirements/docs.txt <- .state/env/pyvenv.cfg dependency dropped.
make[1]: Circular requirements/lint.txt <- .state/env/pyvenv.cfg dependency dropped.
# Create our Python 3.8 virtual environment
View gist:0d0fc38c69d7415a6db6ca0572b5c5e0
setuptools main $ pip-run -q build wheel -- -m build --no-isolation --wheel
* Getting dependencies for wheel...
running egg_info
creating setuptools.egg-info
writing setuptools.egg-info/PKG-INFO
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
writing requirements to setuptools.egg-info/requires.txt
writing manifest file 'setuptools.egg-info/SOURCES.txt'
package init file 'setuptools/tests/indexes/__init__.py' not found (or not a regular file)
View gist:46d9e2971fc2a1b2368aaf77bcb360e4
~ $ whois cherrypy.org
% IANA WHOIS server
% for more information on IANA, visit http://www.iana.org
% This query returned 1 object
refer: whois.pir.org
domain: ORG
organisation: Public Interest Registry (PIR)
View gist:685206cd96128bb9df37dd44f0aa6116
$ pip-run virtualenv -- -m virtualenv --version
Collecting virtualenv
Using cached virtualenv-20.6.0-py2.py3-none-any.whl (5.3 MB)
Collecting platformdirs<3,>=2
Using cached platformdirs-2.0.2-py2.py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.1
Using cached distlib-0.3.2-py2.py3-none-any.whl (338 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
View gist:f302fc468d4fd48b647490d79f787a3a
cpython bpo-44461-refactor-targets $ git diff
diff --git a/Lib/pdb.py b/Lib/pdb.py
index b1f0c7fab0..ca0bbbbd8f 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -1566,6 +1566,7 @@ def lookupmodule(self, filename):
@functools.singledispatchmethod
def _run(self, target: 'ModuleTarget'):
+ raise ValueError('module!')
View gist:2373363094fe784ceb46d21ca3583f21
these paths will be fetched (45.42 MiB download, 200.97 MiB unpacked):
/nix/store/1fpxk7nq33jyxv5psgv7fcya0zk1dh02-setuptools-setup-hook
/nix/store/25qhsb4lx6h9qxd2zs5y0vzqvqmj3njm-bash-interactive-4.4-p23-info
/nix/store/55hb783qfks5n51x65bhckzy3xj1v6n1-python-namespaces-hook.sh
/nix/store/6h64pgvdlv9xii0i9cxr2k7rz7clz4pc-python3.8-peppercorn-0.6
/nix/store/6mic0pcmp4va0ghx7hn5wl3jl4ll4h2q-gnumake-4.3
/nix/store/6wzkn6gdpj3psqjgbfx858wd3dhanj12-diffutils-3.7
/nix/store/7d2w3lafm8cla7n6ii5jskhsnqg4zv3a-stdenv-linux
/nix/store/7w60y5y9vq1lvxndn1mvzwswijjbp9q6-python-catch-conflicts-hook
/nix/store/83zz05y2rh15y108ydkcmz3pl7bddccz-bash-interactive-4.4-p23-doc
View gist:638896dfeff10074baa971e70cd2916f
$ docker run jaraco/multipy-tox pip-run -q jaraco.docker -- -c "import jaraco.docker; print(jaraco.docker.is_docker())"
True
$ pip-run -q jaraco.docker -- -c "import jaraco.docker; print(jaraco.docker.is_docker())"
False