Skip to content

Instantly share code, notes, and snippets.

@alexlmiller
alexlmiller / gslides-presenter.scpt
Last active May 26, 2024 20:55
Google Slides Presenter Mode Script
-- Automatically set up Google Slides Presenter Mode w/ no window dragging between monitors
-- this will move your presentation window to your secondary monitor, your speaker notes to your primary, and activate full screen on the presentation
-- The monitor sizing values are hardcoded for a Macbook/Pro with your second monitor arranged to the right
-- other configurations may require tweaking the settings
use AppleScript version "2.4" -- Yosemite (10.10) or later
use framework "Foundation"
use framework "AppKit"
use scripting additions
@alexlmiller
alexlmiller / udm_wlan_control.py
Last active April 1, 2023 12:11 — forked from joestump/unifi.py
A simply Python Client for enabling, disabling, and checking status of Wifi Networks on a Unifi Dream Machine (or other UnifiOS)
import requests
import json
import urllib3
import argparse
import udm_wlan_secrets
UNIFI_URL = udm_wlan_secrets.unifi_url
UNIFI_USER = udm_wlan_secrets.unifi_username
UNIFI_PASS = udm_wlan_secrets.unifi_password

Keybase proof

I hereby claim:

  • I am alexlmiller on github.
  • I am alexlmiller (https://keybase.io/alexlmiller) on keybase.
  • I have a public key whose fingerprint is CEF4 63E1 0322 928F E044 B5C5 EB64 7D02 C06A B7CD

To claim this, I am signing this object: