The canonical location of this list has moved here.
This file contains 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
#!/usr/bin/env perl | |
# Script for pulling "admin" login failure logs from a Synology NAS and | |
# generating complaint emails to the abuse contacts for the IP addresses in the | |
# logs. | |
# | |
# You need to have the NAS set up so that you can SSH into it as root to be | |
# able to use this script. Follow the instructions here to enable SSH to the | |
# admin accounts: | |
# https://kb.synology.com/en-us/DSM/tutorial/How_to_login_to_DSM_with_root_permission_via_SSH_Telnet |
This file contains 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
#!/usr/bin/python3 | |
# Copyright (c) 2024, Jonathan Kamens <[email protected]> | |
# GNU General Public License v3.0+ | |
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
import copy | |
import os | |
import re |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<body> | |
<div id="messageList"> | |
</div> | |
<script src="browserAction.js"></script> | |
</body> | |
</html> |
This file contains 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
#!/usr/bin/env python3 | |
# Simple script for backing up your Bitwarden vault using the Bitwarden CLI | |
# | |
# Copyright 2021 Jonathan Kamens <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify it under | |
# the terms of the GNU General Public License as published by the Free Software | |
# Foundation, either version 3 of the License, or (at your option) any later | |
# version. |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
Check your daily Boston Water (BWSC) usage and alert about potential leaks | |
This script logs into the Boston Water and Sewer Commission customer portal | |
using the Chrome Selenium driver, downloads your daily usage for the past 30 | |
days, and prints a warning if the most recent daily usage number is more than | |
three standard deviations higher than the mean of all the usage numbers. This |
This file contains 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
;; Copyright 2023 Jonathan Kamens <[email protected]>. | |
;; | |
;; This program is free software: you can redistribute it and/or modify it | |
;; under the terms of the GNU General Public License as published by the Free | |
;; Software Foundation, either version 3 of the License, or (at your option) | |
;; any later version. See <https://www.gnu.org/licenses/>. | |
;; | |
;; This program is distributed in the hope that it will be useful, but WITHOUT | |
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
This file contains 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
#!/usr/bin/python | |
# Copyright (c) 2023, Jonathan Kamens <[email protected]> | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# pylint: disable=missing-module-docstring | |
from __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type |
This file contains 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 -e | |
WHOAMI=$(basename $0) | |
DEV_FILE=$HOME/.scan-bill.dev | |
RETRY=false | |
MULTIPLE=false | |
DUPLEX_SOURCE='Automatic Document Feeder(centrally aligned,Duplex)' | |
SIMPLEX_SOURCE='Automatic Document Feeder(centrally aligned)' | |
SOURCE="$DUPLEX_SOURCE" | |
STARTED=false |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
namecheap-dns.py - Export/import DNS records from/to Namecheap | |
This script can export DNS records from a domain in Namecheap to a YAML file or | |
import records from a YAML file in the same format into Namecheap. I use this | |
script to maintain my Namecheap DNS records in a source repository with change | |
history, i.e., "configuration as code" for my Namecheap DNS records. |
NewerOlder