Skip to content

Instantly share code, notes, and snippets.

View theSoberSobber's full-sized avatar
🐢

theSoberSobber

🐢
View GitHub Profile
@ibLeDy
ibLeDy / HP Pavilion Gaming Laptop 15-ec1xxx.xml
Last active December 9, 2023 19:19
NBFC config for the HP Pavilion Gaming Laptop 15-ec1xxx
<?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>
@theSoberSobber
theSoberSobber / HP Pavilion Gaming Laptop 15-ec1xxx.xml
Created December 7, 2023 12:31 — forked from ibLeDy/HP Pavilion Gaming Laptop 15-ec1xxx.xml
NBFC config for the HP Pavilion Gaming Laptop 15-ec1xxx
<?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>
@theabbie
theabbie / RandomGraphGenerator.py
Created January 24, 2024 05:09
Random Graph Generator
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:
@theSoberSobber
theSoberSobber / profile.ps1
Last active May 31, 2024 17:23
Powershell Profile
# 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'