Skip to content

Instantly share code, notes, and snippets.

View gpshead's full-sized avatar

Gregory P. Smith gpshead

  • SF Bay Area, CA
  • 18:02 (UTC -08:00)
View GitHub Profile
@justinschuldt
justinschuldt / raspberry-pi-zero_as_webcam.md
Last active November 20, 2025 20:36
Directions for setting up a RaspberryPi to act as a generic USB webcam

hardware/software

Webcam parts:

  • Raspberry Pi Zero W Rev 1.1
  • Raspberry Pi Camera v2 (8-megapixel)
  • Raspberry Pi High Quality Camera (12.3-megapixel)
  • Raspbian Buster Lite 2020-02-13

Webcam works with:

  • Windows 10
  • Windows 10 "Camera" app
@CAM-Gerlach
CAM-Gerlach / ffmpeg_splicer.py
Created August 17, 2022 08:33
FFMPEG Media Editing Script/Module
#!/usr/bin/env python3
import argparse
import datetime
from pathlib import Path
import subprocess
import tempfile
TIME_PRECISION = 2
#!/bin/bash
set -e -o errexit -o pipefail -o nounset
###################################
# This script can be used by itself, but it's recommended that you read
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/
###################################
# Do not modify these variables (set by Proxmox when calling the script)
vmId="$1"
@LaurEars
LaurEars / main.yml
Created July 22, 2024 18:36
LaTeX resume builder GitHub actions file
name: Build latex
# Controls when the action will run. Triggers the workflow on push
on:
push
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build-latex"
build-latex: