This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to enable RemoteFX on server | |
Run the following PowerShell commands, and reboot. | |
Set-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services' -Name 'ColorDepth' -Type DWORD -Value 5 | |
Set-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Terminal Services' -Name 'fEnableVirtualizedGraphics' -Type DWORD -Value 1 | |
Alternatively, you may change a few group policies using gpedit.msc: | |
Run gpedit.msc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download tiles. | |
Zoom 20 is adequate for tennis courts. Zoom 22 is ideal, with diminishing returns. | |
C:\Users\Smith\Desktop\dev\cs\QldGlobeApps | |
Convert tiles to geotiff | |
C:\Users\Smith\Desktop\dev\cs\QldGlobeApps | |
Run geotiff through geodeep | |
https://github.com/uav4geo/GeoDeep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install -e packages/markitdown[all] | |
pip install pyinstaller | |
create a bootstrap file: | |
markitdown-main\packages\markitdown\src\runme.py | |
content: | |
import markitdown.__main__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Visual Studio → Tools → Options → Text Editor → C# → Advanced | |
Set: | |
Run background code analysis for: Entire Solution | |
Show compiler errors and warnings for: Entire Solution | |
Click OK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Block UDP outbound ports 5004 and 9000 | |
* Webex will be forced to use TCP, and the system's TCP SOCKS proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.\iperf3.exe -s -p 6000 | |
//TCP | |
./iperf3.exe -c 127.0.0.1 -p 5001 -t 10 -P 10 --bidir | |
//UDP | |
./iperf3.exe --udp -c 127.0.0.1 -p 5001 -b 100K -l 1200 -t 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-WmiObject -Namespace "ROOT\ccm\ClientSDK" -Class CCM_Application | Select-Object Name, Publisher, SoftwareVersion, FullName, Revision, IsMachineTarget, InstallState | Sort-Object Name | |
Legacy applications might be: | |
Get-WmiObject -Namespace "ROOT\ccm\ClientSDK" -Class CCM_Program | |
Ideas: | |
https://www.powershellgallery.com/packages/SCClient/1.1/Content/SCClient.psm1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Force use of GPU: | |
https://knowledge.civilgeo.com/enabling-gpu-rendering-for-microsoft-remote-desktop/ | |
Increase from 30 to 60 FPS: | |
https://learn.microsoft.com/en-us/troubleshoot/windows-server/remote/frame-rate-limited-to-30-fps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//pcapng to pcap | |
cd "C:\Program Files\Wireshark" | |
editcap -F libpcap -T ether file.pcapng file.pcap |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There's a good post over at [brashear.me][1] which creates a btrfs partition stored as a file. The partition supports compression and can be used by ddrescue transparently. The blog post is reproduced below, should it ever become unavailable. | |
> As disk sizes explode, I've found myself having to mirror disks which | |
> I don't have enough storage for. My tool of choice is ddrescue. | |
> However, it doesn't support compression because it needs to be able to | |
> seek through the output as it rescues data. A solution I've found is | |
> to create a sparse file, format it btrfs, and mount it with the | |
> compression option. This allows ddrescue to operate normally, | |
> while giving me fast + decent compression. | |
> |
NewerOlder