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", |
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
<!-- 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
#!/usr/bin/env python3 | |
try: | |
# Python 2 | |
from urllib2 import urlopen | |
except ImportError: | |
from urllib.request import urlopen, Request | |
from lxml import etree | |
import re | |
from py_imessage import imessage |
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
SelEnd: | |
Select:End="-0.65" Mode="Set" RelativeTo="SelectionEnd" Start="0" | |
Silence:Use_Preset="User Preset:650ms" | |
SelectAll: | |
CursSelEnd: | |
Repeat:Count="5" |
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
SelectAll: | |
TruncateSilence:Action="Truncate Detected Silence" Compress="50" Independent="0" Minimum="0.5" Threshold="-20" Truncate="0.5" | |
Compressor:AttackTime="0.2" NoiseFloor="-40" Normalize="1" Ratio="2" ReleaseTime="1" Threshold="-12" UsePeak="0" |
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
Syncing failed: | |
Traceback (most recent call last): | |
File "aqt/sync.py", line 376, in _sync | |
File "aqt/sync.py", line 356, in _abortingSync | |
File "anki/sync.py", line 44, in sync | |
File "anki/sync.py", line 592, in meta | |
File "anki/sync.py", line 556, in req | |
File "anki/sync.py", line 441, in post | |
File "requests/sessions.py", line 572, in post | |
File "requests/sessions.py", line 510, in request |
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
<!-- /layouts/shortcodes/foldergallery.html --> | |
<style> | |
div.gallery { | |
display: flex; | |
flex-wrap: wrap; | |
} | |
div.gallery a { | |
flex-grow: 1; |
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
unsigned char LED_0F[] = | |
{// 0 1 2 3 4 5 6 7 8 9 A b C d E F - | |
0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90,0x8C,0xBF,0xC6,0xA1,0x86,0xFF,0xbf | |
}; | |
unsigned char LED[4]; //用于LED的4位显示缓存 | |
int SCLK = 2; | |
int RCLK = 1; | |
int DIO = 0; //这里定义了那三个脚 | |
void setup () | |
{ |
NewerOlder