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
| #!/usr/bin/python3 | |
| import configparser | |
| import pyalpm | |
| def get_repo_list(): | |
| c = configparser.ConfigParser(strict=False, allow_no_value=True) | |
| c.read('/etc/pacman.conf') |
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
| // ==UserScript== | |
| // @name Moegirl 原图简洁替换器 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description 将萌娘百科图片中的缩略图链接简洁替换为原图链接(img.src) | |
| // @match https://zh.moegirl.org.cn/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { |
OlderNewer