Skip to content

Instantly share code, notes, and snippets.

@arm77
arm77 / smart_parser.py
Created September 3, 2025 04:34
smart_parser.py
import os
import requests
from datetime import datetime
import json
import logging
# Converting this JavaScript code to Python requires a fundamental shift
# in approach. The original code uses Vue.js composables (useSmartMonitor,
# useSmartOverview, useSmartDevice), which are a framework-specific
# feature for managing reactive state and side effects. Python, being a
#!/usr/bin/env bash
# NAS volumes mounted as /Volumes/books /Volumes/music
EXTERNAL_USB="WD8TB"
for DIR in books music; do
SRC="/Volumes/$DIR/"
DST="/Volumes/$EXTERNAL_USB/NAS_COPY/$DIR"
# DRY_RUN="--dry-run"
DRY_RUN=""
@arm77
arm77 / keybase.md
Created February 17, 2019 17:38
keybase verification

Keybase proof

I hereby claim:

  • I am arm77 on github.
  • I am alex42 (https://keybase.io/alex42) on keybase.
  • I have a public key whose fingerprint is E484 A6C7 1107 2E87 3E99 B476 3116 97CB D2B1 C328

To claim this, I am signing this object: