Skip to content

Instantly share code, notes, and snippets.

View wommy's full-sized avatar

Tommy Williams wommy

View GitHub Profile
@wommy
wommy / rice_wine.md
Last active March 10, 2025 20:50
how to make rice wine

videos documenting rice wine production

so recently a buddy and i have both have complaints of digestive duress from beer ( we are guessing bc of GMO grain )
and both have found that sake and soju, or rice wine, and cidre have been free of similar issues

after a couple of months of bullshitting about it cant be that hard
this serves to document a recent micro deep dive into how one would go about home production of rice wine and cidre

videos

@wommy
wommy / pve_config-bckp_tmpl.sh
Created March 5, 2025 00:22
snippet to configure the backup template on pve node
#!/bin/bash
cat << 'EOF' >> /etc/vzdump.conf
notes-template: --{{guestname}}-{{vmid}}-{{node}}
compress: zstd
zstd: 0 # use half of the available cores
EOF
@wommy
wommy / pve_lxc-gluetun.md
Created February 28, 2025 06:20
install gluetun on a proxmox lxc

install gluetun in an lxc on proxmox

step 1 - create a new lxc with docker on the proxmox node

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/docker.sh)"

run the advanced settings to customize your install

@wommy
wommy / pve-post_install.sh
Created February 27, 2025 04:02
what i do after i install pve on a new node
#!/bin/bash
## init pve-node
# rsa is less secure
ssh-keygen -t ed25519
# add my apt cache
echo 'Acquire::http::Proxy "http://192.168.10.14:3142";' > /etc/apt/apt.conf.d/00aptproxy
@wommy
wommy / cursor-remove_titlebar.sh
Last active March 2, 2025 16:33
remove cursor's titlebar
#!/bin/bash
pushd ~/Applications/ # or wherever you install AppImages, they recommend here
./cursor.AppImage --appimage-extract && \
sed -i 's/,minHeight/,frame:false,minHeight/g' "squashfs-root/resources/app/out/main.js"
[ ! -f ./appimagetool* ] && {
URL="https://github.com/AppImage/appimagetool/releases/download/continuous"
wget $URL/appimagetool-$(uname -m).AppImage && chmod +x appimagetool*
@wommy
wommy / appimagetool-install.sh
Last active February 25, 2025 06:45
install appimagetool
pushd ~/Applications # or whatever you install AppImages, they recommend here
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$(uname -m).AppImage
chmod +x appimagetool-*.AppImage
popd
@wommy
wommy / ABS_Server.ts
Last active November 30, 2024 20:45
ABS server refactor
import * as Path from 'path'
import * as Sequelize from 'sequelize'
import * as express from 'express'
import * as http from 'http'
import * as util from 'util'
import * as fs from './libs/fsExtra'
import * as fileUpload from './libs/expressFileupload'
import * as cookieParser from 'cookie-parser'
import { version } from '../package.json'
import * as dotenv from 'dotenv'