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
| (async () => { | |
| while (true) { | |
| let el = document.querySelector('button[data-title-no-tooltip="Повторить"]'); | |
| if (el) { | |
| let evt = new Event("click"); | |
| el.dispatchEvent(evt); | |
| } else { | |
| await new Promise(resolve => setTimeout(resolve, 2000)); | |
| } |
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
| git clone https://github.com/xelerance/xl2tpd.git | |
| cd xl2tpd/ | |
| make | |
| sudo make install | |
| cd ../ | |
| wget https://download.strongswan.org/strongswan-5.7.0dr1.tar.bz2 | |
| tar xvf strongswan-5.7.0dr1.tar.bz2 |
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
| function addXMLRequestCallback(callback) { | |
| var oldSend, i; | |
| if (XMLHttpRequest.callbacks) { | |
| XMLHttpRequest.callbacks.push(callback); | |
| } else { | |
| XMLHttpRequest.callbacks = [callback]; | |
| oldSend = XMLHttpRequest.prototype.send; |
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
| #!/usr/bin/env bash | |
| link=$(zenity --entry --text 'Please enter link:') || exit 0 | |
| wget -m -np -c -R "index.html*" "$link" |
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
| /* | |
| ============= | |
| What is this? | |
| ============= | |
| This code, when invoked, will: | |
| - Reveal all hidden fields, | |
| - Unlock all disabled fields, | |
| - Convert all option, radio, and checkbox fields to editable text, |
NewerOlder