Skip to content

Instantly share code, notes, and snippets.

View LinkPhoenix's full-sized avatar
💭
🐚

AlaKrium LinkPhoenix

💭
🐚
  • Devil Corp
  • Hell
View GitHub Profile
@LinkPhoenix
LinkPhoenix / roundcube-traefik-stack.yml
Last active October 20, 2025 00:33
Docker Compose stack for Roundcube webmail with MySQL, Traefik proxy, Cloudflare TLS, and extensive plugins, configured for mail server on same host. Stalwart Tested.
# Roundcube Docker Compose Stack with Traefik and Cloudflare
#
# Description:
# Deploys Roundcube webmail (version 1.6.11-apache) along with a MySQL 8.0 database,
# configured for Traefik reverse proxy using Cloudflare certresolver.
# Includes a wide array of relevant plugins enabled for advanced mail features.
# The domain is masked as domain.ltd for privacy; update your real domain accordingly.
# Added extra_hosts for mail.domain.ltd assuming the mail server is on the same host as Roundcube.
#
# Environment:
@LinkPhoenix
LinkPhoenix / passbolt-traefik-stack.yml
Created October 20, 2025 00:24
Docker Compose stack for Passbolt CE with MariaDB, Traefik reverse proxy, and custom mail host integration.
# Passbolt Docker Compose Stack with Traefik Proxy and custom mail host
#
# Description:
# Deploys Passbolt CE with MariaDB backend and Traefik reverse proxy (using Cloudflare cert resolver).
# Includes persistent volumes for database, GPG keys, and JWT tokens.
#
# Usage:
# - Configure environment variables in a .env file.
# - Ensure Traefik is running with network 'traefik-net' created externally.
# - Launch with `docker-compose up -d`.
@LinkPhoenix
LinkPhoenix / Reset-BraveStats.ps1
Created October 20, 2025 00:11
Reset Brave Browser statistics (ads blocked, bandwidth saved) by editing the preferences JSON file.
<#
.SYNOPSIS
Reset Brave Browser usage statistics such as bandwidth saved and ads blocked.
.DESCRIPTION
This script reads Brave Browser’s preferences JSON file and resets user statistics (bandwidth and ad-block counters) to zero.
It was created and tested on Windows 11 Pro 25H2 to fix corrupted or inflated Brave stats values.
Brave must be completely closed before running this script, otherwise it will overwrite the changes upon exit.
No administrative privileges are required.
@LinkPhoenix
LinkPhoenix / Clear-AOMEIBackupperLogs.ps1
Created October 20, 2025 00:07
PowerShell script to clean all AOMEI Backupper log files and free disk space.
<#
.SYNOPSIS
Clear all log files from AOMEI Backupper installation directories.
.DESCRIPTION
This script automatically detects the installed version of AOMEI Backupper
by reading registry entries and cleans up all existing log files from the
associated log directory. It helps free disk space and ensures that AOMEI
Backupper runs with a clean log state, especially useful after numerous
backup or sync operations.
@LinkPhoenix
LinkPhoenix / Reset-ThumbnailCache.ps1
Created October 20, 2025 00:05
PowerShell script to reset Windows 11 icon and thumbnail caches for fixing broken or missing explorer thumbnails.
<#
.SYNOPSIS
Reset Windows 11 icon and thumbnail caches to fix broken or outdated explorer thumbnails.
.DESCRIPTION
This script was created to fix broken taskbar or explorer thumbnails, particularly when shortcuts are renamed.
It stops Windows Explorer, clears both icon and thumbnail cache databases, and restarts Explorer cleanly.
This process can also solve other visual cache inconsistencies or shell display issues in Windows 11.
.PARAMETER None
@LinkPhoenix
LinkPhoenix / Configure-WindowsFirewall.ps1
Created October 20, 2025 00:02
Interactive PowerShell tool to manage or disable Windows Defender Firewall when using Fort Firewall to prevent duplicate notifications.
<#
.SYNOPSIS
Configure Windows Defender Firewall interactively to ensure compatibility with Fort Firewall.
.DESCRIPTION
This script provides an interactive interface to view and manage Windows Defender Firewall settings.
It includes options to enable, disable, or reset firewall profiles via PowerShell or netsh commands.
Created to disable Windows Firewall when Fort Firewall is used, preventing notifications.
.PARAMETER None
@LinkPhoenix
LinkPhoenix / Disable-HVCI.ps1
Created October 19, 2025 23:59
Disables HVCI (Hypervisor-Enforced Code Integrity) via registry with admin privilege check and user confirmation.
<#
.SYNOPSIS
Disable Hypervisor-Enforced Code Integrity (HVCI) via registry to allow Fort Firewall installation.
.DESCRIPTION
This script checks for administrator rights and relaunches elevated if needed.
It prompts for user confirmation before disabling HVCI by modifying the appropriate registry key.
Disabling HVCI is necessary because Fort Firewall cannot be used when this protection is enabled.
Designed to ensure safe configuration changes enabling Fort Firewall setup.
@LinkPhoenix
LinkPhoenix / Clear-PS7-OhMyPoshHistory.ps1
Created October 19, 2025 23:55
Clear the PSReadLine history file used by PowerShell 7 and Oh My Posh without deleting the file, preserving permissions. Provides simple, colored console output to confirm actions.
<#
.SYNOPSIS
Clear PowerShell 7 and Oh My Posh PSReadLine history without deleting history file.
.DESCRIPTION
This script empties the PSReadLine history file used by PowerShell 7 and Oh My Posh
prompts, keeping the file intact to preserve permissions.
Useful for removing command history while maintaining configuration integrity.
.PARAMETER None
@LinkPhoenix
LinkPhoenix / Debloat-BraveBrowser.ps1
Created October 19, 2025 23:52
PowerShell Brave Debloat Script – Disable Rewards, Wallet, VPN & Leo AI
<#
.SYNOPSIS
Manage Brave browser features individually by toggling Brave Rewards, Wallet, VPN, and Leo AI registry settings.
.DESCRIPTION
This interactive script checks the current registry state of each Brave feature.
It prompts the user for each feature to decide whether to disable it, remove the policy, or skip to next.
Status is displayed in color-coded messages for clarity.
.PARAMETER None
@LinkPhoenix
LinkPhoenix / WindowsStore-Fix.ps1
Last active October 20, 2025 00:13
PowerShell script to fix Windows Store installation errors caused by privacy tools and restore normal functionality.
<#
.SYNOPSIS
Fix Windows Store errors and restore functionality to resolve installation or update issues.
.DESCRIPTION
This script repairs Microsoft Store and related system services by reverting privacy modifications
made by tools such as privacy-script.bat from privacy.sexy. It addresses the common error
0x80004002 (E_NOINTERFACE) and other issues that prevent the Microsoft Store from installing or updating apps.
The script re-enables essential services like Windows Update and Delivery Optimization,
restores registry values, repairs connectivity checks, clears caches, and resets Store apps.