This file contains 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
api.map('gt', 'T'); | |
api.unmapAllExcept(['E','R','T'], /mail.google.com|gmail.com|twitter.com|youtube.com/); | |
api.unmapAllExcept([], /tldraw.com|tradingview.com/); | |
api.Front.registerInlineQuery({ | |
url: function(q) { | |
return `http://dict.youdao.com/w/eng/${q}/#keyfrom=dict2.index`; | |
}, | |
parseResult: function(res) { | |
var parser = new DOMParser(); | |
var doc = parser.parseFromString(res.text, "text/html"); |
This file contains 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 time | |
import zlib | |
from threading import Lock, Thread | |
from typing import ( | |
Literal, | |
Optional, | |
Protocol, | |
Sequence, | |
Type, | |
TypeAlias, |
OlderNewer