Skip to content

Instantly share code, notes, and snippets.

View emcniece's full-sized avatar
🔧
DevOps Engineer @ Workday

Eric McNiece emcniece

🔧
DevOps Engineer @ Workday
View GitHub Profile
@emcniece
emcniece / parse-crd-utilitybill.py
Created December 31, 2020 21:35
Parse CRD utility water bill PDF
from pdfreader import SimplePDFViewer
def to_float(string):
return float(string.strip())
def extract_usage_from_pdf(file_name):
fd = open(file_name, "rb")
viewer = SimplePDFViewer(fd)
@emcniece
emcniece / esphome-test-ble.yaml
Last active November 1, 2022 05:03
Ultraloq BLE service inspection via ESPHome
esphome:
name: test-ble
platform: ESP32
board: mhetesp32minikit
esp32_ble_tracker:
ble_client:
- mac_address: F0:5E:CD:BB:21:07
id: potting_shed_ble_client
@emcniece
emcniece / package-lock.json
Created January 15, 2023 07:31
cncjs package-lock.json
{
"name": "cncjs-app",
"version": "1.9.27-20230115-e163c2c2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "cncjs-app",
"version": "1.9.27-20230115-e163c2c2",
"license": "MIT",
@emcniece
emcniece / p3quick.sh
Last active July 14, 2023 22:34
Proxmark3 quickstart
brew tap proxmark/proxmark3
brew install proxmark3
proxmark3 /dev/tty.usbmodem214401
lf hid read 1
# present card
# read the tag id and copy it
# place the ring on the LF antena, have the antenna cutting the ring in half (don't just put it in the middle)
lf hid clone SOMEHEXVALUE
# remove ring
lf hid read 1