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
  • 23:38 (UTC -04:00)
View GitHub Profile
@olets
olets / zsh-plugin-manager-plugin-installation-procedures.md
Last active July 4, 2025 11:54
zsh plugin manager cross-reference

Instructions for installing zsh plugins, for a variety of plugin managers

@jeffehobbs
jeffehobbs / pennsylvania.json
Last active December 2, 2021 17:22
JSON array of cities and towns in Pennsylvania
[
"Aliquippa",
"Allentown",
"Altoona",
"Arnold",
"Beaver Falls",
"Bethlehem",
"Bloomsburg",
"Bradford",
"Butler",
  • SC1000 $ is not used specially and should therefore be escaped.
  • SC1001 This \o will be a regular 'o' in this context.
  • SC1003 Want to escape a single quote? echo 'This is how it'\''s done'.
  • SC1004 This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.
  • SC1007 Remove space after = if trying to assign a value (or for empty string, use var='' ... ).
  • SC1008 This shebang was unrecognized. ShellCheck only supports sh/bash/dash/ksh. Add a 'shell' directive to specify.
  • SC1009 The mentioned parser error was in ...
  • SC1010 Use semicolo

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

@jazzl0ver
jazzl0ver / freeradius_users_csv_to_xml.pl
Created November 13, 2019 16:04
Replace freeradius users in pfSense configuration file with the supplied CSV file
#!/usr/bin/perl
#
# Script takes pfSense configuration file (1st argument), strips out all freeradius users
# and replaces them with the users from the CSV file (2nd argument):
# ./freeradius_users_csv_to_xml.pl pfSense-config.xml users.csv > pfSense-config-new.xml
#
# After the config uploaded and pfSense rebooted, https://gist.github.com/jazzl0ver/b605b1b6fc1effa448fa55467797ac81 patch should be applied:
#
# cd /root; patch -p0 < freeradius.inc.patch
#
@dnozay
dnozay / My Exiftool Cheatsheet.md
Last active May 17, 2025 20:25 — forked from rjames86/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.
@jeffehobbs
jeffehobbs / vibration_sensor_ESP32_HA_how_to.txt
Last active July 2, 2025 01:47
Vibration Sensor for ESPHome/Home Assistant
GOAL: Send a push notification after the (vibrations from the) dryer cycle has completely stopped.
USING:
* Inexpensive hardware (see below)
* ESPhome (http://esphome.io) for chip firmware
* Home Assistant (http://hass.io) for sensor state machine and push notification.
---
SHOPPING LIST:
@XLNCs
XLNCs / AdobeFixAMD
Last active February 17, 2025 21:51
To fix adobe products crashes on AMD hackintosh
MOVED HERE:
https://gist.github.com/naveenkrdy/26760ac5135deed6d0bb8902f6ceb6bd
@aallan
aallan / throttled.sh
Last active May 11, 2025 18:07
Script to parse the output of the 'vcgencmd get_throttled' command on a Raspberry Pi
#!/bin/bash
# https://retropie.org.uk/forum/topic/2295/runcommand-warning-if-voltage-temperature-throttling
#Flag Bits
UNDERVOLTED=0x1
CAPPED=0x2
THROTTLED=0x4
HAS_UNDERVOLTED=0x10000
HAS_CAPPED=0x20000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadIdentifier</key>
<string>com.example.tcc</string>
<key>_metadata</key>
<dict>
<key>catalog_promotion_date</key>
<string>2019-01-16</string>