Skip to content

Instantly share code, notes, and snippets.

View baudneo's full-sized avatar
👽

baudneo baudneo

👽
View GitHub Profile
@baudneo
baudneo / PC4 Fitting Plates.scad
Created January 11, 2026 00:18 — forked from ednisley/PC4 Fitting Plates.scad
OpenSCAD source code: Adapter for PC4-M10 to Polymaker PolyDryer box lid
// PC4 Fitting Plates for PolyDryer
// Ed Nisley - KE4ZNU
// 2025-05-02
include <BOSL2/std.scad>
include <BOSL2/threading.scad>
Layout = "Plate"; // [Plate,Gasket,DrillGuide]
/* [Hidden] */
@baudneo
baudneo / systemmonitor.sh
Created September 24, 2021 08:07 — forked from roelle/systemmonitor.sh
This is a simple bash script that will monitor a few things on a server and notify you over pushover is there are any problems. Specifically, the script checks for reboots, ZFS pool health, dropbox status, disk (over)utilization, and that a specified process is running.
#!/bin/bash
# Copy into /etc/cron.hourly
pushover_app_token="your--app--token"
pushover_user_guid="your--user--or--group--id"
dropbox_username="user--with--dropbox--installed"
process_to_check="your--process--name"
# Notification function
notify () {
# Send pushover notification
@baudneo
baudneo / Proxmox email relay.md
Last active October 27, 2025 01:36 — forked from tomdaley92/README.md
Proxmox - Email Alerts Setup (gmail)

Proxmox - Email Alerts Setup (gmail)

  1. SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.

    apt update
    apt install -y libsasl2-modules mailutils
  2. Enable 2FA for the gmail account that will be used by going to security settings

@baudneo
baudneo / ntfy.yaml
Created June 30, 2025 04:48 — forked from syncip/ntfy.yaml
ntfy crowdsec notification example
# /etc/crowdsec/notifications/ntfy.yaml
type: http # Don't change
name: ntfy # Must match the registered plugin in the profile
# One of "trace", "debug", "info", "warn", "error", "off"
log_level: trace
# group_wait: # Time to wait collecting alerts before relaying a message to this plugin, eg "30s"
# group_threshold: # Amount of alerts that triggers a message before <group_wait> has expired, eg "10"
@baudneo
baudneo / http.yaml
Created June 30, 2025 04:04 — forked from JigSawFr/http.yaml
Crowdsec Pushover Notification (using API and HTTP notifier)
#########################################################################
# Title: CrowdSec : Pushover Notification (API) #
# Author(s): JigSawFr #
# URL: https://github.com/crowdsecurity/crowdsec #
#########################################################################
# MIT License #
#########################################################################
type: http # Don't change
name: http_default # Must match the registered plugin in the profile
@baudneo
baudneo / Install_OpenCV4_CUDA11_CUDNN8.md
Created October 20, 2023 02:36 — forked from raulqf/Install_OpenCV4_CUDA12.6_CUDNN8.9.md
How to install OpenCV 4.5 with CUDA 11.2 in Ubuntu 20.04

How to install OpenCV 4.5.2 with CUDA 11.2 and CUDNN 8.2 in Ubuntu 20.04

First of all install update and upgrade your system:

    $ sudo apt update
    $ sudo apt upgrade

Then, install required libraries:

@baudneo
baudneo / tracking-numbers-from-aliexpress.js
Created February 18, 2025 04:29 — forked from Mewp/tracking-numbers-from-aliexpress.js
Extract tracking numbers from aliexpress' orders list
// Paste this into dev console at order page
window.abajarr = [];
var elems = Array.prototype.slice.call(document.querySelectorAll('.order-info .first-row .info-body'))
function abaj(data) {
abajarr.push(data.tracking[0].mailNo);
if(abajarr.length == elems.length)
console.log(abajarr.join(" "));
}
elems.forEach((e) => {
let script = document.createElement("script");
@baudneo
baudneo / shinobi_openalpr_cuda_easy.sh
Created July 15, 2024 01:47
Build OpenALPR with CUDA
# Install prerequisites
# this includes all the ones missing from OpenALPR's guide.
sudo apt install libtesseract-dev git cmake build-essential libleptonica-dev -y
sudo apt install liblog4cplus-dev libcurl3-dev -y
sudo apt install libleptonica-dev -y
sudo apt install libcurl4-openssl-dev -y
sudo apt install liblog4cplus-dev -y
sudo apt install beanstalkd -y
sudo apt install openjdk-8-jdk -y
@baudneo
baudneo / dimg-over-ssh.md
Created July 13, 2024 16:30 — forked from pouyanh/dimg-over-ssh.md
Docker image transfer over SSH

Sometimes you want to transfer docker images between two linux hosts over SSH. Supposing images are gonna be transferred to 2nd host, There are two options to do that:

  1. Push image to the 2nd host
  2. Pull image from the 1st host

Push to the 2nd host

Here are the Steps:

Save Image {> Compress} > SSH to 2nd Host ({> Decompress} > Load Image)

@baudneo
baudneo / Ubuntu-22.04_ZM-builder.md
Last active July 8, 2024 00:58
Build ZoneMinder 1.37.x (DEV) branch - Ubuntu 22.04

Prepare a build environment

  1. Provision and boot an ubuntu 22.04 installation (Bare metal or LXC), issue these commands to build a .deb package from ZM Dev branch.
apt update && apt dist-upgrade -y
apt install -y git curl gpg build-essential devscripts pkg-config cmake
wget https://raw.githubusercontent.com/ZoneMinder/zoneminder/master/utils/do_debian_package.sh
chmod +x do_debian_package.sh
mv do_debian_package.sh /usr/local/bin/zm-builder
mkdir ~/zm-build
cd ~/zm-build