Skip to content

Instantly share code, notes, and snippets.

View Omair-Waheed's full-sized avatar

Omair Waheed Omair-Waheed

View GitHub Profile
@Omair-Waheed
Omair-Waheed / firefox-pdf-dark-mode.txt
Last active September 12, 2025 05:13
Dark Mode for PDFs on Firefox
From: https://stackoverflow.com/a/74557483
Copying to keep track.
This is how to make the full page dark
Tutorial
Add a new Bookmark
Copy the following snippet:
javascript:(function(){document.body.parentElement.style = 'filter: grayscale(1) invert(1)';})()
Paste it into the bookmark's address
@Omair-Waheed
Omair-Waheed / gist:c3f6ff399f6207da3a1d4aed9116eecb
Created June 1, 2025 18:49
My autounattend.xml for a Windows 11 installation.
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<!-- Copy the link below if you'd like to customize your own. -->
<!-- https://schneegans.de/windows/unattend-generator/?LanguageMode=Unattended&UILanguage=en-US&Locale=en-US&Keyboard=00000409&GeoLocation=39&ProcessorArchitecture=amd64&ComputerNameMode=Random&CompactOsMode=Never&TimeZoneMode=Explicit&TimeZone=Pacific+Standard+Time&PartitionMode=Interactive&DiskAssertionMode=Skip&WindowsEditionMode=Generic&WindowsEdition=pro&InstallFromMode=Index&InstallFromIndex=6&UserAccountMode=InteractiveLocal&PasswordExpirationMode=Unlimited&LockoutMode=Default&HideFiles=None&ShowFileExtensions=true&ClassicContextMenu=true&LaunchToThisPC=true&ShowEndTask=true&TaskbarSearch=Icon&TaskbarIconsMode=Empty&DisableWidgets=true&LeftTaskbar=true&HideTaskViewButton=true&ShowAllTrayIcons=true&DisableBingResults=true&StartTilesMode=Empty&StartPinsMode=Empty&DisableWindowsUpdate=true&DisableSac=true&DisableSmartScreen=tr