Content :
This file contains hidden or 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
| # SPDX-License-Identifier: MIT | |
| # Author: remittor <remittor@gmail.com> | |
| # Created: 2024 | |
| import os | |
| import sys | |
| import glob | |
| import subprocess | |
| import optparse | |
| import random |
This file contains hidden or 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
| """ | |
| Test cloudflare WARP endpoints | |
| Select all the best WARP endpoints | |
| Thanks to https://gitlab.com/Misaka-blog/warp-script#warp-endpoint-ip-优选脚本 | |
| """ | |
| import asyncio | |
| import csv | |
| import ipaddress | |
| import logging |
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.
LVM on LUKS Arch installation with systemd-boot
Sources:
- https://wiki.archlinux.org/index.php/Installation_guide
- https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system
Note: If you want a simpler encryption setup (with LUKS only), you can instead use the archinstall "guided" installer included with Arch since April 2021.
This file contains hidden or 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
| #!/bin/bash | |
| # latest-firefox Version 1.6.3 | |
| # Contributer: drgibbon (thanks!) | |
| # This script will find the latest Firefox binary package, download it | |
| # and repackage it into Slackware format. | |
| # I don't use Firefox for regular browsing but it is handy for | |
| # comparative tests against Vivaldi. :P |