Skip to content

Instantly share code, notes, and snippets.

View 5HT2's full-sized avatar

froggie 5HT2

  • 22:16 (UTC +01:00)
View GitHub Profile
class Terraform < Formula
desc "Tool to build, change, and version infrastructure"
homepage ""
url ""
sha256 "6a43ee1aeb3cd96e6407f746bea13572d98c01624c77a2e467628744ea8b7925"
license "BUSL-1.1"
head "", branch: "main"
# TODO: Remove this if/when the formula is deprecated.
livecheck do
# This script runs all .sh files, excluding itself, in the directory it's run in.
# Get name of self script. Only works when running in current dir, doesn't work with symlinks. I'm lazy.
SELF="$(basename "$0")"
for file in *.sh; do
# Check if script is not self, and is a file
if [[ "$file" != "$SELF" ]] && [[ -f "$file" ]]; then
# Check if script is not executable
5HT2 /
Last active October 15, 2023 07:53


mkdir -p ~/.local/bin
wget -O ~/.local/bin/genpasswd
chmod +x ~/.local/bin/genpasswd

# Please make sure that ~/.local/bin is in your $PATH
echo "$PATH" | tr ':' '\n'
fun main() {
val snowflake = 563138570953687061 // 2019-04-03T23:11:37.924Z
* @return an Epoch millisecond from a Discord Snowflake
* [offset] defaults to the first millisecond of 2015, or a "Discord Epoch"

Offline MultiMC Instructions


Replace /home/user/.local/share/multimc/accounts.json with this

    "accounts": [