Skip to content

Instantly share code, notes, and snippets.

View Anemone95's full-sized avatar

WenyuanXu Anemone95

View GitHub Profile
@Anemone95
Anemone95 / commandrunner.py
Created March 2, 2020 08:19
Run command on python
#!/usr/bin/env python3
"""
:Author: Anemone Xu
:Email: anemone95@qq.com
:copyright: (c) 2019 by Anemone Xu.
:license: Apache 2.0, see LICENSE for more details.
"""
import threading
import logging
@Anemone95
Anemone95 / OmegaRules_Auto_Switch.sorl
Created August 10, 2019 08:41
OmegaRules_Auto_Switch
[SwitchyOmega Conditions]
; Require: SwitchyOmega >= 2.3.2
; Date: 2019/8/10
; Usage: https://github.com/FelisCatus/SwitchyOmega/wiki/RuleListUsage
*.ea.com
*.twitter.com
*.evozi.com
*.sci-hub.tw
*.f-droid.org
@Anemone95
Anemone95 / waitForKeyElements.js
Last active August 25, 2021 10:43
waitForKeyElements for Greasemonkey
/*--- waitForKeyElements(): A utility function, for Greasemonkey scripts,
that detects and handles AJAXed content.
Usage example:
// @run-at document-start
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// ==/UserScript==
0xF2A4B45A07213e7Cb477c46753b93De6270d9301