Skip to content

Instantly share code, notes, and snippets.

@unixfox
unixfox / howto.md
Last active May 25, 2024 19:25
Install Alpine Linux on Oracle Cloud ARM VPS with Ubuntu pre-installed
@unixfox
unixfox / README.md
Last active August 29, 2023 03:52
Install alpine linux on Scaleway stardust
  1. Reboot into the rescue image
  2. Then execute these commands:
cd /dev/shm
mkdir alpine
cd alpine
wget https://dl-cdn.alpinelinux.org/alpine/v3.16/releases/x86_64/alpine-minirootfs-3.16.0-x86_64.tar.gz
tar xzvf alpine*
mount -t proc /proc proc/
mount -t sysfs /sys sys/
@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 June 22, 2024 03:19
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
@kongkrit
kongkrit / alpine-zfs-grub-uefi.md
Last active January 4, 2024 23:10
Install Alpine Linux on ZFS Root - grub bootloader on UEFI

Alpine Linux Installation on ZFS Root with grub on UEFI

  • References [ ref1 | ref2 | ref3 ]
  • Boot from alpine-extended [ download ]
  • login as root without any password
  • setup network interfaces and start networking:
    setup-interfaces
    /etc/init.d/networking start
    
  • add, config, and enable openssh: