Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

icedterminal icedterminal

🏠
Working from home
View GitHub Profile
@icedterminal
icedterminal / Teredo.reg
Created Jul 16, 2021
Forces Windows Teredo to always Qualified
View Teredo.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\TCPIP\v6Transition]
"Teredo_DefaultQualified"="Enabled"
"Teredo_RefreshRate"=dword:0000001e
"Teredo_ServerName"="win1910.ipv6.microsoft.com"
"Teredo_State"="Enterprise Client"
"Teredo_ClientPort"=dword:0000eb31
View adro_emu.md
View secure_boot_refind.md

This is an awesome boot loader. It can boot pretty much anything.

With the impending Secure Boot and TPM forced requirement for Windows 11, for convenience, this means you need to comply with other boot loaders.

The good news is there is no need to faff around with Shim and MOK for motherboards that allow you to manage your secure boot keys. Both of which are chained boot tools to make secure boot work. These manual instructions ONLY work for these types of boards. Commonly DIY or SI. For other motherboards (OEM computers), you will need to read the current documentation for that. Though given the nature of OEM computers (can't manage keys manually), this may prove difficult and/or require a Linux install.

In this example for these instructions, I am using my ASUS ROG Crosshair VII Hero. An AMD X470. In the case of ASUS Intel motherboards, like a Z490, the steps are the same.

View dxdiag_20h2.txt
------------------
System Information
------------------
Time of this report: 6/7/2021, 01:08:36
Machine name: 3700X
Machine Id: _
Operating System: Windows 10 Enterprise 64-bit (10.0, Build 19042) (19041.vb_release.191206-1406)
Language: English (Regional Setting: English)
System Manufacturer: ASUS
System Model: System Product Name
View dxdiag.txt
------------------
System Information
------------------
Time of this report: 6/3/2021, 00:08:49
Machine name: 3700X
Machine Id: _
Operating System: Windows 10 Enterprise 64-bit (10.0, Build 19043) (19041.vb_release.191206-1406)
Language: English (Regional Setting: English)
System Manufacturer: ASUS
System Model: System Product Name
View howto.md

TikTok Crop

Tiktok limits videos to a maximum of 60 seconds. This limit has been increased to 3 minutes but is not widely available as of yet. You can choose 60 seconds of your video from your linear editor and export that segment. Sort of like a highlight. You can upload that directly as TikTok will automatically display your video in letterbox format. Black bars top and bottom. But if you want it zoomed in like a portrait, drag and drop that video over the script and ffmpeg will do the rest. This means you do not have to create a new project in Premiere/Resolve/etc. or open another application to go through another UI just to get the aspect ratio and dimensions you want. Reduces your total input.

In the end, it does not matter if you use 1080p or 4k video. It will be on the platform conforming to TikTok video requirements (re-encoded). If you have no intention of cropping and want to rely on automatic letterbox display, I highly recommend you export your videos using 30 fps. As TikToks maximum bitrate d

View Microsoft.MicrosoftEdge_8wekyb3d8bbwe.txt
==================================================
Registry Key : HKCR\AppUserModelId\Microsoft.MicrosoftEdge_8wekyb3d8bbwe!MicrosoftEdge
Name : ExcludeFromTabbedSetsSettings
Type : REG_NONE
Data :
Key Modified Time : 12/07/2019 01:54:05
Data Length : 0
==================================================
==================================================
@icedterminal
icedterminal / RTK_ImpExp.ps1
Last active Apr 21, 2021
Realtek UWP Settings Export and Import
View RTK_ImpExp.ps1
# Backup and restore your Realtek Audio settings.
# v1.2
# === Learn More ===
# https://docs.icedterminal.me/windows/f.a.q./backup-and-restore-realtek-audio-settings
# DOWNLOADING THIS 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
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.
# DOWNLOADING THESE SCRIPTS:
# 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
# COPYING AND PASTING THESE SCRIPTS:
@icedterminal
icedterminal / SearchRebuild.ps1
Last active Apr 20, 2021
Search Icon Cache / Thumbnail Rebuild
View SearchRebuild.ps1
# Run a quick purge of search cache, as well icon and thumbnail cache on your computer.
# v1.2.0
# === Learn More ===
# https://docs.icedterminal.me/windows/f.a.q./icon-search-fix
# DOWNLOADING THIS 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