Skip to content

Instantly share code, notes, and snippets.

View pbzweihander's full-sized avatar
๐Ÿค”

Kangwook Lee (์ด๊ฐ•์šฑ) pbzweihander

๐Ÿค”
View GitHub Profile
@nolanlawson
nolanlawson / scaling_mastodon_down.md
Last active June 27, 2025 11:05
Scaling Mastodon down

Scaling Mastodon down

There is already a guide on scaling your Mastodon server up. This is a short guide on scaling your Mastodon server down.

I.e., maybe you want to run a small instance of <100 active users, and you want to keep your cloud costs reasonable. So you might be running everything on a single machine, with limited memory and CPU. (In my case, I was using a t3.medium instance with 2 vCPUs and 4GB of RAM.) How do you do this?

Note that I'm not a Ruby or Sidekiq expert, and most of this stuff I figured out through trial and error.

@skystar-p
skystar-p / rpi4_zfs.md
Last active July 26, 2024 00:05
Install Arch Linux aarch64 + dm-crypt+ ZFS root on Raspbery Pi 4

Installing Arch Linux ARM(aarch64) with ZFS root on RPi4

Prerequisite

Boot up your aarch64 Arch Linux. Plug in SD card adapter and ensure that disk shows up on your system.

lsblk
The MIT License (MIT)
Copyright (c) 2017 Rusoto Project Developers
Copyright (c) 2020 tomykaira
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@gea0
gea0 / arch-rpi-64-full-disk-encryption-ssh-unlock.md
Last active September 5, 2025 12:37
Tutorial for installing a 64-bit Arch Linux ARM system on the Raspberry Pi 3B+, with an encrypted root filesystem, and the option to remotely unlock it via a pre-boot SSH daemon.

Arch Linux ARM 64 on Raspberry Pi 3 B+ With Full Disk Encryption And SSH Unlock: 2018 Edition

There are multiple ways to get a full disk encrypted arch linux system on raspberry. In this tutorial, we will install a 64-bit arch linux armv8 system, using dropbear as ssh server for remote pre-boot unlocking of the root filesystem. However, it will still be possible to unlock and use the pi as usual, with a keyboard and monitor. We will also create an unencrypted partition in the installation process, usable as a rescue system.

Differences to the 32-bit arch linux arm version:

  • probably better performance
  • can run 64-bit software
  • comes without the proprietary video-driver blobs
@xnuk
xnuk / hyeong.md
Last active November 3, 2025 10:50
๋‚œํ•ดํ•œ ํ˜€์—‰.... ์–ธ์–ด

๋‚œํ•ดํ•œ ํ˜€์—‰... ์–ธ์–ด v0.4.5

  • โ€ฆ(U+2026), โ‹ฏ(U+22EF), โ‹ฎ(U+22EE)๋Š” ๋ชจ๋‘ .(U+002E)๊ฐ€ 3๋ฒˆ ์—ฐ์†์œผ๋กœ ๋‚˜์—ด๋œ ๊ฒƒ๊ณผ ๊ฐ™์€ ๊ฒƒ์œผ๋กœ ๋ด…๋‹ˆ๋‹ค.
  • "ํ•œ๊ธ€ ์Œ์ ˆ ๋ฌธ์ž"๋Š” ๊ฐ€(U+AC00) ์ด์ƒ ํžฃ(U+D7A3) ์ดํ•˜์˜ ์œ ๋‹ˆ์ฝ”๋“œ ๋ฌธ์ž๋“ค์„ ์˜๋ฏธํ•ฉ๋‹ˆ๋‹ค.

์Šคํƒ

  • ์Šคํƒ์˜ ๋ชจ๋“  ์›์†Œ๋Š” ์œ ๋ฆฌ์ˆ˜ ๋˜๋Š” NaN์œผ๋กœ ์ด๋ฃจ์–ด์ ธ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ถ„๋ชจ๊ฐ€ 1์ธ ์œ ๋ฆฌ์ˆ˜๋ฅผ ํŽธ์˜์ƒ ์ •์ˆ˜๋ผ๊ณ  ์นญํ•ฉ๋‹ˆ๋‹ค.
  • NaN์€ ํŠน์ˆ˜ํ•œ ์ˆซ์ž์ฒ˜๋Ÿผ ์ทจ๊ธ‰๋ฉ๋‹ˆ๋‹ค. ์–ด๋– ํ•œ ์—ฐ์‚ฐ์„ ํ•˜๋”๋ผ๋„ ๊ทธ ์—ฐ์‚ฐ์— NaN์ด ์žˆ์„ ๊ฒฝ์šฐ ๊ทธ ์—ฐ์‚ฐ์˜ ๊ฐ’์€ NaN์ด ๋ฉ๋‹ˆ๋‹ค.