Skip to content

Instantly share code, notes, and snippets.

# 要添加一个新单元,输入 '# %%'
# 要添加一个新的标记单元,输入 '# %% [markdown]'
# %%
with open('1.txt','r') as f:
x=f.read()
# x
# %%
youth:
- username: '' # your phone number
password: '' # your password
org_id: '172442' # your organization id (default 172442)
message_url: '' #When the study is over, requests.get(message_url % message) to send message.If you don't konw what it is,leave it blank.
send_message_org_id: '172442' #you can change this to change the org_id in message.(default 172442,blank means same as org_id)
email: ""
Mailer:
connect: ""
port: 25
import logging
logging.basicConfig(
level=logging.INFO,
format='%(asctime)s [%(levelname)s] %(message)s',
datefmt='%Y-%m-%d T %H:%M:%S')
logging.info('hi')
import os
import logging
# Log输出,这里提供了自定义logging输出的机会,只需要创建一个logging.ini并且写入配置文件即可自定义输出
file_path = os.path.dirname(os.path.realpath(__file__)) + "/config/logging.ini"
if os.path.exists(file_path):
import logging.config
logging.config.fileConfig(file_path)
log = logging.getLogger("AutoMihoyoBBS")
#! /usr/bin/python3
#
import os
os.chdir(os.path.expanduser('~/.cxoffice/'))
dirs=os.listdir()
for i in dirs:
p=f"{i}/.eval"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
payload:
# 违法网站
# 反华网站
- DOMAIN-KEYWORD,zhuichaguoji
- DOMAIN-KEYWORD,falundafa
- DOMAIN-KEYWORD,chengmingmag
- DOMAIN-KEYWORD,wujieliulan
- DOMAIN-KEYWORD,rfa
- DOMAIN-KEYWORD,open
- DOMAIN-KEYWORD,ifjc
payload:
- '162.105.0.0/16'
- '202.112.7.0/24'
- '202.112.8.0/24'
- '222.29.0.0/17'
- '222.29.128.0/19'
- '115.27.0.0/16'
- '202.112.176.1/32'
- '202.112.176.2/31'
- '202.112.176.4/30'
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
"ImportOK"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
"OldTaskbar"=dword:00000001
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_TaskbarPosition"=dword:00000003
[HKEY_CURRENT_USER\Software\ExplorerPatcher]
;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_MMTaskbarPosition"=dword:00000003
@ouyen
ouyen / .vimrc
Created September 5, 2022 15:46
" -------my config---------------
" 打开高亮
syntax on
" 打开行号
set number
" 光标所在行高亮
set cursorline
" 在底部显示键入的指令
set showcmd
" 命令模式用 Tab 自动补全