Skip to content

Instantly share code, notes, and snippets.

View svyatoslavmo's full-sized avatar

Svyatoslav M svyatoslavmo

View GitHub Profile
@cbrgm
cbrgm / .skhdrc
Created June 16, 2021 16:32
yabai + skhd + spacebar dotfiles
####### Shortcut Hotkeys #############
# open terminal
alt - return : open -n /Applications/Alacritty.app
# restart Yabi, SpaceBar, and SKHD
alt + shift - r : \
launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"; \
skhd --reload
@wido
wido / acs-build-multi-deb.sh
Created October 3, 2017 11:05
Building Apache CloudStack DEB packages using Docker
#!/bin/bash
set -e
VERSION=$1
URL="http://www-eu.apache.org/dist/cloudstack/releases/${VERSION}/apache-cloudstack-${VERSION}-src.tar.bz2"
FILE="apache-cloudstack-${VERSION}-src.tar.bz2"
cd /tmp
@Informatic
Informatic / README.md
Last active April 9, 2024 07:09
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.