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
| The ESP32-S2 Mini (piece of shit) will flop between ttyACM0 and ttyACM1, so you can't use the web flasher. Hold down the 0 button, press the RST button, DO NOT RELEASE THE 0 BUTTON, and hit enter on the following command. | |
| esptool.py --chip esp32s2 --port /dev/ttyACM0 write_flash 0x0 /path/to/whatever.factory.bin | |
| If it fails, keep 0 held, RST again, and try again (or replace ACM0 with ACM1). |
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
| <mute-speakers.sh.desktop> | |
| ` | |
| [Desktop Entry] | |
| Exec=/path/to/mute-speakers.sh | |
| Icon=application-x-shellscript | |
| Name=mute-speakers.sh | |
| Type=Application | |
| X-KDE-AutostartScript=true | |
| ` | |
| <mute-speakers.sh> |
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
| You must rebuild kwin_wayland with gestures patched out! | |
| You must install fusuma (https://github.com/iberianpig/fusuma) *and* fusuma-plugin-sendkey (https://github.com/iberianpig/fusuma-plugin-sendkey)! | |
| FIRST FILE | |
| <~/.config/autostart/fusuma.desktop> | |
| ` | |
| [Desktop Entry] | |
| Type=Application | |
| Exec=fusuma.ruby4.0 -d | |
| Hidden=false |
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
| 1. enable the source repo && zypper ref | |
| 2. ensure build toolchain: | |
| zypper in osc rpm-build rpmdevtools gcc-c++ cmake ninja git libqt6-qtbase-devel libqt6-qtdeclarative-devel extra-cmake-modules | |
| 3. install source package | |
| zypper source-install -d kwin6 | |
| 4. set up ~/rpmbuild | |
| rpmdev-setuptree |
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
| [Unit] | |
| Description=Starts ydotoold service | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/ydotoold --socket-path=/tmp/.ydotool_socket --socket-perm=0666 | |
| Restart=always | |
| ExecReload=/usr/bin/kill -HUP $MAINPID | |
| KillMode=process | |
| TimeoutSec=180 |
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://gist.github.com/search?q=%s%20user%3AYOURUSERNAMEHERE&ref=searchresults |
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
| # Set BFQ for rotational HDDs | |
| ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" | |
| ## Set mq-deadline for SATA SSDs | |
| #ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" | |
| # Set none for SATA SSDs | |
| ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="none" | |
| # Set none for NVMe SSDs |
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
| include "/usr/share/nano/*.nanorc" | |
| set mouse | |
| set positionlog | |
| set softwrap | |
| set atblanks | |
| set indicator | |
| set linenumbers |
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
| twinkpad:/sys/devices/platform/thinkpad_acpi # cat /etc/systemd/system/tpled.service | |
| [Unit] | |
| Description=Custom LED Trigger Setup | |
| After=multi-user.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/root/bin/tpled.sh | |
| RemainAfterExit=yes |
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
| HP Proliant Common Slot PSU range | |
| Widely regarded as insanely high quality | |
| Of special note from the range: 1200W version DPS-1200FB | |
| P/N: 441830-001, 438202-001, 440785-001, HSTNS-PD11 | |
| 1200W on 230VAC input | |
| 900W on 120VAC input | |
| 12VDC 100A output |
NewerOlder