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
$ printf 'foo\n' > testdata | |
$ age-keygen | age -p -o mykey.age | |
Public key: age1j85xmnxgavcach38x4nnzu2tcmdnj7vqq2d4ffmwjsdh9flcuy9sa8agsm | |
Enter passphrase (leave empty to autogenerate a secure one): mysecret | |
Confirm passphrase: mysecret | |
$ age -o testdata.age -r age1j85xmnxgavcach38x4nnzu2tcmdnj7vqq2d4ffmwjsdh9flcuy9sa8agsm testdata | |
$ age -d mykey.age | age -d -i - testdata.age | |
Enter passphrase: mysecret | |
foo |
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
<# | |
.SYNOPSIS | |
Delete Cached User Profiles | |
.PARAMETER IgnoreListFile | |
Specify plain text file containing list of user profile (full / absolute) directory paths to exclude from deletion. | |
.NOTES | |
Author : Steven Peguero | |
Date : 2023-03-31 |
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/sh | |
play -n synth brownnoise synth pinknoise mix synth 0 0 0 10 10 40 trapezium amod 0.1 30 |
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
quickdeploy | |
=========== | |
Runs DOS batch scripts on remote Windows hosts. | |
Synopsis | |
-------- | |
quickdeploy.cmd script host [-v] |
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
:: Allows admins to execute batch scripts on | |
:: remote Windows hosts. | |
@echo off | |
set CMD=%1 | |
set SYS=%2 | |
set VERBOSITY=%3 | |
set CMD=%CMD:"=% | |
set SYS=%SYS:"=% |
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
-- autosave.lua | |
-- ------------ | |
-- | |
-- periodically saves watch_later data during mpv playback. | |
-- accounts for periodic cached write synchronization on raspberry pi. | |
os = require 'os' | |
mp = require 'mp' | |
mp_opt = require 'mp.options' |
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/sh | |
os="$(uname -s | tr '[:upper:]' '[:lower:]')" | |
bat_percent_to_hiber=5 | |
ac_stat() | |
{ | |
# description: get status of ac power availability. | |
ac_stat= |
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
mpv --audio-pitch-correction=no -af-add=scaletempo=speed=both --speed=0.95 file |