Skip to content

Instantly share code, notes, and snippets.

View mark05e's full-sized avatar

mark05E mark05e

View GitHub Profile
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝
#
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗
# ██████╗ ███████╗███╗ ███╗ ██████╗ ██╗ ██╗███████╗ ██╗ ██╗██████╗
# ██╔══██╗██╔════╝████╗ ████║██╔═══██╗██║ ██║██╔════╝ ██║ ██║██╔══██╗
# ██████╔╝█████╗ ██╔████╔██║██║ ██║██║ ██║█████╗ ███████║██████╔╝
# ██╔══██╗██╔══╝ ██║╚██╔╝██║██║ ██║╚██╗ ██╔╝██╔══╝ ██╔══██║██╔═══╝
# ██║ ██║███████╗██║ ╚═╝ ██║╚██████╔╝ ╚████╔╝ ███████╗ ██║ ██║██║
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═╝╚═╝
#
# ██████╗ ██╗ ██████╗ █████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ███████╗
# ██╔══██╗██║ ██╔═══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔══██╗██╔════╝
# ██████╔╝██║ ██║ ██║███████║ ██║ ██║ █╗ ██║███████║██████╔╝█████╗
@mark05e
mark05e / wealthsimple-transaction-for-ynab.user.js
Last active May 28, 2026 06:34 — forked from shotasenga/wealthsimple-transaction-for-ynab.user.js
Export transactions from Wealthsimple to a CSV file for YNAB import
// ==UserScript==
// @name Export Wealthsimple transactions to CSV for YNAB
// @namespace wealthsimple.activity.export
// @version 20260208
// @description Export transactions from Wealthsimple to a CSV file for YNAB import with enhanced Payee info
// @author https://gist.github.com/shotasenga
// @author https://gist.github.com/kaipee
// @author https://gist.github.com/mark05e
// @downloadURL https://gist.githubusercontent.com/mark05e/4e8bcfa54df846529a0bd756c27f2222/raw
// @updateURL https://gist.githubusercontent.com/mark05e/4e8bcfa54df846529a0bd756c27f2222/raw
@mark05e
mark05e / RemoveWebroot.ps1
Last active May 15, 2026 19:56
PowerShell script to forcefully remove Webroot SecureAnywhere. It is recommended to run the script twice, with a reboot after the first run. Maintenance Note - https://gist.github.com/mark05e/0a04a54c1e8489c770bd91e4910d7df9
# Removes Webroot SecureAnywhere by force
# Run the script once, reboot, then run again
# Webroot SecureAnywhere registry keys
$RegKeys = @(
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\WRUNINST",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WRUNINST",
"HKLM:\SOFTWARE\WOW6432Node\WRData",
"HKLM:\SOFTWARE\WOW6432Node\WRCore",
"HKLM:\SOFTWARE\WOW6432Node\WRMIDData",
@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 / DriveClean.ps1
Last active February 8, 2026 16:38 — forked from pmsmith/DriveClean.ps1
Simple script to clear temp files and browser cache/history
#------------------------------------------------------------------#
#- Clear-GlobalWindowsCache #
#------------------------------------------------------------------#
Function Clear-GlobalWindowsCache {
Remove-CacheFiles 'C:\Windows\Temp'
Remove-CacheFiles "C:\`$Recycle.Bin"
Remove-CacheFiles "C:\Windows\Prefetch"
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 255
C:\Windows\System32\rundll32.exe InetCpl.cpl, ClearMyTracksByProcess 4351
}
@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.
*