sudo dnf install clamav clamav-freshclam clamd| <# | |
| .SYNOPSIS | |
| Hardens Windows 10/11 by disabling telemetry, turning off indexing, disabling Start-menu search suggestions, and cleaning up temp files, update caches, event logs, and the Recycle Bin. | |
| .DESCRIPTION | |
| This script will: | |
| • Stop & disable Connected User Experiences & Telemetry (DiagTrack) | |
| • Disable WAP Push Agent (dmwappushsvc) and Diagnostic Policy Service (DPS) | |
| • Set AllowTelemetry = 0 in the registry (minimal data collection) | |
| • Disable the scheduled tasks “ProgramDataUpdater” and “Microsoft Compatibility Appraiser” |
| #!/usr/bin/env bash | |
| ############################################################################### | |
| # Author: ph33nx | |
| # URL: https://github.com/ph33nx | |
| # | |
| # Description: | |
| # This bash script automates the process to harden macOS (tested on Sequoia 15.5) by disabling | |
| # or minimizing telemetry, turning off Spotlight indexing, and performing | |
| # routine cleanup of caches, logs, temporary files, and the Trash. It is ideal | |
| # for sysadmins, power users, and privacy-focused developers who want to: |
| #!/usr/bin/env python3 | |
| """ | |
| bulk_img_convert_and_rename.py – Bulk Image Convert & Rename Python Script | |
| Production‑ready command‑line utility for web developers, photographers, SEO specialists and e‑commerce teams who need to bulk convert and bulk rename thousands of images before pushing to GitHub, S3, CDN or serving them on high‑performance websites. | |
| Core features: | |
| - Bulk image convert: reads every format Pillow supports (PNG, JPEG, WebP, BMP, TIFF, GIF, etc.) and compresses them into small, progressive JPEGs optimised for web delivery. | |
| - Automatic bulk rename: each output is saved as img_<n>.jpg, ready for CDN caching and static‑site generators. | |
| - One‑click metadata stripping: removes EXIF, GPS, ICC and all other heavy data to protect privacy and improve SEO scores. |
| #!/usr/bin/env python3 | |
| """ | |
| directplay.py | |
| ============= | |
| Batch-optimise any video library so every file direct-plays on | |
| Chromecast, smart-TVs and desktop/mobile browsers — no server-side | |
| transcoding required. | |
| Key features |
Author: ph33nx
This guide provides detailed instructions for converting your audio files (e.g., MP3) into a high-quality, compressed Opus format encapsulated in a WebM container using FFmpeg. It is designed for developers, system administrators, and audio engineers looking for efficient audio streaming, optimal media conversion, and reliable audio compression solutions across multiple operating systems.
This guide details containerizing and running ComfyUI with Docker on Linux and Windows (including WSL2). It covers mounting local directories, best practices for I/O performance, and an Ollama integration section.
| # TurnOffMonitor.ps1 | |
| # This script leverages the Windows API via .NET to power off the display while keeping background processes running. | |
| # Author: ph33nx (https://github.com/ph33nx) | |
| # Shortcut Instructions: | |
| # 1. Right-click on your Desktop and select "New > Shortcut". | |
| # 2. In the "Type the location of the item" field, paste: | |
| # powershell.exe -ExecutionPolicy Bypass -File "C:\path\to\TurnOffMonitor.ps1" | |
| # 3. Click "Next", give your shortcut a name (e.g., "Turn Off Monitor"), and finish. | |
| # 4. (Optional) Assign a hotkey by right-clicking the shortcut, selecting "Properties", and setting your desired key combination. | |
| # Keywords: Windows API, PowerShell, monitor off, turn off display, display sleep shortcut, Windows shortcut, system automation, |
Credit: ph33nx
This guide provides simple, direct steps to manually install the Google USB Driver and ADB/Fastboot binaries using winget on Windows 10/11.
| #!/usr/bin/env python3 | |
| """ | |
| project2txt.py | |
| Python script to scan a project's directory structure for common programming files and export it to a text file. | |
| Respects .gitignore rules if present, handles subdirectories, and preserves file contents. | |
| Only includes paths that contain common programming and project files. | |
| Author: ph33nx | |
| GitHub: https://gist.github.com/ph33nx/12ce315ef6dbcf9ef1d01f5371af4a3d |