Skip to content

Instantly share code, notes, and snippets.

View honnix's full-sized avatar
🏠
Working from home

Honnix honnix

🏠
Working from home
View GitHub Profile
@honnix
honnix / clr.py
Created March 10, 2017 12:20
python module import hook
import sys
import imp
class Test:
pass
class MyLoader:
def load_module(self, fullname):
@honnix
honnix / Dockerfile
Last active September 15, 2018 12:43
FROM ubuntu:14.04
COPY install-python.sh /
RUN /install-python.sh
RUN pip install manhole
ENV PYTHONMANHOLE 'daemon_connection=True'
@honnix
honnix / Dockerfile
Created June 6, 2020 12:08
pip transitive dependency resolution issue reproduce
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install -y python3 python3-dev python3-pip
RUN pip3 install -U pip setuptools
RUN pip3 install grpcio==1.8.1