There is always a problem that has been bothering me: the articles
downloaded from Arxiv always have
unreadable names (e.g., 1210.2368v3).
Therefore, I would like to automatically rename the articles downloaded
from arXiv and move them to a specified folder instead of the system's
default download folder in an automated manner.
Tampermonkey
Search Tampermonkey in Microsoft
Edge Extensions, and downloand it.
If you prefer Chrome or Firefox, you may also find it in their
extensions stores.
Open tampermonkey and add a script as follows:
from flask import Flask, request, jsonify import os import shutil import time from flask_cors import CORS
app = Flask(__name__) CORS(app) # 启用CORS
# 配置参数 EDGE_DOWNLOAD_DIR = "C:/Users//Downloads"#Your edge download direction TARGET_DIR = "D:/MyDrive"#the direction you want to move the file to os.makedirs(TARGET_DIR, exist_ok=True)
# 添加测试路由 @app.route('/test', methods=['GET']) deftest_route(): print("测试路由被访问!") return"Hello from Flask!"
if __name__ == '__main__': app.run(host='0.0.0.0', port=5000, debug=True)
Hands-on operation
You have to run the python script and Tampermonkey at the same time,
so that you can implement the functions described in the introduction.
If the python script is named by your_script.py, create a
run_script.bat file in the same direction:
1 2
@echo off python %~dp0\your_script.py %*
Add run.bat to the PATH of your computer. Then, when you want to
download papers from arXiv, open cmd and type
run_script.
Here is some targets which I want to acomplish in recent
research:
Orbifold Fundamental
Group Of 2-Orbifold
Orbifold is a natural generalization of manifold. One can define
orbifold fundamental group for an orbifold, as we do for a
manifold.
Though it has been almost half a century since Thurston gave this
conception, no one gives a total description of the fundamental groups
for all 2-orbifolds.
I believe I can calculate it in recent days.
Hurewize
Theorem for Orbifold Fundamental Group and Weighted Homology
The motivation for me to calculate the orbifold fundamental groups
for all 2-orbifolds, is that I want to prove there exists Hurewize
isomorphism between orbifold fundamental group and the weighted homology
group.
There are many attempts to build a homology theory for orbifolds, which
can reflect the information about singular points of orbifolds. Weight
homology is one of them. Try to build some connections with classicial
conceptions will show that weight homology is a suitable tool to study
orbifolds.
Which
Cohomology Element Can Be Realized as Euler Class of Some Vector
Bundle
The KO-groups and cohomology groups of toric manifolds are clear. I
want to figure out which cohomology element of cohomology element can be
realized as Euler class.
Build A Class of
Non-positive Curvature Spaces
I am not sure whether I can figure out this. But I think this is an
interisting topic.