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
<!-- if there's no alternate pronunciation, play the TTS default --> | |
{{^alt_pronunciation_2}} | |
{{tts ru_RU voices=AwesomeTTS:sentence_ru_pf}} | |
{{/alt_pronunciation_2}} | |
<!-- if an alternate pronunciation is provided, then play it --> | |
{{#alt_pronunciation_2}} | |
{{alt_pronunciation_2}} | |
{{/alt_pronunciation_2}} |
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
~ # fan_control -? | |
*** Fan Cobtrol Help Message *** | |
fan_control b c: for NAS booting | |
fan_control 0 d : [auto: low/medium/high/max] open debug msg | |
fan_control 0 c : [auto: low/medium/high/max] close debug msg | |
fan_control -L [value] : set Lower (THYST) | |
fan_control -H [value] : set Upper(TOS) | |
fan_control -g 0 : get current temperature | |
fan_control -g 1 : get Lower temperature | |
fan_control -g 2 : get Upper temperature |
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 re | |
import requests | |
def get_wiktionary_russian_content(word): | |
url = "https://ru.wiktionary.org/w/api.php" | |
params = { | |
"action": "query", | |
"format": "json", | |
"titles": word, | |
"prop": "revisions", |
OlderNewer