Skip to content

Instantly share code, notes, and snippets.

View jackbdu's full-sized avatar

Jack B. Du jackbdu

View GitHub Profile
@fbarretto
fbarretto / instructions.md
Last active December 17, 2025 09:55
StreamDiffusion-TD Prerequisites

Setting up Python/GIT in a Mac for StreamDiffusion-TD

This is meant to help Mac users to setup their Python and GIT environment to run the StreamDiffusion-TD (TouchDesigner) tox for the first time (like if you don't have Python installed yet).

Before starting I recommend you check if you already have Python installed by running:

python3 --version
  • If you get Python 3.10 or higher, you're good to go and you can skip this setup and proceed to the tox.
  • If you get command not found: python3, you can follow the installation steps.
  • If you get Python 3.9 or a lower version, you can jump to the step 3.
@fbarretto
fbarretto / streamdiffusion-mac.md
Last active January 28, 2026 03:05
StreamDiffusion on a Mac

This is a gist on how to get StreamDiffusion running on a Mac (mps)

  1. Clone the repo

git clone https://github.com/cumulo-autumn/StreamDiffusion.git
  1. Setup the environment

cd StreamDiffusion
@chabala
chabala / using-google-takeout.md
Last active January 18, 2026 14:26
Merge and extract tgz files from Google Takeout

Recently found some clowny gist was the top result for 'google takeout multiple tgz', where it was using two bash scripts to extract all the tgz files and then merge them together. Don't do that. Use brace expansion, cat the TGZs, and extract:

$ cat takeout-20201023T123551Z-{001..011}.tgz | tar xzivf -

You don't even need to use brace expansion. Globbing will order the files numerically:

$ cat takeout-20201023T123551Z-*.tgz | tar xzivf -
@marshki
marshki / NYU_VPN_Linux.md
Last active December 4, 2025 11:03
Connect to NYU-NET via OpenConnect VPN client from a command-line interface (CLI), in GNU/Linux, and macOS.

Connect to NYU-NET via VPN in GNU/Linux--Debian, Fedora, Ubuntu--(and macOS) 🔐

Scope: Use OpenConnect VPN client to connect to NYU-NET, the university's wide-area network (WAN).

Preflight check ✔️✈️

You'll need one or more of the following packages:

  • openconnect
  • network-manager-openconnect
  • network-manager-openconnect-gnome
@superjamie
superjamie / raspberry-pi-vpn-router.md
Last active October 6, 2025 20:22
Raspberry Pi VPN Router

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

@takuma7
takuma7 / opencv-fourcc-on-mac-os-x.md
Last active December 29, 2024 19:56
OpenCV Video Writer on Mac OS X