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 asyncio | |
import time | |
import opencc | |
loop = asyncio.get_event_loop() | |
cc = opencc.OpenCC("t2s") | |
def timer(func): |
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/sh | |
# A shell script to elevate the framework user permission to root on jailbroken Kindle | |
# So the "cannot open framebuffer" exceptions might be gotten fixed. (For example on KOReader) | |
# Usage: | |
# 1. Use USB to plug your Kindle device to computer | |
# 2. Copy this file to kindle root directory | |
# 3. Enter ;log runme on search bar and wait for rebooting if no error happens |
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
""" | |
FilePath : /src/BiliLogin.py | |
Author : littleblackLB | |
Date : 2022-07-19 22:50:47 | |
LastEditTime : 2022-11-06 14:54:55 | |
""" | |
""" | |
Bili Account Login | |
Reference: https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/login/login_action/password.md | |
""" |
《信息学奥赛》上所做的笔记,不完整,没写完,~~就是不想写太费劲了,这点破东西就写了七八个小时。~~主要当复习或者当手册或者缓冲下,如果笔记有啥问题或者需求可以随时找我:)
更新地址(当然我知道是几乎不可能有人会看我这东西的**:(** ): https://gist.github.com/LittleBlacklb/824989964309e7f07adfe1de4a29b11c
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
#include <iostream> | |
using namespace std; | |
bool b = false; | |
bool modifyB2True() { | |
b = true; | |
return true; | |
} |