Skip to content

Instantly share code, notes, and snippets.

View sebi364's full-sized avatar
πŸ³οΈβ€πŸŒˆ
be gay, do crime, move your projects to codeberg.org

sebi364

πŸ³οΈβ€πŸŒˆ
be gay, do crime, move your projects to codeberg.org
View GitHub Profile
@sebi364
sebi364 / vmware-fedora.md
Created September 17, 2026 11:29 — forked from burritosoftware/vmware-fedora.md
How to actually install VMware Workstation on Fedora

How to actually install VMware Workstation on Fedora

also known as vmware: fix ur crap


  1. Download Workstation Pro from VMware
  2. chmod +x the bundle file, then sudo sh [vmware].bundle
  3. Follow this KB article to install dependencies (notably, you want to get kernel-devel as this contains the required headers, this is the only thing I had to install)
  4. Follow the first impatient method here to compile and install the required kernel modules that VMware's installer will fail to do
  5. Sign the kernel modules if you have Secure Boot enabled by following this KB article. Notably, you need to change where Step 2 is looking for the kernel scripts by changing it to:
sudo /usr/src/kernels/`uname -r`/scripts/sign-file sha256 ./MOK.priv ./MOK.der `modinfo -n vmmon`
@sebi364
sebi364 / ccapi_activate.py
Last active November 19, 2026 12:42
Script for easily activating canon's ccapi (Camera Controll API), without having to register an account in canon's developer portal.
#!/usr/bin/env python3
import sys
import struct
import argparse
import usb.core
import usb.util
CANON_VID = 0x04A9
import yaml
from rich import print
from dataclasses import dataclass
from jinja2 import Template
import re
class Bucket:
def __init__(self, data):
self.metadata = []
self.servers = []
#!/bin/bash
# Ensure the script runs with sudo
if [ "$EUID" -ne 0 ]; then
echo "Please run as root or use sudo."
exit 1
fi
# Get all Docker network interfaces
docker_interfaces=$(ip -o link show | grep -E 'docker|br-' | awk -F': ' '{print $2}')
@sebi364
sebi364 / update-records.py
Last active September 11, 2024 20:11
Basic python-script that updates Cloudflare DNS Records.
import requests
# Settings
TARGET_DOMAINS = [ # Domains that should be kept up to date -> Domains need to allready exist for this to work
"xxx",
"xxx
]
TOKEN = "xxx" # API Token, See https://developers.cloudflare.com/fundamentals/api/get-started/create-token/
ZONE = "xxx" # Zone, see https://developers.cloudflare.com/fundamentals/setup/find-account-and-zone-ids/
@sebi364
sebi364 / fixcura.sh
Created August 16, 2024 11:13
fix cura crashing in archlinux
if [ -f /opt/ultimaker-cura/share/cura/resources/qml/WelcomePages/PrinterCard.qml ];
then
sudo sed -i -e 's/height: childrenRect.height/height: 300/' \
-e 's/width: childrenRect.width/width: 500/' \
/opt/ultimaker-cura/share/cura/resources/qml/WelcomePages/PrinterCard.qml
fi
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: longhorn-frontend-ingress
spec:
rules:
- host: longhorn.k3s.loc
http:
paths:
- path: /
@sebi364
sebi364 / xato-net-10-million-passwords-10000.txt
Last active June 26, 2024 05:02
This word list is a filtered version of https://github.com/danielmiessler/SecLists/blob/master/Passwords/xato-net-10-million-passwords-10000.txt that removes all passwords containing English swearwords.
123456
12345678
qwerty
123456789
12345
1234
111111
1234567
dragon
123123