Skip to content

Instantly share code, notes, and snippets.

@urdl
urdl / export_settings.sh
Created January 4, 2026 18:44 — forked from pedro0311/export_settings.sh
Script for exporting/backup selected FreshTomato settings
#!/bin/sh
# USE AT YOUR OWN RISK.
# THIS SCRIPT DOES NOT COME WITH ANY WARRANTY WHATSOEVER.
#
# Backs up selected nvram variables; import them just by running the resulting script.
# Should work equally well with both MIPS and ARM builds.
#
# Thanks to ryzhov_al for basic approach.
#
@urdl
urdl / upgrade-debian-wsl.md
Created November 9, 2024 12:13 — forked from bramtechs/upgrade-debian-wsl.md
Upgrade Debian 9, (current WSL) to Debian 12 (bookworm testing)

Upgrade Debian 9 (current WSL) to Debian 12 (bookworm testing)

Note: I do not maintain this gist anymore, but people report that it still works. Please check the comments for any revisions or extra things you should take into consideration.

As of writing, the Debian distro for WSL (Windows Subsystem for Linux) is quite old.

You can get more up-to-date package managers, text-editors and compilers by upgrading WSL to Debian 12 (current testing).

  • Root required
  • Use at your own risk, preferably on a fresh installation.