learn java: https://gist.github.com/LetMeFly666/e73a48a9e7dbf0b24d6bf329ecd1e58a
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
| # ǿ��Ҫ�����ԱȨ�� | |
| if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)) { | |
| Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs | |
| exit | |
| } | |
| # ƥ����� vscodevscode �� LegacyGeneric ����ƾ�� | |
| $matchKeyword = "vscodevscode" | |
| try { |
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
| ''' | |
| 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 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
| #!/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 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
| /////////////////////////////////////////////////// | |
| // 程序名称:黑神话 孔明棋 | |
| // 编译环境:MinGW, EasyX_20200315(beta) | |
| // 作 者:luoyh <2864292458@qq.com> | |
| // 公 众 号:C语言研究 | |
| // 版 本 号:Version 1.0.0 | |
| // 最后修改:2024-11-18 | |
| // Modified By: LetMeFly.xyz | |
| // |
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
| ''' | |
| 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 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 | |
| def is_text_file(filepath): | |
| try: | |
| with open(filepath, 'r') as f: | |
| f.read() | |
| return True | |
| except: | |
| return False |
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
| ''' | |
| 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 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 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) |
NewerOlder