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()
@proegssilb
proegssilb / blocklist.py
Last active April 2, 2026 01:36
A quick-and-dirty mass domain blocker plugin for searxng
from urllib import request
from urllib.parse import urlparse
from flask_babel import gettext as _
from searx.plugins import Plugin, PluginInfo
block_lists = [
'https://raw.githubusercontent.com/NotaInutilis/Super-SEO-Spam-Suppressor/refs/heads/main/hosts.txt',
'https://raw.githubusercontent.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/refs/heads/main/noai_hosts.txt',
]