Sun Zhigang
Sun Zhigang
主要是统计当前用户($USER)在oj中的所有表现,比如判过几次题、通过率多少、杯具过多少等等。如果你是oj的学生用户,你会知道该统计什么的。 Mainly to count all the performance of the current user ($USER) in oj, such as the number of questions, the rate of passing, the number of cups, and so...
调用https://github.com/gorhill/PHP-FineDiff/ ,将clients/mod/assignment/type/onlinejudge/details.php中$task[stdout]和$task[output]进行色彩加亮的diff显示
If I have opened file foo.c and bar.c, I can use `v foo` and `v bar` to open them separately. The request is that `v foo bar` can open both...
## Description Set `overflow` from `hidden` to `auto`. If `auto-grow` and `max-rows` are used together, the scroll bar should not be hidden. ## Markup: ```vue ```
### Discussed in https://github.com/sunner/ChatALL/discussions/56 Originally posted by **t3dium** May 18, 2023 Why is the `--no-sandbox` flag being used? Chatall works fine with the sandbox.  That's the desktop file inside...
优秀作业推荐
教师在批改作业时,给优秀的作业打上一个标记。在作业截止时间之后,将所有优秀作业展示给其它同学。 # 设计 1. 在作业批改界面中增加一个ajax图标(心形、奖杯之类),点一下就设为优秀,再点就取消 2. 做一个版块,上面列出所有含优秀作业的作业名。点击作业名进入优秀作业展示页面 3. 展示页面应显示作者姓名,教师评语,分数,和下载 # 实现 1. 新建一个block参见:http://docs.moodle.org/dev/Blocks 2. block命名为:优秀作业展板(Honor Board) 3. 数据库中保存所有优秀作业的submission id 4. 在mod/assignment/lib.php中,修改mod_assignment_grading_form::add_grades_section(),增加一个静态form元素:优秀作业(honor it),用ajax调用block中的文件显示是否已经标为优秀作业。点击后还是用ajax调用block的文件进行设定。
Migrate moss from perl to php, so that it can cooperate with moodle better and faster