Skip to content

Instantly share code, notes, and snippets.

@vavavr00m
vavavr00m / download-selenium-drivers.ps1
Last active April 19, 2025 08:47 — forked from JoshuaKGoldberg/download-selenium-drivers.ps1
PowerShell script to download major browser WebDriver drivers for Selenium.
[Net.ServicePointManager]::SecurityProtocol = "Ssl3, Tls, Tls11, Tls12";
$currentDir = (Get-Item -Path "./").FullName;
$driversDirName = Join-Path $currentDir ".drivers";
$isWindows = [System.Boolean](Get-CimInstance -ClassName Win32_OperatingSystem -ErrorAction SilentlyContinue);
$webClient = New-Object System.Net.WebClient;
function Get-ChromeInstalledVersion {
$chromeRegistryKey = "HKCU:Software\Google\Chrome\BLBeacon"
@vavavr00m
vavavr00m / adobe-killer.ps1
Created April 8, 2025 07:47 — forked from lazuee/adobe-killer.ps1
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
@vavavr00m
vavavr00m / Convert-AllFilesToUtf8.ps1
Created April 1, 2025 14:19 — forked from dargmuesli/Convert-AllFilesToUtf8.ps1
A PowerShell script to convert all files in the current folder to UTF-8.
<#
.SYNOPSIS
Outputs to a UTF-8-encoded file *without a BOM* (byte-order mark).
.DESCRIPTION
Mimics the most important aspects of Out-File:
* Input objects are sent to Out-String first.
* - Append allows you to append to an existing file, -NoClobber prevents
overwriting of an existing file.
* - Width allows you to specify the line width for the text representations
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\Process all files in folder]
@="&Process all files in folder"
[HKEY_CLASSES_ROOT\Directory\shell\Process all files in folder\command]
@="\"C:\\Scripts\\Process all files in folder.bat\" \"%1\""
@vavavr00m
vavavr00m / AnyDesk-Reset.cmd
Created December 4, 2024 15:38 — forked from janasco/AnyDesk-Reset.cmd
AnyDesk Reset
@echo off & setlocal enableextensions
title Reset AnyDesk
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)
chcp 437
call :stop_any
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf"
del /f "%APPDATA%\AnyDesk\service.conf"
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\"
rd /s /q "%temp%\thumbnails" 2>NUL
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails"
@vavavr00m
vavavr00m / RemoveWebroot.ps1
Created August 26, 2024 20:45 — forked from Nels2/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
@vavavr00m
vavavr00m / RemoveWebroot.ps1
Created August 26, 2024 20:19 — 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
# Webroot SecureAnywhere registry keys
$RegKeys = @(
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\WRUNINST",
"HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\WRUNINST",
"HKLM:\SOFTWARE\WOW6432Node\WRData",
"HKLM:\SOFTWARE\WOW6432Node\WRCore",
"HKLM:\SOFTWARE\WOW6432Node\WRMIDData",
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
@vavavr00m
vavavr00m / install-vsix.ps1
Created June 14, 2024 18:39 — forked from ScottHutchinson/install-vsix.ps1
PowerShell scripts for batch installing Visual Studio extensions
# Based on http://nuts4.net/post/automated-download-and-installation-of-visual-studio-extensions-via-powershell
param([String] $PackageName)
$ErrorActionPreference = "Stop"
$baseProtocol = "https:"
$baseHostName = "marketplace.visualstudio.com"
$Uri = "$($baseProtocol)//$($baseHostName)/items?itemName=$($PackageName)"
@vavavr00m
vavavr00m / Converge-F670L.md
Created May 2, 2024 06:09 — forked from marfillaster/Converge-F670L.md
Converge F670L Bridge mode
  1. Go to Network - WAN - WAN Connection WAN Connection
  2. Right click Type Route dropdown select and click "Inspect" in the context menu.
    In console, run the code below:
    document.getElementById('Frm_mode').options[document.getElementById('Frm_mode').options.selectedIndex].setAttribute('value', 'BRIDGE');
    Change_mode();
    
    output2
  3. Input New Connection Name. Example: Bridge. Click Create.