Skip to content

Instantly share code, notes, and snippets.

@tdamsma
tdamsma / LICENSE
Created March 16, 2022 15:32 — forked from damonjw/LICENSE
Event driven simulator in Python, using async/await
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
@tdamsma
tdamsma / migrating-away-from-docker-desktop.md
Last active October 25, 2024 23:52
Running VSCode remote containers on windows without docker desktop

Running VSCode remote containers on windows without docker desktop

Due to the license issues with docker desktop and the fact that you don't really need this buggy bit of software, this guide will walk you through the steps to use VSCode+remote-containers in combination with WSL2 without using docker desktop.

Get rid of docker desktop

Only if you have docker desktop currently installed of course

Uninstall docker desktop application

"""Put up a simple webserver for demonstration and testing purposes."""
from functools import partial
from wsgiref.simple_server import make_server
import zope.sqlalchemy
from time import time_ns
from pyramid.authentication import AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy
from pyramid.config import Configurator
from pyramid.events import BeforeTraversal
@tdamsma
tdamsma / Dockerfile
Last active June 14, 2020 01:25
Dockerfile for building pfalcon's branch of micropython
FROM ubuntu:bionic
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -qq \
&& apt-get install -qqy \
autoconf \
automake \
bash \
bison \