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
# benchmark CPU | |
7z b | |
# fill RAM | |
stress -m 1 --vm-bytes 4G --vm-keep | |
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
https://unix.stackexchange.com/questions/581058/how-can-i-fake-the-amount-of-installed-ram-for-a-specific-program-in-linux | |
su | |
cp /proc/meminfo . | |
sed -Ei 's,^MemTotal: [0-9]+ kB,MemTotal: 8839012 kB,' meminfo # replace 8839012 with an amount of RAM you want to pretend you have | |
free -m # check how much RAM you have now | |
total used free shared buff/cache available | |
Mem: 7655 1586 3770 200 2298 5373 |
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
# using KONSOLE | |
# to get key code | |
showkey -a | |
Konsole > Settings > Edit Current Profile... > Keyboard > Edit... | |
# BASH | |
Backspace-Ctrl \x7f | |
Backspace+Ctrl \E\b |
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
# install gpu driver | |
# install | |
flatpak install flathub org.vinegarhq.Vinegar | |
flatpak install flathub org.vinegarhq.Sober | |
# gamepad & touch permission | |
kate ~/.var/app/org.vinegarhq.Sober/config/sober/config.json | |
"allow_gamepad_permission": true, | |
"enable_gamemode": true, |
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
ASUS VG249 23.8" IPS OSD | |
brightness 15 | |
contrast 82 | |
saturation 50 | |
color temp: warm | |
skin tone: natural | |
# Radeon | |
brightness 42 | |
contrast 82 |
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
# server config location | |
C:\ProgramData\ssh\sshd_config | |
# client config location | |
"C:\Users\$env:USERNAME\.ssh\config" | |
-------------------------------- | |
Copy the client's public key into the server's authorized_keys file. | |
Disable the last AuthorizedKeysFile line like the below example. |
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
# SSD max temperature heat sink test (NAND, Controller) | |
# Thinkbook 2 in 1 G4 IML | |
# WD SN740 1TB 2242 | |
no hs : 71 °C, 92 °C | |
hs+pad : 54 °C, 80 °C | |
# Samsung 990 Evo Plus 1TB 2280 | |
no hs : 57 °C, 74 °C | |
hs+paste : 56 °C, 62 °C |
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
<# | |
https://unix.stackexchange.com/questions/51804/how-can-i-install-a-new-keyboard-layout-in-kde-4 | |
#> | |
Copy-Item -Path /usr/share/X11/xkb/rules/evdev.xml -Destination /usr/share/X11/xkb/rules/evdev.xml.OLD | |
Copy-Item -Path /usr/share/X11/xkb/rules/evdev.lst -Destination /usr/share/X11/xkb/rules/evdev.lst.OLD | |
Copy-Item -Path /usr/share/X11/xkb/symbols/us -Destination /usr/share/X11/xkb/symbols/us.OLD |
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
MyRepublic | |
FiberHome HG6145D2 | |
http://192.168.1.1 | |
user: admin | |
pswd: %0|F?H@f!berhO3e | |
user: user | |
pswd: user1234 |
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
<# | |
https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022 | |
https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022#download-the-visual-studio-bootstrapper-to-create-the-layout | |
https://learn.microsoft.com/en-us/visualstudio/install/workload-component-id-vs-enterprise?view=vs-2022 | |
#> | |
New-Item vs2022layout -Type Directory | |
Set-Location vs2022layout | |
Invoke-WebRequest https://aka.ms/vs/17/release/vs_enterprise.exe |
NewerOlder