Skip to content

Instantly share code, notes, and snippets.

View Roger-Roger-debug's full-sized avatar

Roger Roger Roger-Roger-debug

  • Trade Federation
  • Geonosis
View GitHub Profile
@sloonz
sloonz / sandbox.py
Last active September 9, 2025 16:45
Sandboxing wrapper script for bubblewrap ; see https://sloonz.github.io/posts/sandboxing-3/
#!/usr/bin/python
import argparse
import os
import shlex
import sys
import tempfile
import yaml
config = yaml.full_load(open(os.path.expanduser("~/.config/sandbox.yml")))