Skip to content

Instantly share code, notes, and snippets.

---
description:
globs:
alwaysApply: true
---
# Code Guidelines
**Code Block Structure for Proposing Edits**:
When proposing code changes to be applied with the `edit_file` tool, the primary goal is to clearly specify the **complete target state** of the code block being modified. Represent unchanged surrounding lines using `// ... existing code ...` (or the equivalent comment syntax for the target language).
@unixfox
unixfox / howto.md
Last active June 8, 2025 01:10
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed
@unixfox
unixfox / README.md
Last active May 3, 2025 08:57
Install alpine linux on Scaleway stardust
@alexalouit
alexalouit / README
Last active September 19, 2022 07:17
run alpine linux as ramdisk/iso/usb with zfs modules (modloop)
$ mkdir /tmp/a
$ cd /tmp/a
$ unsquashfs /media/sd**/boot/modloop-lts
$ mv squashfs-root/ lib
$ tar -xzvf /etc/apk/cache/zfs-lts-*.apk
$ depmod -b /tmp/a
$ mksquashfs lib/ modloop-lts -noappend -always-use-fragments
$ mount -o rw,remount /media/sd**
# do backup but not as /filename or /boot/filename, alpine will be use it)
$ mv /tmp/a/modloop-lts /media/sd**/boot/modloop-lts
@danielb2
danielb2 / readme.md
Last active July 9, 2022 16:26
Alpine Linux with root on ZFS with native encryption

Setting up Alpine Linux using ZFS with a pool that uses ZFS' native encryption capabilities.

Download

Download the extended release from https://www.alpinelinux.org/downloads/ as only it contains the zfs kernel mods at the time of this writing (2020.07.10)

Write it to a USB and boot from it.

Initial setup

@ChristopherA
ChristopherA / brew-bundle-brewfile-tips.md
Last active July 14, 2025 19:32
Brew Bundle Brewfile Tips

Brew Bundle Brewfile Tips

Copyright & License

Unless otherwise noted (either in this file or in a file's copyright section) the contents of this gist are Copyright ©️2020 by Christopher Allen, and are shared under spdx:Creative Commons Attribution Share Alike 4.0 International (CC-BY-SA-4.) open-source license.

Sponsor

If you more tips and advice like these, you can become a monthly patron on my GitHub Sponsor Page for as little as $5 a month; and your contributions will be multipled, as GitHub is matching the first $5,000! This gist is all about Homebrew, so if you like it you can support it by donating to them or becoming one of their Github Sponsors.

@sarkrui
sarkrui / WeChat_backup.sh
Last active February 23, 2023 09:48
备份微信聊天记录
#!/bin/bash
#change working directory to Desktop
cd ~/Desktop
# remove any previously existing compressed files
rm -f WeChat_history*
# generate the new updated
tar -vczf ~/Desktop/WeChat_history$(date +%F_%R).tgz ~/Library/Containers/com.tencent.xinWeChat/Data/Library/Application\ Support/com.tencent.xinWeChat
@oxan
oxan / README.md
Last active October 3, 2021 20:43
Stream server (serial-to-wifi bridge) for ESPHome