Skip to content

Instantly share code, notes, and snippets.

View ChrisColeTech's full-sized avatar
🎯
Focusing

ChrisColeTech

🎯
Focusing
View GitHub Profile
@ChrisColeTech
ChrisColeTech / python-embedded+tkinter-for-Win10.md
Last active June 17, 2025 03:44 — forked from jtmoon79/python-embedded-for-Win10.md
fully configuring embedded Python on Windows 10

Update: use PowerShell script PythonEmbed4Win.ps1.

The instructions in this gist have some subtle problems and this gist will not be updated.

About


@ChrisColeTech
ChrisColeTech / gist:2df13aee74f7e8e515378cc861168f04
Last active September 2, 2024 01:29
How to add BULK file upload to Fooocus

NOTE: This requires TKinter for the file dialog.

The code will download and install the dependency for you on first launch.

Before starting, please back up the following files:

  • webui.py

  • modules/async_worker.py

(Just rename them to webui_old.py and async_worker_old.py)

@ChrisColeTech
ChrisColeTech / claude_code_mobile.md
Last active August 21, 2025 15:34
Completely FREE Claude Code MOBILE Setup (with tmux, Bitvise, and playit.gg)

Claude Code MOBILE Setup (with tmux, Bitvise, and playit.gg)

GxbDZHyaEAAtviV

This guide will walk you through setting up a remote-accessible Claude Code environment using tmux, Bitvise SSH Server, and playit.gg so you can attach to your running Claude session from another PC or your phone.


1. Install Required Software

@ChrisColeTech
ChrisColeTech / README.md
Created August 17, 2025 01:00
Windows Toast Notifications - Main README with cross-platform overview and Claude Code hooks documentation

Windows Toast Notifications for WSL

This package provides cross-platform toast notification functionality for Windows and WSL (Windows Subsystem for Linux). Perfect for Claude Code hooks and other automation tasks.

Features

  • 🔔 Native Windows toast notifications using BurntToast PowerShell module
  • 🐧 WSL integration with simple toast command
  • 🔧 Easy installation with automatic dependency handling
  • ✨ Works great with Claude Code hooks
@ChrisColeTech
ChrisColeTech / README-Windows.md
Last active August 18, 2025 08:07
Windows Toast Notifications - Windows Installation Guide with Claude Code integration

Windows Toast Notifications - Windows Installation

This guide covers installing toast notifications for Windows PowerShell/CMD environments.

Important: Claude Code Settings Backup & Replace

⚠️ CRITICAL INFORMATION: This installer will automatically backup and replace your existing Claude Code hook configuration.

What Happens to Your Settings:

  • Automatic Backup: Your existing .claude/settings.json is backed up with a timestamp
@ChrisColeTech
ChrisColeTech / README-WSL.md
Last active August 18, 2025 08:01
Windows Toast Notifications - WSL Installation Guide with Claude Code integration

Windows Toast Notifications - WSL Installation Guide with Claude Code integration

Windows Toast Notifications - WSL/MSYS2 Installation

This guide covers installing toast notifications for WSL (Windows Subsystem for Linux) and MSYS2/Git Bash environments that integrate with Windows notifications.

Important: Claude Code Settings Backup & Replace

⚠️ CRITICAL INFORMATION: This installer will automatically backup and replace your existing Claude Code hook configuration.

@ChrisColeTech
ChrisColeTech / README-macOS.md
Last active August 17, 2025 01:09
Windows Toast Notifications - macOS Installation Guide with Claude Code integration

Toast Notifications - macOS Installation

This guide covers installing toast notifications for macOS using native AppleScript APIs. No additional software required!

Quick Installation

Step 1: Download and Install

  1. Open Terminal
@ChrisColeTech
ChrisColeTech / wsl_toast_install.sh
Last active August 18, 2025 08:01
Windows Toast Notifications - Bash Installation Script for WSL
#!/usr/bin/env bash
# Windows Toast Notifications - Bash Installation Script for WSL
# WSL Toast Notification Installer
# This script installs a toast() function for WSL that triggers Windows notifications
# Uses C:\ProgramData\Toast\ for system-wide installation - no user detection needed
set -euo pipefail
# Colors for output
RED='\033[0;31m'
@ChrisColeTech
ChrisColeTech / wsl_toast_uninstall.sh
Last active August 17, 2025 13:31
Windows Toast Notifications - Bash Uninstallation Script for WSL
#!/usr/bin/env bash
# WSL Toast Notification Uninstaller
# This script removes the toast() function from WSL shell configurations
# Usage: bash wsl_toast_uninstall.sh
set -euo pipefail
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
@ChrisColeTech
ChrisColeTech / macos_toast_install.sh
Created August 17, 2025 01:00
Windows Toast Notifications - Bash Installation Script for macOS
#!/usr/bin/env bash
# macOS Toast Notification Installer
# This script installs a toast() function for macOS using native AppleScript
# Usage: bash macos_toast_install.sh
set -euo pipefail
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'