Skip to content

Instantly share code, notes, and snippets.

@proegssilb
proegssilb / Dockerfile
Last active March 26, 2024 14:37
Rust Embedded dev container setup
ARG VARIANT=bullseye
FROM debian:${VARIANT}
ENV DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
# Arguments
ARG CONTAINER_USER=esp
ARG CONTAINER_GROUP=esp
ARG ESP_BOARD=all
@proegssilb
proegssilb / template.py
Created June 1, 2024 12:48
Build123d template for avoiding show_all and switching between VSCode and CQEditor
# OCP Setup
ocp_enable = True
try:
from ocp_vscode import show, show_all, reset_show, set_port, set_colormap, ColorMap, Camera, show_object
except ImportError:
ocp_enable = False
else:
set_port(3939)
reset_show()