I need to Generate this:
From this endpoint:
https://firebasestorage.googleapis.com/v0/b/neso-c53c4.appspot.com/o/PDFs%2FPPT%2Fcs003_6_p
| <?xml version="1.0"?> | |
| <FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <NotebookModel>HP Pavilion Gaming Laptop 15-ec1xxx</NotebookModel> | |
| <Author>bLeDy</Author> | |
| <EcPollInterval>1000</EcPollInterval> | |
| <ReadWriteWords>false</ReadWriteWords> | |
| <CriticalTemperature>68</CriticalTemperature> | |
| <FanConfigurations> | |
| <FanConfiguration> | |
| <ReadRegister>88</ReadRegister> |
I need to Generate this:
From this endpoint:
https://firebasestorage.googleapis.com/v0/b/neso-c53c4.appspot.com/o/PDFs%2FPPT%2Fcs003_6_p
| <?xml version="1.0"?> | |
| <FanControlConfigV2 xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <NotebookModel>HP Pavilion Gaming Laptop 15-ec1xxx</NotebookModel> | |
| <Author>bLeDy</Author> | |
| <EcPollInterval>1000</EcPollInterval> | |
| <ReadWriteWords>false</ReadWriteWords> | |
| <CriticalTemperature>68</CriticalTemperature> | |
| <FanConfigurations> | |
| <FanConfiguration> | |
| <ReadRegister>88</ReadRegister> |
| from random import * | |
| # Floyd Sampler | |
| def sampler(N, K): | |
| res = set() | |
| for i in range(N - K, N): | |
| j = randint(0, i) | |
| if j not in res: | |
| res.add(j) | |
| else: |
| # https://kevinlinxc.medium.com/how-hard-could-installing-autocomplete-for-powershell-be-4c8a2cbc69be | |
| # Update-Module PowerShellGet -Force | |
| # Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck | |
| Invoke-Expression (& 'C:\Users\hp\scoop\shims\starship.exe' init powershell --print-full-init | Out-String) | |
| Import-Module PSReadLine | |
| Import-Module -Name Terminal-Icons | |
| Set-PSReadLineOption -PredictionSource History | |
| Set-PsFzfOption -PSReadlineChordProvider 'Ctrl+f' -PSReadlineChordReverseHistory 'Ctrl+r' |