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 xuexi.cn study automatically | |
| // @namespace https://github.com/zklhp | |
| // @icon https://www.xuexi.cn/favicon.ico | |
| // @version 1.0.4 | |
| // @description With this, you can view articles and videos automatically on xuexi.cn | |
| // @author Chris Zheng <https://chriszheng.science/> | |
| // @grant unsafeWindow | |
| // @match *://*.xuexi.cn/* | |
| // ==/UserScript== |
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
| <?php | |
| error_reporting(1); | |
| $target = __DIR__ . '/../website.com'; // 生产环境web目录 | |
| $token = '您在coding填写的hook令牌'; | |
| $wwwUser = 'apache'; | |
| $wwwGroup = 'apache'; | |
| $json = json_decode(file_get_contents('php://input'), true); |