I hereby claim:
- I am scottj on github.
- I am ssjx (https://keybase.io/ssjx) on keybase.
- I have a public key whose fingerprint is 3705 B7C8 9247 BFA2 FEC1 AF4E 4A54 73E6 CB48 7363
To claim this, I am signing this object:
| // ==UserScript== | |
| // @name Keyboard refresh for Fidelity portfolio | |
| // @namespace https://scottj.info/ | |
| // @version 1.2 | |
| // @description Press "u" or "r" to trigger a click action on configured pages. | |
| // @author Scott Johnson | |
| // @match https://digital.fidelity.com/* | |
| // @run-at document-idle | |
| // @grant none |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # create array of links to youtube videos or playlists | |
| declare -a ytLinks=( | |
| "https://youtu.be/dQw4w9WgXcQ" | |
| "https://youtu.be/LLFhKaqnWwk" | |
| ) | |
| # ytdl binary name | |
| ytdl=yt-dlp_macos |
| #!/usr/bin/env bash | |
| URL=https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip | |
| AWS=/usr/local/aws-cli | |
| BIN=/usr/local/bin | |
| TMP=$(mktemp -d /tmp/update-awscli.XXXXXX) | |
| ZIP=$TMP/awscli.zip | |
| echo [+] Downloading $URL | |
| curl -so $ZIP $URL |
| #!/usr/bin/env bash | |
| if [[ $# -lt 2 ]]; then printf "Usage:\n$0 <src> <dst>\n"; exit; fi | |
| function abspath { # https://stackoverflow.com/a/23002317/226502 | |
| if [[ -d $1 ]]; then (cd "$1"; pwd) | |
| else | |
| if [[ $1 = /* ]]; then echo "$1" | |
| elif [[ $1 == */* ]]; then echo "$(cd "${1%/*}"; pwd)/${1##*/}" | |
| else echo "$(pwd)/$1" |
| #!/bin/bash | |
| QUERY=$1 | |
| # https://stackoverflow.com/a/246128/226502 | |
| SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | |
| /usr/bin/osascript ${SCRIPT_DIR}/music-search.scpt "${QUERY}" |
| curl -sx 127.0.0.1:8080 http://burp/cert \ | |
| | openssl x509 -inform DER \ | |
| | sudo tee /usr/local/share/certificates/burp.crt \ | |
| && sudo update-ca-certificates |
| #!/bin/sh | |
| defaults write com.apple.LaunchServices/com.apple.launchservices.secure LSHandlers \ | |
| -array-add '{LSHandlerContentType=public.plain-text;LSHandlerRoleAll=com.barebones.bbedit;}' |
| #!/usr/bin/env python3 | |
| import http.server | |
| import socketserver | |
| HOST = "localhost" | |
| PORT = 8000 | |
| class HttpRequestHandler(http.server.SimpleHTTPRequestHandler): |