Skip to content

Instantly share code, notes, and snippets.

@lazuee
lazuee / adobe-killer.ps1
Created October 28, 2024 14:58
Stop adobe running in the background and Block adobe in Host File
Function Priority {
$ErrorActionPreference = 'SilentlyContinue'
foreach ($root in 'HKCU', 'HKLM', 'HKU', 'HKCR') {
New-PSDrive -PSProvider Registry -Name $root -Root "HKEY_$root" | Out-Null
}
Set-ExecutionPolicy RemoteSigned -Force -Scope CurrentUser
$ErrorActionPreference = 'Continue'
}
Priority
Steam Games that are Hidden/De-listed/Removed
These games are not available to buy or download from the store, you can only use the links below to launch the Steam Desktop Client to download these games. Not all the games remain in your library if you uninstall them. All the games below are NOT +1 and do not drop cards.
• Age of Empires online [Servers have been Shutdown]: steam://install/105430
• Arcane Saga Online: steam://install/238110
• Arctic Combat: steam://install/212370
• Arma 2 [Free Version]: steam://install/107400
• Battle for Graxia: steam://install/90530
• Brawl Busters: steam://install/109410
• Codename Gordon: steam://install/92
@mgeeky
mgeeky / Cleanup-ClickOnce.ps1
Last active March 31, 2025 22:42
Cleanup-ClickOnce.ps1 - Simple Powershell script that removes ClickOnce deployments entirely from file system and registry. Attempts to remove both installed and online-only deployments.
#
# Simple Powershell script that removes ClickOnce deployments entirely from file system and registry.
# Attempts to remove both installed and online-only deployments.
#
# Authored: Mariusz Banach / mgeeky, <mb [at] binary-offensive.com>
#
# Usage:
# PS> . .\Cleanup-ClickOnce.ps1
# PS> Cleanup-ClickOnce -Name MyAppName
#
@api0cradle
api0cradle / check_vulnerabledrivers.ps1
Created May 19, 2023 14:13
A quick script to check for vulnerable drivers. Compares drivers on system with list from loldrivers.io
# Simple script to check drivers in C:\windows\system32\drivers against the loldrivers list
# Author: Oddvar Moe - @oddvar.moe
$drivers = get-childitem -Path c:\windows\system32\drivers
$web_client = new-object system.net.webclient
$loldrivers = $web_client.DownloadString(" https://www.loldrivers.io/api/drivers.json") | ConvertFrom-Json
Write-output("Checking {0} drivers in C:\windows\system32\drivers against loldrivers.io json file" -f $drivers.Count)
foreach ($lol in $loldrivers.KnownVulnerableSamples)
{
@Nels2
Nels2 / RemoveWebroot.ps1
Last active August 26, 2024 20:45 — forked from mark05e/RemoveWebroot.ps1
PowerShell script to forcefully remove Webroot SecureAnywhere. It is recommended to run the script twice, with a reboot after the first run.
# Removes Webroot SecureAnywhere by force
# Run the script once, reboot, then run again
# below is to make sure script is being ran as admin so it works properly.
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator))
{
# Relaunch as an elevated process:
Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
exit
}
# Webroot SecureAnywhere registry keys
@m4ss1m0g
m4ss1m0g / add-remove.psm1
Last active May 18, 2023 18:23
Lists all installed software, including any that is not visible with PowerShell
function Get-Installed {
[CmdletBinding()]
param (
# The name of the software
[Parameter(Mandatory = $true)]
[string] $Name
)
begin {
$PATHS = @(
@AveYo
AveYo / . Pitch Black Theme.reg
Last active April 8, 2025 20:46
Pitch Black Theme.reg - now for Ctrl+Alt+Del (and logon on 11) as well - revised 2022-06-16
Windows Registry Editor Version 5.00
; Pitch Black Theme preset by AveYo, AccentPalette idea by /u/Egg-Tricky
; for Ctrl+Alt+Del, Logon, Taskbar, Start Menu, Action Center (10 & 11)
; revised 2022-06-16: show active taskbar button in accent color
[-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Accent]
"AccentColorMenu"=dword:aa000000 ; Window borders and titlebar
"StartColorMenu"=dword:aa202020 ; Modals in UWP ex. Apply new refresh rate in 10
import { parse } from "https://deno.land/[email protected]/flags/mod.ts";
const HELP_TEXT = `
usage: this-file <steam username> <target steam library directory> [--no-verify]
usage (as script): deno run -A ./update-verify.ts <steam username> <target steam library directory> [--no-verify]
You can alternatively specify <username> and <library> with any alias. e.g.
-u <username>
--user <username>
--username <username>
--user=<username>
@tatsumoto-ren
tatsumoto-ren / subs.md
Last active April 11, 2025 18:35
Japanese Subtitles