Skip to content

Instantly share code, notes, and snippets.

View craftpip's full-sized avatar
☁️
Life is a big thrown exception.

Boniface Pereira craftpip

☁️
Life is a big thrown exception.
View GitHub Profile
@craftpip
craftpip / Dockerfile
Created February 18, 2026 15:32
openclaw inside docker inside wsl
FROM node:23-bookworm
WORKDIR /tmp/openclaw-build
RUN apt-get update && \
apt-get install -y ca-certificates curl gnupg && \
install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
chmod a+r /etc/apt/keyrings/docker.gpg && \
echo \
@craftpip
craftpip / vscode like port reverse proxy
Last active March 25, 2024 13:35
nginx reverse proxy config for <port>.domain.com to localhost:<port>
# This is a default site configuration which will simply return 404, preventing
# chance access to any other virtualhost.
resolver 172.17.0.1 valid=1s;
server {
listen 80;
server_name ~^(?<port>\d+)\.boniface\.pe$;
location / {