Skip to content

Instantly share code, notes, and snippets.

View leewardbound's full-sized avatar

Leeward Bound leewardbound

View GitHub Profile
// Package join-from-webcam contains an example of joining an ion instance and
// publishing a stream directly from a webcam device
package main
import (
"context"
"encoding/json"
"fmt"
"log"
// Package join-from-screenshare contains an example of joining an ion instance
// and publishing the screenshare of your X server
package main
import (
"context"
"encoding/json"
"fmt"
"log"
did:3:kjzl6cwe1jw14acmxg1wwq9bmy49lod9jsqs4at0e6tv3fnpy5mq8lhcercmkp4
@leewardbound
leewardbound / Dockerfile
Created July 27, 2022 23:35
Self-serve minio container, automatically creates bucket at container startup
# Self-service Minio container
# Automatically creates the $MINIO_BUCKET bucket and configures it for public downloads
FROM minio/mc AS mc
FROM minio/minio
RUN echo $'#!/usr/bin/env sh \n\
cat /bin/start-minio.sh \n\
AWAIT_STARTUP="sleep 5" \n\
CONFIGURE_ROOT="mc config host add local http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD" \n\
@leewardbound
leewardbound / Dockerfile
Last active November 13, 2022 22:55
VNC container with Google Chrome (for Industry Idle)
FROM consol/ubuntu-xfce-vnc
USER 0
RUN apt-get update -yq
RUN wget -O /tmp/google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i /tmp/google-chrome.deb || true
RUN apt-get install -fyq
USER 1000
@leewardbound
leewardbound / async_task_mixin.py
Created December 17, 2025 20:46
Django Async Task Model Mixin Helper
from datetime import datetime, timedelta, timezone
from django.db import models
class AsyncTaskStatus(models.TextChoices):
PENDING = "pending"
IN_PROGRESS = "in_progress"
COMPLETED = "completed"
FAILED = "failed"
@leewardbound
leewardbound / fix-github-pr-skill.md
Last active January 23, 2026 18:29
Claude "Fix PR" skill
name fix-pr
description Review and address GitHub PR comments. Use when working on PR feedback, fixing review comments, or responding to reviewer concerns. Handles both human and AI bot reviews.

Fix PR Comments

Workflow

0. Determine Which PR to Fix