Skip to content

Instantly share code, notes, and snippets.

Working from home

icedterminal icedterminal

Working from home
View GitHub Profile
icedterminal / EdgeLockdown_SYSTEM.ps1
Last active Mar 24, 2021
Prevent installing the new Edge on a System and User level.
View EdgeLockdown_SYSTEM.ps1
# For the annoyed consumer. Prevent Windows from installing the "new" Edge.
# This is for the SYSTEM installed Edge (Program Files).
# Edge can still be installed per-user (AppData). See the USER script.
# While this script is clearly safe, Windows may block this file. You will need to unblock it if that's the case.
# Additionally, PowerShell blocks scripts for safety. Run the command: set-executionpolicy unrestricted
# You can revert this change with the command: set-executionpolicy restricted
icedterminal / SearchRebuild.ps1
Last active Mar 22, 2021
Search Icon Cache / Thumbnail Rebuild
View SearchRebuild.ps1
# This script will run a quick purge of search cache and settings, as well icon and thumbnail cache on your computer.
# After completion it will reboot.
# If after reboot, app icons in the Search from Start are broken (grey/generic), reboot once more. This will correct it.
# This checks if PowerShell is admin role. If not an admin, consent is prompted before the rest of the script is ran.
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
# End File Explorer so system icon cache can be deleted.
taskkill /f /im explorer.exe
View teredo.reg
Windows Registry Editor Version 5.00
icedterminal /
Last active Oct 11, 2020
Hide VM status in guest OS (VMWare)

Hide VM Identification in VMWare (Stealthy)

Tested using WorkStation Pro 16.x, Windows host and guest in UEFI mode, using an Intel CPU.

  1. Create a Windows 10 VM.
  2. Edit VM settings Processor section. Enable (tick) these:
    • Virtualize Intel VT-x/AMD-V
    • Virtualize CPU Performance Counters
    • Virtualize IOMMU
  3. Install Windows 10 in VM.
View 0.txt
0x33CF1 Form: View/Configure CPU Lock Options, FormId: 0x2734 {01 86 34 27 24 07}
0x33CF7 One Of: CFG Lock, VarStoreInfo (VarOffset/VarName): 0x502, VarStore: 0x1, QuestionId: 0x254, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 C7 08 C8 08 54 02 01 00 02 05 10 10 00 01 00}
0x33D08 One Of Option: Disabled, Value (8 bit): 0x0 {09 07 04 00 00 00 00}
0x33D0F One Of Option: Enabled, Value (8 bit): 0x1 (default) {09 07 03 00 30 00 01}
0x33D16 End One Of {29 02}
0x33D18 One Of: Overclocking Lock, VarStoreInfo (VarOffset/VarName): 0x5B1, VarStore: 0x1, QuestionId: 0x255, Size: 1, Min: 0x0, Max 0x1, Step: 0x0 {05 91 C3 08 C4 08 55 02 01 00 B1 05 10 10 00 01 00}
0x33D29 One Of Option: Disabled, Value (8 bit): 0x0 (default) {09 07 04 00 30 00 00}
0x33D30 One Of Option: Enabled, Value (8 bit): 0x1 {09 07 03 00 00 00 01}
0x33D37 End One Of {29 02}
0x33D39 End Form {29 02}
icedterminal / entry.txt
Created Feb 25, 2020
Custom block filters. Add these to ad/content blocking extension.
View entry.txt
Video Sources that autoplay
View uwpcommands.ps1
# You've already noticed 10 comes preloaded with apps you won't use or don't need. Most can be removed safely.
# Others should be left alone! There are also other useful commands found at the bottom of this page.
# To uninstall pre-installed Windows 10 UWP apps, you can enter the commands below in Powershell as Admin.
# I have excluded the command to uninstall Snip and Sketch.
# In a future build, it will be your only option as the win32 based Snipping Tool will be removed.
# These apps are safe to remove:
# If you want to remove Zune Video and Music, use Zune. Otherwise, specify which one you want to remove.
get-appxpackage -allusers *zune* | remove-appxpackage -verbose
icedterminal / overrides.css
Last active Mar 6, 2020
css overrides for wowhead
View overrides.css
/* */
/* */
.sidebar-wrapper {display:none !important;}
.sidebar {display:none !important;}
.blocks {display:none !important;}
.element-highlight-dialog {display:none !important;}
.element-highlight-highlighter {display:none !important;}
div#page-content {margin:0;padding:0;}
.news-recent-content {display:none !important;}
icedterminal /
Last active Nov 10, 2020
Helpful macOS commands
# Mount EFI
sudo diskutil mount EFI
# Rebuild Kextcache
sudo kextcache -i /
# Disable Gatekeeper. Allow apps from anywhere, unsigned
sudo spctl --master-disable
View elvui_threebar.lua
-- With a new installation, DO NOT setup yet. Just click X on the installation screen.
-- /ec > Import into ElvUI under Profile section.
-- /reload > Again, DO NOT setup yet. Just click X on the installation screen.
-- /ec > Under Profiles, choose your character name.
-- /reload > Just click X on the installation screen.
-- /ec > Under profiles, COPY from ICEDTERMINAL. Close settings.
-- /reload
-- Now go through the install. If it doesn't show, /ec > Install at bottom. ONLY click 'Setup cvars', 'Setup chat' and 'Use Class Colors'.
-- This ensures the imported profile is untouched by any specific class variables.