Skip to content

Instantly share code, notes, and snippets.

@ngadmini
ngadmini / pve_API2Subs_sed.sh
Last active November 13, 2023 09:32
remove naged subscription message on proxmox 7.x-x
#!/usr/bin/env bash
# TAGS
# /usr/local/bin/pve-API2Subs_sed.sh
# https://gist.github.com/ngadmini/7f9df377999cc78c1b58e361d5425ac4#file-pve_api2subs-sh
# AUTHOR
# ngadimin@warnet-ersa.net
# https://github.com/ngadmini
# https://gist.github.com/ngadmini
# VERSION
# v10.5
@catchdave
catchdave / replace_synology_ssl_certs.sh
Last active July 8, 2024 15:30
CLI script to programmatically replace SSL certs on Synology NAS
#!/bin/bash
#
# *** For DSM v7.x ***
#
# How to use this script:
# 1. Get your 3 PEM files ready to copy over from your local machine/update server (privkey.pem, fullchain.pem, cert.pem)
# and put into a directory (this will be $CERT_DIRECTORY).
# Personally, I use this script (https://gist.github.com/catchdave/3f6f412bbf0f0cec32469fb0c9747295) to automate steps 1 & 4.
# 2. Ensure you have a user setup on synology that has ssh access (and ssh access is setup).
# This user will need to be able to sudo as root (i.e. add this line to sudoers, <USER> is the user you create):
@jwalanta
jwalanta / OpenWrt detect new device and send text message.md
Last active July 2, 2024 18:37
Detect new network devices connecting to OpenWrt and send text message