Skip to content

Instantly share code, notes, and snippets.

View emorydunn's full-sized avatar

Emory Dunn emorydunn

View GitHub Profile
@emorydunn
emorydunn / acme-cert-dump.py
Last active September 26, 2019 18:16 — forked from JayH5/acme-cert-dump.py
Dump certificates from Traefik's acme.json
#!/usr/bin/env python3
import argparse
import base64
import json
import os
import shlex
import subprocess
import sys
@emorydunn
emorydunn / finder_icons.fish
Last active March 16, 2023 21:23 — forked from chockenberry/finder_icons.sh
Fish function to toggle Finder icons
function finder_icons --description 'Script to toggle Finder icons'
defaults read com.apple.finder CreateDesktop > /dev/null 2>&1
set enabled $status
switch $argv[1]
case off
if test $enabled -eq 1
osascript -e 'tell application "Finder" to quit'
defaults write com.apple.finder CreateDesktop false
open -a Finder