Skip to content

Instantly share code, notes, and snippets.

View Computer-Tsu's full-sized avatar

Mark McDow Computer-Tsu

View GitHub Profile

GPS and Maidenhead gridsquare conversions for Excel into Latitude and Longitude (decimal)

=(CODE(MID(A2,2,1))-65)*10 + VALUE(MID(A2,4,1)) + (CODE(MID(A2,6,1))-97)/24 + 1/48 - 90
=(CODE(MID(A2,1,1))-65)*20 + VALUE(MID(A2,3,1))*2 + (CODE(MID(A2,5,1))-97)/12 + 1/24 - 180

presumes 6-character gridsquare address stored in column A. Case-sensitive, 2 UPPERCASE letters, 2 numbers 2 lowercase.
first formula provides latitude. second line provides the longitude.
(+/- decimal)

@Computer-Tsu
Computer-Tsu / Top_Public_Time_Servers.md
Created June 20, 2026 23:29 — forked from mutin-sa/Top_Public_Time_Servers.md
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@Computer-Tsu
Computer-Tsu / temp-email.txt
Created June 20, 2026 23:01 — forked from bitbybit/temp-email.txt
List of temporary email services
00jac.com
0411cs.com
045692.xyz
062e.com
0731tz.com
08058383859.com
0815.ru
0815.su
0box.eu
0cd.cn
@Computer-Tsu
Computer-Tsu / ReadMe.md
Created May 25, 2026 20:12
Bookmarklets, Javascript

https://en.wikipedia.org/wiki/Bookmarklet

The increased implementation of Content Security Policy (CSP) in websites has caused problems with bookmarklet execution and usage (2013–2015),[5] with some suggesting that this hails the end or death of bookmarklets.[6][7] William Donnelly created a work-around solution for this problem (in the specific instance of loading, referencing and using JavaScript library code) in early 2015 using a Greasemonkey userscript (Firefox / Pale Moon browser add-on extension) and a simple bookmarklet-userscript communication protocol.[8] It allows (library-based) bookmarklets to be executed on any and all websites, including those using CSP and having an https:// URI scheme.

https://en.wikibooks.org/wiki/JavaScript/Bookmarklets

https://www.bookmarklets.com/

https://www.bookmarklets.com/tools/categor.html

  1. A Fistful of Warlocks - The American West was not the most miserable land I had ever traveled, but it came quite near to it.
  2. B is for Bigfoot - When people come to the only professional wizard in the Chicago phone book for help, they’re one of two things: desperate or smart.
  3. I Was a Teenage Bigfoot - There are times when, as a professional wizard, my vocation calls me to the great outdoors, and that night I was in the north woods of Wisconsin with a mixed pack of researchers, enthusiasts, and, well, nerds.
  4. Curses - Most of my cases are pretty tame.
  5. AAAA Wizardry - The first thing I thought, looking at the roomful of baby Wardens, was, They all look so darned young. The close second was, My God, am I getting old?
  6. Bigfoot on Campus - The campus police officer folded his hands and stared at me from across the table. "Coffee?"
    "What flavor is it?" I asked.
  7. Even Hand - A successful murder is like a successful restaurant: Ninety percent of it is about locatio
@Computer-Tsu
Computer-Tsu / Cron-MacOS.md
Created January 9, 2025 19:42
Using cron in Mac OS

Apple is disabling cron (crontab) on Mac OS X and later.

@Computer-Tsu
Computer-Tsu / PSInfo.md
Last active November 4, 2026 13:22
PowerShell Profiles

Comments

# Comment line

<#
comment block
#>

Function Help Comments

@Computer-Tsu
Computer-Tsu / Windows-Print Screen.md
Last active October 21, 2025 13:20
Windows registry key settings to customize Screen shots

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
DWORD | ScreenshotIndex =

Hot key for Snipping Tool

Windows 11, Settings, Accessibility > Keyboard
Use the Print Screen to open screen capture
On

@Computer-Tsu
Computer-Tsu / Exp-Classic.cmd
Last active September 4, 2024 12:10
Win11 Classic Explorer
REM Requires Windows 11. Launch File Explorer with the Windows 10 style interface.
C:\WINDOWS\explorer.exe /factory.{5BD95610-9434-43C2-886C-57852CC8A120} -Embedding
@Computer-Tsu
Computer-Tsu / Windows System Restore.md
Last active December 14, 2025 17:00
Script and CLI (command line) for Microsoft Windows System Restore (Protection) Points

Get-ChildItem -Attributes hidden "\System Volume Information"

Get-ComputerRestorePoint | Format-Table -AutoSize Description, SequenceNumber, @{n="Date";e={[System.Management.ManagementDateTimeConverter]::ToDateTime($_.creationtime)}}

Enable-ComputerRestore -Drive "c:"

vssadmin resize shadowstorage /for=C: /on=C: /maxsize=5%

Checkpoint-Computer -Description "Restore point before driver installation" -RestorePointType DEVICE_DRIVER_INSTALL