Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
// ==UserScript==
// @name Wyze Improvement Suite (public)
// @namespace https://github.com/local/wyze-improvement-suite
// @version 0.3.6
// @description Bookmarkable single-cam fullscreen, overlay, hotkeys, opt-in connection stats; DOM camera discovery (no localStorage access)
// @author Mark
// @match https://my.wyze.com/*
// @match http://my.wyze.com/*
// @run-at document-idle
// @grant GM_getValue

OpenAI Codex / ChatGPT Desktop App (Microsoft Store)

Quick CLI commands to install the official OpenAI ChatGPT/Codex apps via winget using Microsoft Store package IDs.

Install Stable / Standard Release

# Install by Store Product ID (Recommended)
winget install 9PLM9XGG6VKS --source msstore

# Install by App Name
// ==UserScript==
// @name Toggl Track Daily Summary Panel
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adds a static floating panel to view daily Toggl time summaries.
// @author mark05e
// @match https://track.toggl.com/*
// @updateURL https://gist.github.com/mark05e/d8328551c85497211316e9f43511fd98/raw
// @downloadURL https://gist.github.com/mark05e/d8328551c85497211316e9f43511fd98/raw
// @grant none
@mark05e
mark05e / ControlMyMonitor_batch_presets.md
Last active April 25, 2026 13:28
ControlMyMonitor batch presets

ControlMyMonitor Batch Scripts

This gist contains Windows batch files for setting monitor brightness and contrast presets using ControlMyMonitor.

Included presets:

  • 10
  • 25
  • 50
  • 75
; Typewriter Paste - Ctrl+Shift+V
; Types clipboard content character by character with delay (AutoHotkey v1.1)
; Delay in ms between characters (adjust to taste)
DelayMs := 75
^+v::
saved := ClipboardAll
Clipboard := Clipboard
if (StrLen(Clipboard) = 0) {
MsgBox Clipboard is empty.

Instructions for installing a Tampermonkey userscript from a URL

Step 1: Install Tampermonkey

Tampermonkey is a browser extension that lets you run userscripts, which are small programs that can customize websites by adding features or modifying existing ones.

@mark05e
mark05e / tsip-cli.ps1
Last active February 23, 2026 17:44
TSIP CLI Tool - A command-line interface for the tSIP VoIP softphone.
<#
.SYNOPSIS
TSIP CLI Tool - A command-line interface for the tSIP VoIP softphone.
.DESCRIPTION
Automates tSIP via its SCRIPT_B64 interface. Supports dialing, sending DTMF,
and displaying messages. Includes a built-in contact manager (contacts.csv).
.PARAMETER DefaultInput
Sends DTMF tones by default if no switch is provided. (Position 0)
@mark05e
mark05e / eqbank-year-filter.js
Created February 7, 2026 22:29
Helper script to programmatically set EQ Bank transaction date filters on an Angular-controlled date picker. Uses the native input value setter to bypass Angular form interception. May require multiple executions due to Angular validation timing.
/**
* EQ Bank – Angular Date Picker Helper
* -----------------------------------
* Tested on:
* https://secure.eqbank.ca/accounts/main/details
*
* Purpose:
* Programmatically set date values on Angular-controlled
* date picker inputs and submit the filter form.
*
@mark05e
mark05e / tpl_event_calendar_button.user.js
Last active November 28, 2025 00:06
Adds a button to TPL event pages to quickly add the event details to Google Calendar.
// ==UserScript==
// @name TPL Event Google Calendar Button
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Adds a button to TPL event pages to quickly add the event details to Google Calendar.
// @author mark05e & Gemini
// @match https://www.torontopubliclibrary.ca/detail.jsp?*Entt=RDMEVT*
// @run-at document-idle
// @updateURL https://gist.github.com/mark05e/fe76e1f27e15477983e9ea1844aff254/raw
// ==/UserScript==
# Summary of the Python Code
# The Python script export_scripts_from_json.py takes a JSON file as input, extracts JavaScript code snippets from specific nodes within the JSON structure, and saves each snippet as a separate .js file.
#
# Key Functionality
# ------------------
# JSON Input: The script reads a JSON file from the path provided as a command-line argument.
# Data Extraction: It navigates the JSON structure to find nodes of type "script" and extracts the content of the "script" property within their "properties".
# File Output: Each extracted script is saved to a .js file. The files are named using a combination of a sequential counter (01, 02, 03, etc.) and the script's "uid" property. The script creates a directory (if it doesn't exist) named after the workflowName in the JSON file and saves all the .js files in that directory.
# Error Handling: The script includes error handling for file not found, invalid JSON format, missing keys in the JSON data, and issues during file writing.
# Filename San