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
| var optionsSupport = 'nha'; | |
| try { | |
| window.scroll({ | |
| get top () { | |
| optionsSupport = true; | |
| }, | |
| }); | |
| } catch (e) { | |
| optionsSupport = 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
| const queryString = Array.from(new FormData(formElement), e => e.map(encodeURIComponent).join('=')).join('&') |
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
| {"lastUpload":"2019-01-28T10:32:33.732Z","extensionVersion":"v3.2.4"} |
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 | |
| read TPdevice <<< $( xinput | sed -nre '/TouchPad/s/.*id=([0-9]*).*/\1/p' ) | |
| state=$( xinput list-props "$TPdevice" | grep "Device Enabled" | grep -o "[01]$" ) | |
| if [ "$state" -eq '1' ];then | |
| xinput --disable "$TPdevice" && notify-send -i emblem-nowrite "Touchpad" "Disabled" | |
| else | |
| xinput --enable "$TPdevice" && notify-send -i input-touchpad "Touchpad" "Enabled" | |
| fi |