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
#!/Users/marcin/Sync/Home/dotfiles/bin/.env/bin/python3 | |
# Bible verse fetcher. Put this script in your PATH, update the above path to | |
# python, and make it executable. | |
# | |
# Usage: b <verses> [optional flags] | |
# | |
# Example: b John 3:16-17 | |
# Example: b John 3:16-17 --version NIV | |
# |
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 | |
# | |
# Cleans up garbage lines and duplicate entries. | |
# | |
# DEPENDENCIES: | |
# | |
# - rg: cargo install ripgrep | |
# - unique: go install github.com/ro-tex/unique@latest | |
# - sponge: brew install moreutils | |
# |
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
<script type="text/javascript"> | |
fetch(document.location.href, { method: "HEAD" }) | |
.then(resp => { | |
const portal = resp.headers.get("skynet-portal-api"); | |
const _loadScript = function(path) { | |
var script = document.createElement('script'); | |
script.type = 'text/javascript'; | |
script.src = path; | |
var callback = function () { |
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 | |
# | |
# For a given repo, checks that: | |
# - All commits are signed. | |
# - All signatures belong to a set of approved keys. | |
import subprocess | |
LAST_GOOD_HASH = "b80220a" | |
APPROVED_KEYS = { |