Skip to content

Instantly share code, notes, and snippets.

View EpicLPer's full-sized avatar
🍞
Protototototo

EpicLPer EpicLPer

🍞
Protototototo
View GitHub Profile
@broestls
broestls / Remove_VMwareTools.ps1
Last active July 22, 2025 16:01
Force removal of VMware Tools, Program Files, and Windows Services
# This script will manually rip out all VMware Tools registry entries and files for Windows 2008-2019
# Tested for 2019, 2016, and probably works on 2012 R2 after the 2016 fixes.
# This function pulls out the common ID used for most of the VMware registry entries along with the ID
# associated with the MSI for VMware Tools.
function Get-VMwareToolsInstallerID {
foreach ($item in $(Get-ChildItem Registry::HKEY_CLASSES_ROOT\Installer\Products)) {
If ($item.GetValue('ProductName') -eq 'VMware Tools') {
return @{
reg_id = $item.PSChildName;
@dmwyatt
dmwyatt / remove_chrome_other_search_engines.js
Last active May 2, 2024 02:48
[Remove chrome "other search engines"] #chrome
// 1. open chrome://settings/searchEngines
// 2. press Ctrl-Shift-J to open console
// 3. paste the following code
// note: you may have to run it multiple times to get rid of all of them
// If you have search engines you want to use add the text "(KEEP)" to their name
// and by name i mean the "Search engine" field when you add/edit one of the search engines
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(function (val) {
import json
import argparse
from time import sleep
def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument('input_file', metavar='INPUT')
parser.add_argument('output_file', metavar='OUTPUT')