This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Mirror a website into a local folder for offline browsing.""" | |
| import os | |
| import re | |
| import sys | |
| import time | |
| import urllib.parse as up | |
| import requests | |
| from bs4 import BeautifulSoup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * -------------------------------------------------------------- | |
| * Google Apps Script – Build a “Summit Interest” Google Form | |
| * -------------------------------------------------------------- | |
| * 1️⃣ Run createSummitForm() once – it will create the form and | |
| * return the edit URL in the logger. | |
| * 2️⃣ The script uses FormApp (the Forms service) only – no | |
| * external libraries required. | |
| * 3️⃣ All references to "Doers" have been removed. | |
| * -------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * GENERIC Google Apps Script: role-volunteer sign-up form. | |
| * | |
| * Creates a Google Form that recruits exactly one volunteer per role, | |
| * removes each role as it's claimed, auto-closes once full, and emails | |
| * every volunteer a confirmation with prep materials. | |
| * | |
| * HOW TO USE | |
| * 1. Edit the CONFIG block below for your own event/roles. | |
| * 2. Go to https://script.google.com, create a new project, paste this |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /// script | |
| # requires-python = ">=3.11" | |
| # dependencies = [ | |
| # "httpx", | |
| # ] | |
| # /// | |
| import sys | |
| import httpx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Ctrl+Shift+I → copy latest screenshot full path to clipboard | |
| ; AutoHotkey v2 | |
| ScreenshotDir := "C:\Users\denni\OneDrive\Pictures\Screenshots 1" | |
| ^+i:: { | |
| global ScreenshotDir | |
| if !DirExist(ScreenshotDir) { | |
| TrayTip("Latest Screenshot", "Directory not found:`n" . ScreenshotDir, 3) | |
| return |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = [ | |
| # "jsonschema>=4.26.0", | |
| # "ollama>=0.6.2", | |
| # ] | |
| # /// | |
| """Ollama JSON Schema & Date Retry Demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Uninstalls Visual Studio Code and removes leftover configuration/extension folders. | |
| .DESCRIPTION | |
| This script attempts to uninstall Visual Studio Code using winget first. If winget | |
| is unavailable or the uninstall fails (e.g. VS Code wasn't installed via winget), | |
| it falls back to locating the uninstaller via the Windows registry (checking both | |
| per-user and machine-wide uninstall keys, including the 32-bit WOW6432Node hive). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| uv run --with pypdf python -c "import os; from pypdf import PdfWriter; writer = PdfWriter(); [writer.append(f) for f in sorted(os.listdir('.')) if f.lower().endswith('.pdf') and f != 'Merged_Document.pdf']; writer.write('Merged_Document.pdf')" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requires -Version 5.1 | |
| <# | |
| .SYNOPSIS | |
| Convert every *.docx in the current directory to Markdown using Pandoc. | |
| .DESCRIPTION | |
| - Non-recursive: only the working directory (Get-Location), not subfolders. | |
| - Output: <BaseName>.md if that file does not exist; otherwise <BaseName>-1.md, | |
| <BaseName>-2.md, ... until an unused name is found. | |
| - Embedded images and media are extracted to <Stem>_media next to the .md file, |
NewerOlder