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
''' | |
Author: LetMeFly | |
Date: 2025-03-15 19:55:32 | |
LastEditors: LetMeFly.xyz | |
LastEditTime: 2025-03-15 23:02:48 | |
Description: 我的博客网站小爬虫 - https://github.com/LetMeFly666/LeetCode/issues/812 | |
Description: 主要通过HTML标签取解析 | |
Description: css中url并不解析,这不是浏览器模拟 | |
Description: 如果不是blog.letmefly.xyz而是^(?!blog\.letmefly\.xyz$)[^.]*\.letmefly\.xyz$,则只访问一次并且不再递归 | |
Description: 如果不是*.letmefly.xyz,则不访问(不知道它是否使用了缓存,别给我Ban了) |
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
#!/bin/bash | |
### | |
# @Author: LetMeFly | |
# @Date: 2025-03-03 22:17:18 | |
# @LastEditors: LetMeFly.xyz | |
# @LastEditTime: 2025-03-03 22:17:48 | |
### | |
# 配置部分 | |
MYSQL_USER="root" |
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
/////////////////////////////////////////////////// | |
// 程序名称:黑神话 孔明棋 | |
// 编译环境:MinGW, EasyX_20200315(beta) | |
// 作 者:luoyh <2864292458@qq.com> | |
// 公 众 号:C语言研究 | |
// 版 本 号:Version 1.0.0 | |
// 最后修改:2024-11-18 | |
// Modified By: LetMeFly.xyz | |
// |
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
''' | |
Author: LetMeFly | |
Date: 2024-10-17 17:28:54 | |
LastEditors: LetMeFly | |
LastEditTime: 2024-10-18 16:49:08 | |
''' | |
import ctypes | |
from ctypes import wintypes | |
import getpass |
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 os | |
def is_text_file(filepath): | |
try: | |
with open(filepath, 'r') as f: | |
f.read() | |
return True | |
except: | |
return False |
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
''' | |
Author: LetMeFly | |
Date: 2024-07-19 19:16:11 | |
LastEditors: LetMeFly | |
LastEditTime: 2024-07-19 20:42:51 | |
''' | |
from typing import List, Tuple, Optional | |
import random | |
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 pyautogui | |
import time | |
import time | |
from datetime import datetime, timedelta | |
def sleepTo(hour, minute): | |
# 设定目标时间为今天的1:23 | |
now = datetime.now() | |
target_time = now.replace(hour=hour, minute=minute, second=0, microsecond=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
''' | |
Author: LetMeFly | |
Date: 2024-06-21 10:01:04 | |
LastEditors: LetMeFly | |
LastEditTime: 2024-06-21 17:40:00 | |
''' | |
import os | |
import zipfile |
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 os | |
import time | |
toSleep = 9000 | |
time.sleep(toSleep) | |
os.system('RunDll32.exe user32.dll,LockWorkStation') |
NewerOlder