Skip to content

Instantly share code, notes, and snippets.

View tgeek77's full-sized avatar

Jason Evans tgeek77

  • Illinois
  • 04:48 (UTC -05:00)
View GitHub Profile
@joedborg
joedborg / launch_vm.sh
Last active May 14, 2025 13:29
LXD Ubuntu VM launch and disk resize
#!/bin/env bash
set -e
readonly VM="banana"
readonly CPU="8"
readonly MEM="8GB"
readonly DSK="120GB"
lxc init images:ubuntu/focal ${VM} -p default -p vm --vm
#!/usr/bin/python
"""Yet another curses-based directory tree browser, in Python.
I thought I could use something like this for filename entry, kind of
like the old 4DOS 'select' command --- cd $(cursoutline.py). So you
navigate and hit Enter, and it exits and spits out the file you're on.
Originally from: http://lists.canonical.org/pipermail/kragen-hacks/2005-December/000424.html
Originally by: Kragen Sitaker