Skip to content

Instantly share code, notes, and snippets.

@dmtucker
dmtucker / projects.md
Last active January 30, 2022 09:00
Projects
LTS
Stage Group Project Services
dmtucker
@dmtucker
dmtucker / ipv6-erl.md
Last active August 9, 2024 09:13
Configuring IPv6 on EdgeRouter Lite

Configuring IPv6 on EdgeRouter Lite

Tested with:

  • v1.9.7+hotfix.4, Wave G in Seattle
  • v1.10.5, Comcast in the South Bay Area
set interfaces ethernet eth0 description LAN
set interfaces ethernet eth1 description WAN
set interfaces ethernet eth2 description WLAN
@dmtucker
dmtucker / vehicle-collision-eap.md
Created December 27, 2016 05:22
Vehicle Collision EAP

Vehicle Collision EAP

  1. Stay calm.

    • Do NOT accuse anyone.
    • Do NOT admit fault.
  2. Cooperate as much as you can. No one enjoys being involved in a collision.

@dmtucker
dmtucker / keybase.md
Created May 28, 2017 06:32
Keybase PSA

Keybase proof

I hereby claim:

  • I am dmtucker on github.
  • I am dmtucker (https://keybase.io/dmtucker) on keybase.
  • I have a public key whose fingerprint is A3E0 EF6C ECB3 3C34 2AA6 EC7C 5508 153A 6E7F C5FB

To claim this, I am signing this object:

@dmtucker
dmtucker / 1.17
Last active April 25, 2020 04:07
What's up with Python 1.17 in the PyPI stats database?
$ python3 sep.py
different: cp037 b'a'
different: cp273 b'a'
different: cp424 b'a'
different: cp500 b'a'
different: cp875 b'a'
different: cp1026 b'a'
different: cp1140 b'a'
untested: cp65001
different: utf_32 b'\xff\xfe\x00\x00/\x00\x00\x00'
why doesn't it make sense to mix strings and bytes in path components with posixpath.join? this Q is really only for py2 since 3 does away with implicit conversions, but the unicode could be encoded and the join would succeed. even if that results in a multi-encoding str, I've been told, that's ok in POSIX
  • setuptools builds distributions from source code.
  • pip (un)installs distributions (optionally, from PyPI).
    • twine publishes distributions to PyPI.
  • pytest tests installed distributions.