mirror of
https://github.com/ElliotKillick/windows-vs-linux-loader-architecture
synced 2026-06-08 10:57:32 +00:00
8f9257c1da
From June to now, most of my time on this project was spent writing "The Rise of Microsoft". Researching and writing that thing took an inordinate amount of time. Also, I took a break to work primarily on another unreleased project I have before switching back to this one. I am proud of what I got here though and I feel like it is all coming together. My plans for the whitepapers are already well drafted and I know they will make an impact. I have learned a ton from working on this project and it has definitely given me something to idly think about and work on in my spare time. Finishing "The Problem with How Windows Uses Threads" was something I thought I wanted done before this release, but oh well. The main README is at about 50K words now, plus all the other smaller documents and you are looking at about a small novel's worth of technical writing. And technical writing takes multiple times longer than typical story writing. Anyway, this project is exciting for me - people who I show it to also really like it - and I am even more excited about what is to come!
17 lines
1.1 KiB
PowerShell
Executable File
17 lines
1.1 KiB
PowerShell
Executable File
# Get registered COM components
|
|
# Each COM class is a component
|
|
#
|
|
# Run as administrator to ensure all results are collected.
|
|
# Make sure your PowerShell window is maximized when you run this command so entires are not split between lines even though the output is to a file (apparently isatty() does not exist on Windows?)
|
|
#
|
|
# PowerShell sucks, so clean up the output before commiting to Git repo:
|
|
# 1. dos2unix com-components.txt
|
|
# - UTF-16LE with BOM -> UTF-8 and CRLF -> LF
|
|
# 2. sed -i 's/[[:space:]]*$//' com-components.txt
|
|
# - Remove trailing spaces before each end of line
|
|
# - Believe it or not, PowerShell includes a box of whitespace the size of your PowerShell window in the output. As a result, file size grows in large linear increments based on window size.
|
|
# 3. Manually remove any extraneous newlines puts at the top and bottom of the output
|
|
|
|
# We use HKCR to include the system-wide and current user components
|
|
Get-ChildItem Registry::HKEY_CLASSES_ROOT\CLSID | Get-ItemProperty | Select-Object PsChildName, "(default)" | Sort-Object "(default)" | Out-File -FilePath "com-components.txt"
|