git remote prune origin --dry-run
git remote prune origin
| #!/bin/bash | |
| # This is a companion script to https://github.com/konstantin-kelemen/arduino-amiibo-tools | |
| # The original post this was crafted for was https://games.kel.mn/en/create-amiibo-clones-with-arduino/ | |
| # For more info go to https://games.kel.mn/en/companion-script-to-simplify-amiibo-cloning-with-arduino/ | |
| #requirements: | |
| #sha1sum (part of coreutils) | |
| #xxd (part of vim) | |
| #hexdump | |
| #amiitool (https://github.com/socram8888/amiitool) |
| [ | |
| { | |
| "time": "2020-03-21T21:40:00.000Z", | |
| "rtlamr.first_consumption": 8759628 | |
| }, | |
| { | |
| "time": "2020-03-21T21:44:00.000Z", | |
| "rtlamr.first_consumption": 8759632 | |
| }, | |
| { |
| When searching for unicode emojis using regex use: | |
| [^\x00-\x7f] |
| #!/usr/bin/env python3 | |
| import logging | |
| import os | |
| import re | |
| import sys | |
| from pathlib import Path | |
| # Thanks to: https://gist.github.com/guruevi/7d9673c6f44f49b1841eaf49bbd727f9 | |
| # This script is used to set the vGPU type for NVIDIA vGPU passthrough in Proxmox VE. | |
| # The script is called from the Proxmox VE hook scripts. |
| # sakf.plugin.zsh | |
| # OMZ plugin to quickly set SOPS_AGE_KEY_FILE to an absolute path | |
| # Save this file as .oh-my-zsh/custom/plugins/sakf/sakf.plugin.zsh | |
| # and add 'sakf' to your plugins list in .zshrc | |
| # or run omz plugin add sakf | |
| function sakf() { | |
| if [ -z "$1" ]; then | |
| if [ -n "$SOPS_AGE_KEY_FILE" ]; then | |
| echo "SOPS_AGE_KEY_FILE is set to: $SOPS_AGE_KEY_FILE" |
| #!/bin/bash | |
| # AWS Resource Cleanup Script | |
| # This script removes AWS resources containing a selected pattern in their names | |
| # USE WITH CAUTION - This will permanently delete resources | |
| set -e # Exit on any error | |
| # Colors for output | |
| RED='\033[0;31m' |
| #!/usr/bin/env bash | |
| # Blocky Update Helper Script | |
| # Updates Blocky to the latest version and restarts the service | |
| # Configuration - Modify these variables if needed | |
| BLOCKY_DIR="/opt/blocky" | |
| SERVICE_NAME="blocky" | |
| CONFIG_FILE="config.yml" | |
| # Function to detect OS and architecture |