Skip to content

Instantly share code, notes, and snippets.

View timothywarner's full-sized avatar
🤓
Remaining quiet and relaxed is the ultimate power pose.

Tim Warner timothywarner

🤓
Remaining quiet and relaxed is the ultimate power pose.
View GitHub Profile
@timothywarner
timothywarner / README.md
Last active June 1, 2025 18:30
🔐 Enterprise-grade GitHub Actions workflow for monitoring Personal Access Token security. Automatically scans for old tokens, missing expirations, and excessive permissions. Features GHAS integration, risk scoring, Slack notifications, and beautiful summaries. Created by Tim @ TechTrainerTim.com Full details: https://TechTrainerTim.com

🔐 GitHub PAT Security Monitor

GitHub Website License

You can stop worrying about forgotten access tokens. This workflow automatically monitors your GitHub Personal Access Tokens and alerts you before they become a security risk.

Why You Need This

@timothywarner
timothywarner / warner-generative-ai-laws.md
Last active May 17, 2025 16:24
A practical, living list of best practices for mastering large language models, all field-tested by Tim Warner. See more at go.techtrainertim.com/laws.

Warner’s Laws of Generative AI

Visit TechTrainerTim.com

A practical, living list of best practices for mastering large language models. Field-tested by Tim Warner.

🔗 Public Gist: go.techtrainertim.com/laws

These "laws" are in no particular order and evolve as the tech and our workflows change.

@timothywarner
timothywarner / warner-code-scanning-course-resources.md
Last active May 4, 2025 20:34
Supplemental resources for CodeQL and GitHub Advanced Security. Quick start, best practices, certification links, and more. Short link: go.techtrainertim.com/codeql
@timothywarner
timothywarner / azure-private-link-resources.md
Last active April 14, 2025 20:38
Comprehensive learning resources to support Azure Private Link implementation, including architecture patterns, DNS integration, security best practices, and a Bicep IaC deployment example. Includes network topology diagrams and detailed module relationships using Mermaid.js.
@timothywarner
timothywarner / tab-visibility-enhancement.md
Created April 6, 2025 21:17
VS Code settings to enhance active tab visibility for colorblind users. Uses high-contrast orange borders and semi-transparent background for better tab identification. Works with any theme.

VS Code Active Tab Enhancement for Colorblind Users

A simple VS Code configuration that makes the active editor tab highly visible through color and visual indicators. Perfect for colorblind users or anyone who wants more distinct active tab highlighting.

Quick Setup

  1. Open VS Code
  2. Press Ctrl + Shift + P (Windows/Linux) or Cmd + Shift + P (Mac)
  3. Type "Preferences: Open User Settings (JSON)"
  4. Add this configuration:
@timothywarner
timothywarner / connect-mggraph-practice.ps1
Created April 2, 2025 18:46
Get comfortable working with the Microsoft Graph API by using PowerShell
# 🔌 Connect-MgGraph: The Ultimate Practice Guide
[![PowerShell 7.2+](https://img.shields.io/badge/PowerShell-7.2+-blue.svg)](https://github.com/PowerShell/PowerShell)
[![Microsoft Graph](https://img.shields.io/badge/Microsoft%20Graph-SDK-green.svg)](https://github.com/microsoftgraph/msgraph-sdk-powershell)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
> A comprehensive guide to mastering the Connect-MgGraph cmdlet for Microsoft 365 and Azure administrators
## 📋 Table of Contents
@timothywarner
timothywarner / vr-ar-vendors.md
Created March 6, 2025 12:42
VR/AR/MR Tech Vendors, Hardware, and Software 2025
@timothywarner
timothywarner / RAG_time.py
Last active February 27, 2025 22:03
A tongue-in-cheek implementation that combines Retrieval Augmented Generation (RAG) with time manipulation to generate ragtime music. This script demonstrates the perfect intersection of AI humor and dad jokes - where modern machine learning techniques meet historical music genres. The pun works on multiple levels: 1. RAG (Retrieval Augmented Ge…
#!/usr/bin/env python3
"""
RAG_time Music Generator
A clever demonstration of Retrieval Augmented Generation (RAG)
and time manipulation to create MIDI music.
Scott Joplin meets LLMs: The perfect mashup nobody asked for.
This is what happens when a programmer makes a music pun:
R.A.G. (Retrieval Augmented Generation) + time manipulation = RAGtime
@timothywarner
timothywarner / secure-access-private-link.md
Last active February 19, 2025 22:09
Tim's session for the Microsoft Azure Community User Group