- How To Make Package Managers Cry https://www.youtube.com/watch?v=NSemlYagjIU
- Setting expectations for Open Source participation https://youtu.be/tzFWz5fiVKU?t=49m23s
- Modules and Packages: Live and Let Die! https://www.youtube.com/watch?v=0oTh1CXRaQ0
- Pipenv: The Future of Python Dependency Management https://www.youtube.com/watch?v=GBQAKldqgZs
- SREcon18 Europe - The Math behind Project Scheduling, Bug Tracking, and Triage https://www.youtube.com/watch?v=XZFwCplj4ME
- The Fun of Reinvention - David Beazley - Pycon Israel 2017 https://www.youtube.com/watch?v=5nXmq1PsoJ0
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
#!/usr/bin/env python3 | |
# Copyright (c) 2021 Antoine Pietri <antoine.pietri1@gmail.com> | |
# SPDX-License-Identifier: GPL-3.0 | |
import pyorc | |
import argparse | |
def main(): |
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
from enum import Enum | |
def export(cls): | |
d = {e.name: e for e in cls} | |
import sys | |
sys._getframe().f_back.f_globals.update(d) | |
return cls | |
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
#!/bin/bash | |
echo -n 'Enter your cookie header: ' | |
read -s cookie_header | |
echo | |
tmpres=$( mktemp ) | |
curl -s https://blizzcon.com/en-us/watch/videos \ | |
| grep -o '.\+watch?[^"\]\+.\+data-video-title="[^"]\+"' \ |
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
### Keybase proof | |
I hereby claim: | |
* I am seirl on github. | |
* I am seirl (https://keybase.io/seirl) on keybase. | |
* I have a public key whose fingerprint is 225C D9E3 FA93 74BD F6E0 5704 2F89 8485 8B1A 9945 | |
To claim this, I am signing this object: |
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
from microbit import * | |
MAZE = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], | |
[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], | |
[1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1], | |
[1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1], | |
[1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1], | |
[1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1], | |
[1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1], | |
[1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1], |
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
async def add_stream(request): | |
with open('/tmp/file', 'wb') as f: | |
async for chunk in request.content.iter_any(): | |
f.write(chunk) | |
return web.Response(text="Done!") |