-
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
-
Enable 2FA for the gmail account that will be used by going to security settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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] */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######################################################################### | |
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
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:
- Push image to the 2nd host
- Pull image from the 1st host
Here are the Steps:
Save Image {> Compress} > SSH to 2nd Host ({> Decompress} > Load Image)
- 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
NewerOlder