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
| 'use strict'; | |
| // Short Job First (SJF) 短进程优先调度算法(非抢占式) | |
| let processes = [ | |
| ['P1', 10, 0], | |
| ['P2', 1, 1], | |
| ['P3', 5, 2], | |
| ['P4', 1, 3], | |
| ['P5', 2, 4] | |
| ], // [进程名,运行时间,到达输入井时间(从0ms开始)] | |
| readyQueue = [], // 就绪队列 |
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 U校园增加时长(修复必修弹窗) | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1.2 | |
| // @description 生命短暂而美好,没时间纠结,没时间计较 | |
| // @author handsometaoa | |
| // @match https://ucontent.unipus.cn/_pc_default/pc.html?cid=* | |
| // @grant none | |
| // @license GPL-3.0 | |
| // @compatible chrome |
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
| Working |
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
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: os-config | |
| # Required-Start: $local_fs $network $named $remote_fs | |
| # Required-Stop: | |
| # Should-Stop: | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: config of os-init job | |
| # Description: run the config phase without cloud-init |
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
| <video src="https://storage.xbottle.top/v/fujiwarachika.mp4"></video> |
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
| 2333333 | |
| 烤猫猫~ |
NewerOlder