Skip to content

Instantly share code, notes, and snippets.

worldofgeese / compose-roachless.yml
Created Nov 17, 2022
Kompose-d Python application
View compose-roachless.yml
apiVersion: v1
- apiVersion: v1
kind: Service
kompose.cmd: kompose convert -f compose-roachless.yml -f compose-roachless.override.yml -o kompose.yml
kompose.version: 1.26.1 (a9d05d509)
creationTimestamp: null

From doomemacs/doomemacs#2575 (comment):

Here are easy steps to get that done

  • Start emacs
  • M-x all-the-icons-install-fonts Provide a temp directory where you'd like the fonts to be downloaded (let's call it $tempFonts)

Then, using Powershell, you can install them for your user with this:


Keybase proof

I hereby claim:

  • I am worldofgeese on github.
  • I am worldofgeese ( on keybase.
  • I have a public key ASBcQcdqvboWhZCigbFVexMv8WT-IqzXaMOV_RLGo54ziwo

To claim this, I am signing this object:

worldofgeese / Dockerfile
Last active Jun 6, 2022
Nix source Dockerfile example
View Dockerfile
FROM nixos/nix as builder
RUN nix-env -iA nixpkgs.gitMinimal
RUN git clone \
RUN nix-channel --update
RUN nix-build \
worldofgeese / quick-gen-gpg-keys.bash
Last active Sep 6, 2022
Script to generate gpg keys quickly
View quick-gen-gpg-keys.bash
echo "This script generates GPG keys valid for 1 year for macOS, Linux, and WSL2 users automatically. The email attached to the resulting key will only be valid if you have an email domain with a local-part of your first name."
if [ "Darwin" = $(uname) ]; then
FULLNAME=$(id -P $USER | awk -F '[:]' '{print $8}')
EMAIL=$(id -P "$USER" | cut -d: -f5 | cut -d, -f1 | sed s/'\w*$'// | tr '[:upper:]' '[:lower:]' | tr -d '[:space:]' | sed 's/$/')
FULLNAME=$(getent passwd $USER | cut -d: -f5 | cut -d, -f1)
EMAIL=$(getent passwd "$USER" | cut -d: -f5 | cut -d, -f1 | sed s/'\w*$'// | tr '[:upper:]' '[:lower:]' | tr -d '[:space:]' | sed 's/$/')
gpg --batch --passphrase '' \
--quick-generate-key "$FULLNAME <$EMAIL>" ed25519 cert 1y
worldofgeese /
Last active Jun 15, 2020
How to secure secrets with gopass and summon

Using Gopass and Summon to Secure Secrets Inside the Enterprise and Out

*Gopass cheatsheet*

Windows user?

Install scoop

Set-ExecutionPolicy RemoteSigned -scope CurrentUser
worldofgeese /
Last active Jun 12, 2020
Getting started with OpenShift

Getting Started with OpenShift

I’m going to show the basics of how to manage an OpenShift cluster using the command-line tool, oc.

Download the tool

Replace linux-aarch64 in the following command with your architecture: linux or macosx