Skip to content

Instantly share code, notes, and snippets.

View sf1tzp's full-sized avatar
🏎️

Steven Fitzpatrick sf1tzp

🏎️
View GitHub Profile
@sf1tzp
sf1tzp / which-os.md
Last active July 20, 2025 16:56
Which OS do I prefer? Well, why compromise? 😈

I used to work for one of these OS companies, but I used the other's product to work on linux systems. I often got asked by colleagues which OS is my favorite.

Which OS do I prefer? Well, why compromise? 😈

Here are some photos and screenshots of my current build, if you're interested.

To me, Apple has the best desktop user experience. The 'ecosystem' comforts aside, the biggest factor is the system-level hotkey design around cmd + .... Using my thumbs for copy/paste/alt-tab is far more ergnomic for me compared to using my pinky to hit ctrl (although this is not too awful when capslock is remapped to ctrl/escape). Some valuable built-in and ecosystem features include proximity unlock, iphone mirroring, iphone sidecar monitor, air play & air drop, background noise, and spotlight. These are not unique features by any means, but they are included in the OS out of the box.

The thing about MacOS and Windows though, it's annoying to deploy services on them. Every place t

@sf1tzp
sf1tzp / vaulting.yaml
Created April 30, 2025 19:42
POC using ansible vault builtin with yq to generate & store secrets in yaml
# Encrypt and Decrypt a string using ansible's builtin vault() and unvault()
# The encrypted secret is written to & read back from a file
# invoke with ansible-playbook vaulting.yaml --vault-pass-file /path/to/password
- name: Ansible Vault Playbook Example
hosts: localhost
vars:
vault_password: "{{ lookup('env', 'ANSIBLE_VAULT_PASSWORD') }}"
secrets_file: "~/secrets.yaml"
secret_name: "secret" # specify different names to write more secrets to the file
tasks:
Aardvarks
Aardwolfs
Albatross
Alligators
Alpacas
Amphibians
Anacondas
Angelfishs
Anglerfishs
Anteaters
@sf1tzp
sf1tzp / plex_imdb_250.py
Created December 18, 2021 14:05
plex_imdb_250.py
#!/usr/bin/python3
# This script scrapes the imdb top 250 list and maintains a
# sorted library of entrants present in the 'Movies' library.
# kudos to /u/SwiftPanda16 for providing the basis of this script
# https://www.reddit.com/r/PleX/comments/5tymws/
import os, sys
import requests
from pathlib import Path