Skip to content

Instantly share code, notes, and snippets.

View thimslugga's full-sized avatar
:octocat:

Adam Kaminski thimslugga

:octocat:
View GitHub Profile
@thimslugga
thimslugga / readme.md
Created October 27, 2025 13:00 — forked from blackjack4494/readme.md
Add SSL Certificate to Unifi Controller using Acme.sh and DNS verification
@thimslugga
thimslugga / proxmox_pushover_webhook.md
Created October 22, 2025 13:37 — forked from x-magic/proxmox_pushover_webhook.md
Setup Pushover notification for Proxmox via webhook

To setup Pushover.net notification in Proxmox VE, go to:
Datacenter -> Notifications -> Notification Targets -> Add -> Webhook

Set up the following fields:

  • Endpoint Name: pushover (or whatever you want, note the character limitation)
  • Method/URL: POST, https://api.pushover.net/1/messages.json
  • Headers: Add one set of key-value pairs:
    • Content-Type -> application/json
  • Body:: See pushover_proxmox-notification-webhook.json file below
  • Secrets: Add two sets of key-value pairs:
@thimslugga
thimslugga / yum_update_report.sh
Created October 20, 2025 14:04 — forked from karnauskas/yum_update_report.sh
Yum update checker with severities RHEL/CentOS/Fedora
#!/bin/bash
#####
## Author: [email protected]
## Dept: Consulting/Infrastructure
## Detail: Script to check updates and their severity
## Example: yum_update_report.sh -s Moderate
#####
function validations ()
{

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.
Please note that unless you see a shebang (#!/...) these code blocks are meant to be copy & pasted.
Some of the steps will not work if you run part of them in a script and copy paste other ones.

Table of contents

@thimslugga
thimslugga / docker-compose.yaml
Created August 31, 2025 13:41 — forked from BoredHackerBlog/docker-compose.yaml
grafana loki docker-compose file and vector settings
version: "3"
networks:
loki:
services:
loki:
image: grafana/loki:2.4.0
volumes:
- ./loki:/etc/loki
@thimslugga
thimslugga / hostAgentStuff.sh
Created August 15, 2025 13:20 — forked from wuftymerguftyguff/hostAgentStuff.sh
Useful SAP HostAgent commands
#GET A LIST OF INSTANCES
#/usr/sap/hostctrl/exe/saphostctrl -function Listinstances -format Script
#GET A LIST of databases
saphostctrl -nr 99 -function Listdatabases
# manage a db with the host agent
# /usr/sap/hostctrl/exe/saphostctrl -nr 99 -function StopDatabase -dbname NPL -dbtype ada -user sapadm passwd
#query a db with the host agent
@thimslugga
thimslugga / init.sh
Created August 13, 2025 14:55 — forked from chaichontat/init.sh
Mac Startup
#!/bin/zsh
# exit when any command fails
set -e
# keep track of the last executed command
trap 'last_command=$current_command; current_command=$BASH_COMMAND' DEBUG
# echo an error message before exiting
trap 'echo "\"${last_command}\" command filed with exit code $?."' EXIT
@thimslugga
thimslugga / macos.md
Created August 13, 2025 14:46 — forked from sickcodes/macos.md
MacOS Defaults
# Forked from https://gist.github.com/gguerini
# Syntax edits by Sick Codes (GPLv3+)

# Disable menu bar transparency
defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false

# Show remaining battery time; hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
@thimslugga
thimslugga / pyproject.toml
Created June 3, 2025 12:30 — forked from cfbevan/pyproject.toml
Full Ruff settings for pyproject
[project]
name = "tool_testing"
version = "0.1.0"
description = "Ruff Tested Project"
authors = [{ name = "", email = "" }]
dependencies = []
requires-python = "==3.11.*"
readme = "README.md"
license = { text = "MIT" }
@thimslugga
thimslugga / mkosi.conf
Created May 19, 2025 05:17 — forked from jfroy/mkosi.conf
rescue-os
[Distribution]
Distribution=arch
[Content]
Autologin=true
Bootloader=none
KernelCommandLine=rw
Keymap=us
Locale=en_US.UTF-8
MakeInitrd=no