Skip to content

Instantly share code, notes, and snippets.

View tobit6795's full-sized avatar

Tobias Kem tobit6795

View GitHub Profile
@danny8376
danny8376 / CartridgeSaveManager.gm9
Last active August 29, 2025 11:56
Simple Cartridge Save Manager GodMode9 Script
######################################################
# Simple Cartridge Save Manager GodMode9 Script #
# by DannyAAM #
######################################################
@Start
labelsel -s "Choose an Option." MainMenu_*
goto Start
@mleader1
mleader1 / create-cloud-template.sh
Last active January 5, 2025 02:55 — forked from chriswayg/create-cloud-template.sh
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 7 server
### - a dhcp server should be active on vmbr1
automation:
- id: rf_signal_receiver
alias: rf_signal_receiver
trigger:
- platform: mqtt
topic: tele/RFBridge/RESULT
condition:
- condition: template
value_template: >
{{ trigger.payload_json["RfReceived"] is not none }}
anonymous
anonymous / site_facts
Created December 18, 2012 03:40
Ansible site_facts module written in bash
#!/bin/bash
fact_apt_updated_recently=` \
find / -maxdepth 1 -name .apt_updated -mtime 0 | wc -l | \
sed 's/0/false/' | sed 's/1/true/'
`
fact_internet_accessible=` \
ping google.com -c1 -W3 &>/dev/null && echo 'true' || echo 'false'
`