2018 年上海高考综合评价数据分析。数据来自阳光高考公示。
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Physics Test</title> | |
</head> | |
<body> | |
<svg id="main" width="800" height="800"></svg> | |
<script src="https://d3js.org/d3.v5.min.js"></script> | |
<script src="main.js"></script> | |
</body> |
https://gist.github.com/SkyZH/2597b532ad191036ae4a6dc785859e5b#file-deque_sqrt_vector-cpp
O(n) access, O(1) insert & remove
This file contains 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
#include <iostream> | |
#include <climits> | |
#include <cstring> | |
using namespace std; | |
template<typename T> | |
struct BST { | |
struct Node { | |
T x; |
This file contains 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
#include <iostream> | |
#include <queue> | |
using namespace std; | |
template<typename T> | |
struct BinomialHeap { | |
struct Node { | |
T x; | |
int order; |
This file contains 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
# 2019-01-29 21:44:41 | |
[General] | |
dns-server = 1.2.4.8, 114.114.114.114, 223.5.5.5, 8.8.8.8, system | |
ipv6 = true | |
skip-proxy = 127.0.0.1,192.168.0.0/16,10.0.0.0/8,172.16.0.0/12,100.64.0.0/10,17.0.0.0/8,localhost,*.local,169.254.0.0/16,224.0.0.0/4,240.0.0.0/4 | |
bypass-system = true | |
[Rule] |
We can't make this file beautiful and searchable because it's too large.
This file contains 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
time,hum,pm01,pm10,pm25,tc,pressure | |
1496055566.9861677,44.4780655859387,11.685786224350602,15.028218400689576,13.864547438152512,29.63095288049607, | |
1496059170.883296,48.802584171295166,11.749699074074075,14.9380787037037,13.80851851851852,29.29816748936971, | |
1496062774.7723284,49.04658399899801,12.923555068226118,16.577614522417157,15.315606725146198,28.989999961853027, | |
1496067441.328689,51.788095235377014,9.65302374293221,12.148919778310509,11.25103238924606,28.872821715218688, | |
1496071045.2175376,53.20250063896178,7.9643287037037025,10.032731481481477,9.283449074074074,28.628667157491048, | |
1496075042.9485977,54.61931124918388,8.610370370370369,10.613842592592594,9.854004629629632,28.40766700267791, | |
1496078646.8541663,56.04033413887023,8.788773148148149,10.723796296296292,10.073194444444443,28.132917173703497, | |
1496082250.7668355,56.885917924245184,7.483635477582846,9.139502923976606,8.550604288499024,27.993999977111816, | |
1496085854.6636848,57.2112507279714,7.639215399610135,9.46486842105263,8.80893762183236,27.8 |
This file contains 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
const data = require('./data.json'); | |
const reg = { | |
time: /星期(.*?)[ ]+第(.*?)节--第(.*?)节/, | |
header: /行课安排为第(.*?)-(.*?)周?,其中:/, | |
loc: /(.*?)\((.*?)-(.*?)周\)[ ]+(.*?)\((.*?)-(.*?)周\)/, | |
loc_unknown: /[ ]*(.*?)[ ]+(.*?)\((.*?)-(.*?)周\)/, | |
bi_week: /(单|双)周/ | |
}; | |
const fetch_data = { | |
header: ["week_start", "week_end"], |