Skip to content

Instantly share code, notes, and snippets.

@anyheck
anyheck / treasurydirect_copypasta.user.js
Created June 4, 2022 10:59 — forked from dennisstewart/treasurydirect_copypasta.user.js
Re-enables the password box on TreasuryDirect.gov so I can paste from my password manager
// ==UserScript==
// @name TreasuryDirect Copypasta
// @namespace https://www.treasurydirect.gov/RS/PW-Display.do
// @version 0.1
// @description Allow creds to be pasted from a password manager into the TreasuryDirect login form.
// @author Dennis Stewart
// @license The Strong Style Public License https://raw.githubusercontent.com/dennisstewart/cvs-checker-py/main/LICENSE
// @match https://www.treasurydirect.gov/RS/PW-Display.do
// @icon https://www.google.com/s2/favicons?sz=64&domain=treasurydirect.gov
// @grant none
#!/bin/bash
# SPACE MACHINE (v20140108)
# Copyright (c) 2013-2014, Elmar Czeko
# relevantcircuits.org - twitter @elmarczeko
# This work is licensed under a Creative Commons Attribution 3.0 Unported License.
# http://creativecommons.org/licenses/by/3.0/
# on Mac set first line as "/bin/bash"
# on Diskstation NAS with IPKG installed use "/opt/bin/bash"
@anyheck
anyheck / backup-sample.conf
Last active April 5, 2017 21:08
ZFS Backup
# Number of DAYS to keep the daily backups
keep-daily 7
# Number of DAYS to keep the weekly backups -- note this is NOT the
# number of weeks to keep them
keep-weekly 42
# The three letter abbreviation of the day to consider a weekly backup
weekly-backup-day Sun
# "Write a program that prints the numbers from 1 to 100.
# But for multiples of three print “Fizz”
# instead of the number and for the multiples of five print “Buzz”.
# For numbers which are multiples of both three and five print “FizzBuzz”."
for i in {1..100} ; do
fizzed=0
buzzed=0