Skip to content

Instantly share code, notes, and snippets.

View jonnyhoeven's full-sized avatar
💭
Just make it!

Jonny van der Hoeven jonnyhoeven

💭
Just make it!
View GitHub Profile
@2KAbhishek
2KAbhishek / Shell_Keybindings.md
Last active August 1, 2025 15:05
Keyboard shortcuts for bash/zsh

Shell Keybindings

Navigation 🚀

Keybinding Action
Alt + f/b Move cursor to previous/next word
Ctrl + a/e Move cursor to beginning/end of command
Ctrl + xx Toggle between the start of line and current cursor position
@Informatic
Informatic / README.md
Last active July 5, 2025 10:51
cloud-init "nocloud" networking setup

cloud-init is absolute cancer. Its code is horrible. It has no documentation at all.

It took me 5 fucking hours to figure out how to properly configure networking on recent cloud-init (Ubuntu 16.04 cloud image) with local datasource.

It's not mentioned anywhere you need to provide dsmode: local. (but only if you need network-config, besides that everything is fine; someone below noted that -m flag does the same thing, good to know) Of course nobody needs documentation for network-config format either. (cloudinit/net/__init__.py is a protip, enjoy the feces dive)

Oh, and by the way - no, it's not possible to provide network-config to uvt-kvm without patching shit.