Skip to content

Instantly share code, notes, and snippets.

View julianorchard's full-sized avatar

julianorchard

View GitHub Profile
#!/usr/bin/env bash
# Simple helper script to automatically start and ssh
# to a UTM VM. Requires ssh setup on machine prior
# requires:
# - utmctl in path or passed with -b
# - fzf binary in path for selection
UTMCTL="utmctl"
SSH_USER="root"
@romainl
romainl / vanilla-surround.md
Last active March 19, 2026 23:42
Poor man's Surround

Poor man's Surround

The following shows how to replicate some of Surround's features if you don't happen to have it installed.

NOTE: We only dealt with the simplest cases, here, and the convoluted nature of some of these commands shows how well designed and useful that plugin is. And let's not talk about all the corner cases it handles.

Install it, it's worth it.

The list

@christoph-frick
christoph-frick / Awesome-Fennel.md
Last active August 27, 2025 00:26
Use fennel to write the awesome-wm config

How to write an awesome-wm config with Fennel

Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).

General setup

Fetch a recent Fennel version (the

@KrustyHack
KrustyHack / doc.adoc
Last active September 19, 2024 16:37
proxmox-ubuntu-cloud-howto

Cloud-Init Support

Cloud-Init is the defacto multi-distribution package that handles early initialization of a virtual machine instance. Using Cloud-Init, one can configure network