Skip to content

Instantly share code, notes, and snippets.

@SharkWipf
SharkWipf / Nerfstudio-WSL2.md
Last active October 23, 2025 08:26
Nerfstudio (with COLMAP + HLOC + FFMPEG) on Windows via WSL2

Nerfstudio (with COLMAP* + HLOC* + FFMPEG*) on Windows via WSL2

* Via Pixi

Old instructions stopped working on Gsplat 1.0.0+. Updated and simplified on 2024-07-09. Now no longer deviates from official installation instructions.

2024-11-03: Microsoft updated the default WSL2 distro to Ubuntu 24.04. One extra command is needed to make it work now.

For native Linux start-to-finish installation instructions, see this document instead.

For context: WSL2 is a Windows built-in way to run Linux applications on Windows, in a tightly integrated virtual machine.
This, in theory, lets you run Linux applications without the complexity and trouble of actually having to run Linux.
In practice, there are still a few caveats, most notably the complex custom CUDA implementation Windows uses to make this work.

@Bjvanminnen
Bjvanminnen / instructions.md
Last active January 8, 2023 15:52
How to use glslify with create-react-app

Create your app

create-react-app my-app
cd my-app

Eject it, so that we can modify webpack config

npm run eject
y # when prompted
@Kartones
Kartones / postgres-cheatsheet.md
Last active November 7, 2025 13:20
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)