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 bash | |
# Usage: ssm-param-envs /path/one /path/two ... | |
# Define the environments to iterate over | |
environments=("dev" "staging" "sandbox" "prod") | |
# Create a dynamic regex for sed substitution, escaping slashes | |
env_pattern="$(IFS='|'; echo "${environments[*]}")" | |
escaped_env_pattern="\\/(${env_pattern})\\/" # Example: \/(dev|staging|sandbox|prod)\/ |
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 zsh | |
############################################################################### | |
# ssm-param-history | |
# | |
# Description: | |
# Inspect recently updated AWS SSM parameters under a given base path. Uses a | |
# local twenty-minute cache to avoid redundant API calls. Parameters can be | |
# selected interactively via fzf or printed directly in a clean, sorted list. | |
# (Using --no-fzf won't fetch additional metadata, just the parameter names.) |
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
// ==UserScript== | |
// @name GitHub to ZenHub Link | |
// @namespace boehs.com | |
// @include *://github.com/*/issues/* | |
// @grant none | |
// @run-at document-ready | |
// ==/UserScript== | |
setTimeout(() => { | |
(() => { |
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
require 'json' | |
require 'fileutils' | |
require 'net/http' | |
require 'uri' | |
require 'digest' | |
OPENAI_API_KEY = ENV['OPENAI_API_KEY'] | |
if OPENAI_API_KEY.nil? || OPENAI_API_KEY.empty? | |
puts "Error: OPENAI_API_KEY environment variable is not set." |
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
// ==UserScript== | |
// @name GitHub PR Review Actions | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Adds buttons to help review | |
// @author Eric Boehs | |
// @match https://github.com/*/*/pull/* | |
// @run-at document-ready | |
// @inject-into content | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Tab Focus through VA Platform Documentation Search Results | |
// @description Use the tab key to navigate through VA Platform Documentation Search Results | |
// @version 1.0.0 | |
// @match *://depo-platform-documentation.scrollhelp.site/search.html* | |
// @include *://depo-platform-documentation.scrollhelp.site/search.html* | |
// @grant none | |
// @author ericboehs [email protected] | |
// @namespace ericboehs | |
// ==/UserScript== |
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 | |
xml="/volume1/kiwix-share/" | |
library="/volume1/kiwix-share/" | |
log=($(find $library -name '*.zim' | sort)) | |
if [ -f "$xml/library.log" ]; then | |
IFS=$'\n' read -d '' -r -a oldlog < "$xml/library.log" | |
fi | |
if [[ "${log[@]}" == "${oldlog[@]}" ]]; then |
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 bash | |
# Ensure GitHub CLI and jq are installed | |
if ! command -v gh &> /dev/null || ! command -v jq &> /dev/null; then | |
echo "Error: This script requires the GitHub CLI (gh) and jq to be installed." | |
exit 1 | |
fi | |
# Optional: Define GIT_DEFAULT_BRANCH if not set in the environment | |
if [ -z "$GIT_DEFAULT_BRANCH" ]; then |
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
// ==UserScript== | |
// @name GitHub PR Status Markdowner | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Copy MD of GitHub PR Review Statuses | |
// @author Eric Boehs | |
// @match https://github.com/pulls* | |
// @grant GM.setClipboard | |
// @run-at document-ready | |
// @inject-into content |
NewerOlder