import contextlib
import sys
def your_task():
print("The test !")
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
################################ TRANSLATE INFO ############################## | |
# 中英对照翻译。 | |
# 使用DEEPL翻译+人工校验使大多数句子通畅、可以理解。 | |
# 基于kvrocks 2.2.0版本默认配置文件。 | |
# 实际配置参数部分有略微修改,请勿直接复制使用。 | |
################################ GENERAL ##################################### | |
# By default kvrocks listens for connections from localhost interface. It is possible to listen to just one or multiple interfaces using the "bind" configuration directive, followed by one or more IP addresses. | |
# 默认情况下,kvrocks监听来自localhost接口的连接。可以使用 "bind "配置指令来监听一个或多个接口,后面加上一个或多个IP地址。 |
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
import os | |
import re | |
import time | |
import subprocess | |
from win32file import CreateFile, SetFileTime, GetFileTime, CloseHandle | |
from win32file import GENERIC_READ, GENERIC_WRITE, OPEN_EXISTING | |
from pywintypes import Time # pip install pywin32 | |
from pipeit import * | |
# config for chinese |
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
const fs = require('fs'); | |
let data = fs.readFileSync('IRONCLAD.autosave.json', 'utf8'); | |
const out = []; | |
for (let i = 0; i < data.length; i++) { | |
const key = 'key'; | |
out.push(data.charCodeAt(i) ^ key.charCodeAt(i % key.length)); | |
} |
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
from functools import partial | |
from typing import Callable | |
__all__ = ( | |
'PIPE', | |
'END' | |
) | |
class _pipe_end: | |
... |