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 | |
Disables desktop notifications for major browsers | |
.DESCRIPTION | |
This script creates registry entries to disable desktop notifications for Chrome and Edge. | |
Works on both domain and non-domain Windows machines | |
.NOTES | |
Run as Administrator for HKLM registry modifications | |
#> |
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
<# | |
.DESCRIPTION Removes HP bloatware. | |
#> | |
# Get list of HP applications from both registry locations | |
$Apps = @() | |
$Apps += Get-ItemProperty "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*" | Where-Object { $_.DisplayName -like "*HP*" } # 32 Bit | |
$Apps += Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*" | Where-Object { $_.DisplayName -like "*HP*" } # 64 Bit | |
# Filter out null DisplayName entries, duplicates, and drivers |
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
<# | |
.DESCRIPTION Detects if WinRar is installed and upgrades to 7.13 if needed. Written to address CVE-2025-8088. | |
#> | |
function Update-Winrar | |
{ | |
if (-not (Test-Path -Path "$TempDir")) | |
{ | |
New-Item -Path "$TempDir" -PathType Directory | |
} |
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
# Registry values to set to prevent Recall from renabling itself. | |
$RecallRegistryValues = @( | |
[pscustomobject]@{ | |
Path="HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" | |
Name="DisableAIDataAnalysis" | |
Type="DWord" | |
Value="1" | |
} | |
[pscustomobject]@{ | |
Path="HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" |
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
networks: | |
proxy: | |
external: true | |
# description: Self-hosted metasearch engine | |
# https://github.com/searxng/searxng-docker | |
# Copy the settings template in etc/searxng and save it as settings.yml in the same directory. | |
# Make sure you change the secret key. | |
services: |
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 bash | |
# Fedora installation helper script. | |
# I tend to build these from the server installer for a cleaner system | |
# So there's quite a few packages missing. | |
set -eou pipefail | |
# vars | |
# Various packages |
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
--- | |
- name: Edit the sources files on Debian and Ubuntu hosts to use our local caching webserver. | |
hosts: all | |
vars: | |
internal_cache_server_name: http://deb.test.xyz | |
# Original repo name we need to match on the left, the path in your nginx webserver on the right. | |
original_repo_targets: | |
http://archive.ubuntu.com/ubuntu: ubuntu |
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
$TempDir = 'C:\Temp' | |
if(-not (Test-Path -Path "$TempDir" -PathType Container)){ | |
New-Item -Path "$TempDir" -ItemType Directory | |
} | |
Start-Transcript -Path "$TempDir\Disable-Recall-Scheduled-Task.log" -Force | |
$WindowsDisplayVersion = (Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion").DisplayVersion |
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
--- | |
- name: Install Lazygit | |
hosts: localhost | |
connection: local | |
become: true | |
tasks: | |
- name: Get the latest Lazygit version | |
ansible.builtin.uri: | |
url: https://api.github.com/repos/jesseduffield/lazygit/releases/latest |