Run:
ffmpeg -hide_banner -h encoder=libfdk_aac
| rem --------------------------------------------------------------------------- | |
| rem MY ULTIMATE WINDOWS 11 CUSTOMIZATION SCRIPT | |
| rem --------------------------------------------------------------------------- | |
| rem Tested on Windows 11 IoT Enterprise LTSC 24H2 Build 26100.2033 | |
| rem Most of these hacks require signing out and in again. | |
| rem ___ | |
| rem Explanation of registry flags: | |
| rem /f = Overwrite | |
| rem /d = Assigns the specified data to the registry value. |
| import csv | |
| import html | |
| def csv_to_html_bookmarks(csv_file_path, html_file_path): | |
| header = '''<!DOCTYPE NETSCAPE-Bookmark-file-1> | |
| <!-- This is an automatically generated file. | |
| It will be read and overwritten. | |
| DO NOT EDIT! --> | |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> | |
| <TITLE>Bookmarks</TITLE> |
<%* function uuidv4() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { const r = Math.random() * 16 | 0; const v = c === 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); }); }
const uuid = uuidv4();
| ffprobe -loglevel error -select_streams s -show_entries stream=codec_name,index:stream_tags=language -of csv=p=0 %input% |
| # | |
| # .SYNOPSIS | |
| # This script blocks multiple programs by adding them to the Windows Firewall both as inbound and outbound rules. | |
| # It also checks if a rule is already made. If it exists it will remove it and replace it with the new. | |
| # .NOTES | |
| # 1. List of the programs you want to block in Windows Firewall in $programs. | |
| # 2. Remember quotation marks and a comma at the last program in the list. | |
| # 3. You can change the rule names by changing ruleNameInbound and ruleNameOutbound. |
| from bs4 import BeautifulSoup | |
| soup = BeautifulSoup(open("C:\\path\\to\\your\\html\\file.html", encoding="utf8"), "html.parser") | |
| print(soup.find_all("div", class_="someclass")) |