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
| gesture swipe up 3 xdotool key alt+Tab | |
| gesture swipe down 3 xdotool key super+F11 | |
| gesture swipe left 3 xdotool key alt+Left | |
| gesture swipe right 3 xdotool key alt+Right | |
| gesture swipe left_down 3 xdotool key control+w | |
| gesture swipe right_down 3 xdotool key control+shift+t | |
| gesture swipe right 4 xdotool key shift+super+Left |
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
| #!/bin/bash | |
| rm -rf /tmp/smb-share | |
| echo '[+] Making SMB share directory' | |
| mkdir /tmp/smb-share | |
| echo '[+] SMB directory made at /tmp as smb-share' | |
| ls -l /tmp/smb-share | |
| echo '[+] Configuring permissions on SMB share created' | |
| chmod 0555 /tmp/smb-share | |
| chown -R nobody:nogroup /tmp/smb-share | |
| echo '[+] Permissions added!' |
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=Powertop tunings | |
| [Service] | |
| Type=exec | |
| ExecStart=/usr/bin/powertop --auto-tune | |
| RemainAfterExit=true | |
| [Install] | |
| WantedBy=multi-user.target |
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
| Section "InputClass" | |
| Identifier "devname" | |
| Driver "libinput" | |
| MatchIsPointer "on" | |
| MatchIsKeyboard "on" | |
| MatchIsTouchpad "on" | |
| MatchIsTouchscreen "on" | |
| Option "Tapping" "on" | |
| Option "ClickMethod" "clickfinger" | |
| Option "NaturalScrolling" "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
| Section "InputClass" | |
| Identifier "touchpad" | |
| Driver "synaptics" | |
| MatchIsTouchpad "on" | |
| Option "TapButton1" "1" | |
| Option "TapButton2" "3" | |
| Option "TapButton3" "2" | |
| Option "VertEdgeScroll" "on" | |
| Option "VertTwoFingerScroll" "on" | |
| Option "HorizEdgeScroll" "on" |
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
| # blacklist for pci runtime power management | |
| SUBSYSTEM=="pci", ATTR{vendor}=="0x1234", ATTR{device}=="0x1234", ATTR{power/control}="on", GOTO="pci_pm_end" | |
| SUBSYSTEM=="pci", ATTR{power/control}="auto" | |
| LABEL="pci_pm_end" |
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
| // See the polkit(8) man page for more information | |
| // about configuring polkit. | |
| // Allow udisks2 to mount devices without authentication | |
| // for users in the "wheel" group. | |
| polkit.addRule(function(action, subject) { | |
| if ((action.id == "org.freedesktop.udisks2.filesystem-mount-system" || | |
| action.id == "org.freedesktop.udisks2.filesystem-mount") && | |
| subject.isInGroup("wheel")) { | |
| return polkit.Result.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
| sudo mv /usr/bin/gnome-keyring-daemon /usr/bin/gnome-keyring-daemon-old | |
| sudo killall gnome-keyring-daemon |
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
| import re | |
| import sys | |
| import socket | |
| import telnetlib | |
| from hexdump import hexdump | |
| from struct import pack, unpack | |
| current_chunk = 0 | |
| current_memo_chunk = 0 |
NewerOlder