Skip to content

Instantly share code, notes, and snippets.

View 2ajoyce's full-sized avatar

Aaron Joyce 2ajoyce

View GitHub Profile
@2ajoyce
2ajoyce / kaomoji.yml
Last active October 23, 2026 03:03
Espanso kaomoji: type ;;shrug, get ¯\_(ツ)_/¯
# Espanso kaomoji. Type the trigger and Espanso replaces it with the kaomoji.
#
# Windows
# 1. Install Espanso (admin PowerShell): choco install espanso -y
# 2. Start Espanso once from the Start menu and finish its welcome screen.
# 3. Download this file (PowerShell):
# iwr https://gist.githubusercontent.com/2ajoyce/d14140dd32941373a40a2a212f2f3a89/raw/kaomoji.yml -OutFile "$env:APPDATA\espanso\match\kaomoji.yml"
#
# macOS
# 1. Install Espanso: brew install --cask espanso
@2ajoyce
2ajoyce / durable_agentic_work.md
Created October 15, 2026 02:03
SLOP: Durable Agentic Work

Durable Agentic Work

Reference Architecture and Design Principles

Status: Reference Architecture
Scope: Agent-independent, OS-independent
Purpose: Enable autonomous, persistent, isolated, and recoverable agentic work with meaningful human oversight.


1. Executive Summary

@2ajoyce
2ajoyce / coverage.json
Last active May 7, 2026 14:55
golio coverage badge
{"schemaVersion":1,"label":"coverage","message":"97.5%","color":"brightgreen"}
Privacy Policy version 1.0 for the Movies Sheet GPT
The Movies Sheet GPT interacts with an api that stores the movies owned by my family.
Any data posted to the api in headers, query parms, or request bodies may be logged or stored.
This app is not intended for use by the general public and as such, no privacy guarantees are made.

Privacy Policy version 1.0 for the Snap To It iOS app

The Snap To It iOS app does not collect any user data of any kind.

The app uses the Apple Vision framework for OCR and the Apple Translation framework for translation.

@2ajoyce
2ajoyce / update_mullvad.ps1
Created February 17, 2025 03:43
A Powershell script for updating Mullvad on Windows with GPG/PGP key check
### Configuration (Change These for Other Programs)
$ProgramName = "Mullvad VPN"
$ExeUrl = "https://mullvad.net/en/download/app/exe/latest"
$SigUrl = "https://mullvad.net/en/download/app/exe/latest/signature"
$KeyUrl = "https://mullvad.net/media/mullvad-code-signing.asc"
$ExecutablePattern = "MullvadVPN-*.exe"
$VersionRegex = "MullvadVPN-([\d\.]+)\.exe"
$InstallCommand = "mullvad version"
$FingerprintEmail = "admin@mullvad.net"

Good Hackathon Techniques

  • Break the work into as many small pieces as possible and let one person handle each unique piece
  • Think super small microservices with a gateway to connect them all
  • Mock everything first and set it up for real afterwards
  • Have a CI/CD plan set up ahead of time so that builds and deploys to smoothly. <3 Docker
  • Bring people with the following skillsets
    • UI / UX Frontend Developer (This person is almost always required and will have constant work the whole hackathon)
    • Mobile Developer (May or may not be the same as the UI / UX Developer)
  • Backend Developer (It is frequently useful to run your own api for data collation or processing)
@2ajoyce
2ajoyce / AdvancedWindowSnap.ahk
Created June 14, 2022 00:40 — forked from Katorthoma/AdvancedWindowSnap.ahk
Advanced Window Snap is a script for AutoHotKey that expands upon Windows built-in window-snapping hotkeys.
/**
* Advanced Window Snap
* Snaps the Active Window to one of nine different window positions.
*
* @author Andrew Moore <andrew+github@awmoore.com>
* @version 1.0
*/
/**
* SnapActiveWindow resizes and moves (snaps) the active window to a given position.
@2ajoyce
2ajoyce / self-signed-cert.md
Last active May 10, 2020 03:55
Steps to create a self signed cert for signing powershell scripts

Steps to create a self signed cert for signing powershell scripts

  1. Get the current date: $date_now = Get-Date
  2. Get the expiration date: $extended_date = $date_now.AddYears(3)
  3. Create the cert: $cert = New-SelfSignedCertificate -certstorelocation cert:\localmachine\root -dnsname website.local -notafter $extended_date -Type CodeSigningCert
  4. Create a password: $pwd = ConvertTo-SecureString -String 'PASSWORD' -Force -AsPlainText
  5. Get the path of the cert: $path = cert:\localMachine\root' + $cert.thumbprint`
  6. Export the cert so it can be imported as a Trusted Root Certificate: Export-PfxCertificate -cert $path -FilePath ~\powershellcert.pfx -Password $pwd
    1. You might be able to skip this step. Since it's created as root I'm not sure if exporting / importing is necessary
  7. Get the cert once it is imported: $cert = @(Get-ChildItem cert:\CurrentUser\root -codesigning)[0]
@2ajoyce
2ajoyce / packages.config
Created May 2, 2020 22:44
Home PC packages.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="audacity" />
<package id="autohotkey" />
<package id="blender" />
<package id="discord" />
<package id="ditto" />
<package id="firefox" />
<package id="flux" />
<package id="gimp" />