Skip to content

Instantly share code, notes, and snippets.

View Jaharmi's full-sized avatar
👋
You had me at ‘Hello World’!

Jeremy Reichman Jaharmi

👋
You had me at ‘Hello World’!
  • Landenberg, PA
  • 01:19 (UTC -04:00)
View GitHub Profile
@Jaharmi
Jaharmi / My Exiftool Cheatsheet.md
Created May 17, 2025 20:25 — forked from dnozay/My Exiftool Cheatsheet.md
Cheatsheet for image / video metadata manipulation.

Cheatsheet for image / video metadata manipulation.

Last updated 2019-07-24

Disclaimer

until more specific license...

THE CONTENT BELOW IS PROVIDED "AS-IS",
WE DISCLAIM LIABILITY FOR ALL USES TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW.
@Jaharmi
Jaharmi / fovtest.py
Created February 16, 2025 22:44 — forked from hawkeye217/fovtest.py
Check if an ONVIF-capable IP PTZ camera supports RelativeMove with FOV
# This script can help you determine if your PTZ is capable of
# working with Frigate NVR's autotracker.
#
# Cameras with a "YES" printed for each parameter at the end of
# the output will likely be supported by Frigate.
#
# Make sure you're using python3 with the onvif-zeep package
# Update the values for your camera below, then run:
# pip3 install onvif-zeep
# python3 ./fovtest.py
@Jaharmi
Jaharmi / mailrules.json
Created December 8, 2023 03:53 — forked from dmdeller/mailrules.json
Fastmail rules to filter useless delivery emails
[
{
"markFlagged": false,
"fileIn": "Deliveries",
"combinator": "any",
"snoozeUntil": null,
"discard": false,
"created": "2023-07-25T14:15:44Z",
"previousFileInName": null,
"name": "Useless delivery notifications",
@Jaharmi
Jaharmi / gist:e3e507f52bc4a9bff387a4134ca156d3
Created December 24, 2022 13:56
Error: ESPHome install with s00500/ESPUI library
In file included from /data/firebeetle-061cb8/.piolibdeps/firebeetle-061cb8/ESP Async WebServer/src/AsyncWebSocket.h:32,
from /data/firebeetle-061cb8/.piolibdeps/firebeetle-061cb8/ESP Async WebServer/src/AsyncWebSocket.cpp:22:
/data/firebeetle-061cb8/.piolibdeps/firebeetle-061cb8/ESP Async WebServer/src/ESPAsyncWebServer.h:27:10: fatal error: FS.h: No such file or directory
************************************************************
* Looking for FS.h dependency? Check our library registry!
*
* CLI > platformio lib search "header:FS.h"
* Web > https://registry.platformio.org/search?q=header:FS.h
*

Campaign Rules

1. Be Respectful & Pay Attention

Please remember that your Game Master has put in time and effort (probably more than you realize) into the campaign you asked to participate in. Be respectful and pay attention. If you are playing other games, browsing social media, chatting, etc. it's more obvious than you probably think and it detracts from everyone's experience. A player being absent is less distracting than a player who can be heard typing in the background for long periods or consistently has no idea what is going on in the game. We understand that people have responsibilities such as kids, partners, work calls, etc. that may need your attention suddenly and that's not an issue unless it happens frequently and you are in a [STRICT] campaign (see rule 2).

2. Respect the [STRICT] Tag

We have different campaign styles and are pretty relaxed in most of them. However, sometimes we want to take a campaign more seriously, particularly if it's an official adventure module. Loo

@Jaharmi
Jaharmi / complex_salt_orchestrate.sls
Created October 1, 2019 13:20 — forked from whiteinge/complex_salt_orchestrate.sls
An example of a complex, multi-host Salt Orchestrate state that performs status checks as it goes
# /srv/salt/upgrade_the_app.sls
# Example of a complex, multi-host Orchestration state that performs status checks as it goes.
# Note, this is untested and is meant to serve as an example.
# Run via: salt-run state.orch upgrade_the_app pillar='{nodes: [nodeA, nodeB], version: 123}'
{% set nodes = salt.pillar.get('nodes', []) %}
{% set all_grains = salt.saltutil.runner('cache.grains',
tgt=','.join(nodes), tgt_type='list') %}
{# Default version if not given at the CLI. #}
@Jaharmi
Jaharmi / getosversionfromdmg.py
Last active September 26, 2017 03:05 — forked from bruienne/getosversionfromdmg.py
Get OS X version from DMG
#!/usr/bin/python
#
# getosversionfromdmg.py
#
# Copyright (c) 2014 The Regents of the University of Michigan
# Copyright (c) 2017 Jeremy Reichman
#
# Retrieves the OS version and build from the InstallESD.dmg contained in
# a typical "Install [Mac OS X|OS X|macOS] <Name>.app" bundle.
#
@Jaharmi
Jaharmi / gist:50951892c7bff21560bb
Created March 9, 2016 16:34
A Luggage makefile that specifies a Title with spaces.
USE_PKGBUILD=1
include /usr/local/share/luggage/luggage.make
TITLE=Title\ with\ Spaces
REVERSE_DOMAIN=com.pretendco
PACKAGE_ID=${REVERSE_DOMAIN}.titlewithoutspaces
PACKAGE_NAME=${TITLE}
PAYLOAD=\
...
#!/usr/bin/expect
log_user 0
set password s3kr1tp4ssw0rd
spawn fdesetup changerecovery -personal -key /path/to/keychain_with_both_private_and_public_keys_inside.keychain -outputplist > /path/to/new_recovery_key.plist
expect "keychain: "
send "$password\n"
log_file -a /path/to/new_recovery_key.plist
expect EOF