Skip to content

Instantly share code, notes, and snippets.

View mwoodpatrick's full-sized avatar
🏠
Working from home

Mark Wood-Patrick mwoodpatrick

🏠
Working from home
  • nvidia
  • United States
View GitHub Profile
##############################################################
# How to run local multi-node Kubernetes clusters using kind #
# https://youtu.be/C0v5gJSWuSo #
##############################################################
#########
# Setup #
#########
# Install kind (https://kind.sigs.k8s.io/docs/user/quick-start/#installation)
@mwoodpatrick
mwoodpatrick / README.md
Created September 6, 2022 12:31 — forked from lcrilly/README.md
unitc - a curl wrapper for configuring NGINX Unit

unitc

A curl wrapper for configuring NGINX Unit

Just provide the configuration URI (e.g. /config/routes) and unitc will find the control socket to construct the full address in curl syntax.

USAGE: unitc [HTTP method] [--quiet] URI

@mwoodpatrick
mwoodpatrick / rn-with-wsl-wsa.md
Last active October 11, 2023 09:33 — forked from xquangdang/rn-with-wsl-wsa.md
Develop React Native app with WSL and WSA

Develop React Native app with WSL and WSA

Requirement

  • Windows Subsystem for Linux 2 (WSL2)
  • Windows Subsystem for Android (WSA)
  • NodeJS install inside WSL2

Steps

WSA

@mwoodpatrick
mwoodpatrick / README.md
Created December 28, 2020 16:14 — forked from djfdyuruiry/README.md
WSL 2 - Enabling systemd

Enable systemd in WSL 2

This guide will enable systemd to run as normal under WSL 2. This will enable services like microk8s, docker and many more to just work during a WSL session. Note: this was tested on Windows 10 Build 2004, running Ubuntu 20.04 LTS in WSL 2.

  • To enable systemd under WSL we require a tool called systemd-genie

  • Copy the contents of install-sg.sh to a new file /tmp/install-sg.sh:

    cd /tmp