This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# Ubuntu 22.04+ | |
resize_rootfs: false | |
write_files: | |
- content: | | |
path: /etc/growroot-disabled | |
runcmd: | |
- [ sgdisk, -e, /dev/sda ] | |
- [ partprobe ] | |
- [ parted, -s, /dev/sda, mkpart, primary, ext4, "40%", "100%" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# Ubuntu 22.04+ | |
resize_rootfs: false | |
write_files: | |
- content: | | |
path: /etc/growroot-disabled | |
runcmd: | |
- [ sgdisk, -e, /dev/sda ] | |
- [ partprobe ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
function extract_module_name { | |
# Extract module name | |
sed -n -E 's/^\s*module\s+([[:graph:]]+)\s*$/\1/p' | |
} | |
function normalize_url { | |
# Normalize provided URL. Removing double slashes | |
echo "$1" | sed -E 's,([^:]/)/+,\1,g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps aux | head -1; ps aux | sort -rnk 4 | head -10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caddyfile Support | |
CSS Peek | |
Docker | |
Git Graph | |
Go | |
IntelliSense for CSS classnames in HTML | |
One Dark Pro | |
PostgeSQL | |
Svelte for VS Code | |
tinygo |