Skip to content

Instantly share code, notes, and snippets.

View error418's full-sized avatar

Michael Gerbig error418

View GitHub Profile
@error418
error418 / wsl-podman.sh
Created July 10, 2023 20:00
Install Podman into Ubuntu WSL
#!/bin/bash
sudo apt update
# podman installation
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/unstable/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:unstable.list
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
sudo apt update
sudo apt install podman
@error418
error418 / gist:c6b1e3447cfbb33c6fcb
Last active April 26, 2018 08:57
Space Engineers resource indicator lights
static void Main(string[] args)
{
// v0.2
// Place lights starting with following string and the appended resource type to create a resource check. -- TypeId:SubtypeId
// e.g.: "Resource Status Light Ore:Stone" for a check for stone
// TypeIds: Ore Ingot Component
const string WARNING_LIGHT_PREFIX = "RSL ";
const string SOUND_BLOCK_NAME = null;
const string TYPE_SEPARATOR = ":";