Skip to content

Instantly share code, notes, and snippets.

View stormwatch's full-sized avatar

Ezequiel Birman stormwatch

View GitHub Profile
#!/bin/bash
# "Repair" VSCode WSLServer script to include genie invocation
# Author: Santiago Saavedra <[email protected]>
# License: Public Domain or CC0
patch_file () {
patch -r- -F0 "$1" <(cat <<EOF
--- /dev/null 2022-02-15 00:14:03.180843900 +0100
+++ $1 2022-03-06 13:07:22.380000000 +0100