Skip to content

Instantly share code, notes, and snippets.

View dmundt's full-sized avatar

Daniel Mundt dmundt

  • STRABAG Infrastructure & Safety Solutions GmbH
  • Germany, Berlin
View GitHub Profile
@dmundt
dmundt / upgrade-debian-wsl.md
Created June 16, 2023 11:29 — 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)

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.
  • Choose 'yes' when Debian requests to restart services.
@dmundt
dmundt / template-fragments.go
Created May 3, 2023 17:27 — forked from benpate/template-fragments.go
Demonstration of Template Fragments using the standard Go template library
package main
import (
"html/template"
"net/http"
"strconv"
)
/***********************
This is a simple demonstration of how to use the built-in template package in Go to implement
@dmundt
dmundt / SVGSamples.dart
Created February 1, 2013 09:43 — forked from ltackmann/SVGSamples.dart
Dart: SVG Sample
#import('dart:html');
class SVGSamples {
void run() {
drawlines();
}
void drawlines() {
final int maxY = 250;