code
stringlengths
1
1.05M
repo_name
stringlengths
6
83
path
stringlengths
3
242
language
stringclasses
222 values
license
stringclasses
20 values
size
int64
1
1.05M
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/handshake/sm/src/hs_sm.c
C
unknown
8,586
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/alpn.h
C
unknown
1,019
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/cipher_suite.h
C
unknown
6,459
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/custom_extensions.h
C
unknown
6,119
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/hitls_cert_reg.h
C
unknown
14,277
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/hitls_crypt_reg.h
C
unknown
20,718
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/indicator.h
C
unknown
1,904
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/security.h
C
unknown
1,283
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/session.h
C
unknown
2,121
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/session_mgr.h
C
unknown
6,194
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/sni.h
C
unknown
863
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/tls.h
C
unknown
15,958
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/tls_binlog_id.h
C
unknown
41,126
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/include/tls_config.h
C
unknown
11,327
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/include/rec.h
C
unknown
10,296
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_alert.c
C
unknown
1,667
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_alert.h
C
unknown
1,239
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_anti_replay.c
C
unknown
2,161
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_anti_replay.h
C
unknown
2,612
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_buf.c
C
unknown
5,374
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_buf.h
C
unknown
1,740
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_conn.c
C
unknown
16,301
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_conn.h
C
unknown
9,038
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto.c
C
unknown
9,838
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto.h
C
unknown
2,452
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto_aead.c
C
unknown
12,947
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto_aead.h
C
unknown
744
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto_cbc.c
C
unknown
24,385
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_crypto_cbc.h
C
unknown
742
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_header.h
C
unknown
1,825
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_read.c
C
unknown
40,459
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_read.h
C
unknown
2,446
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_retransmit.c
C
unknown
4,707
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_unprocessed_msg.c
C
unknown
4,766
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_unprocessed_msg.h
C
unknown
2,153
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_write.c
C
unknown
17,749
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/rec_write.h
C
unknown
2,025
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/record.c
C
unknown
25,244
/* * This file is part of the openHiTLS project. * * openHiTLS is licensed under the Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ON AN...
2301_79861745/bench_create
tls/record/src/record.h
C
unknown
4,034
#!/bin/bash # 定义下载地址和文件名 DOWNLOAD_URL="https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.13-linux_x64.tar.gz&objectKey=6719f1eb3af6947e3c6af327" FILE_NAME="Cangjie-0.53.13-linux_x64.tar.gz" # 检查 cangjie 工具链是否已安装 echo "确保 cangjie 工具链已安装..." if ! command -v cjc -v &> /de...
2301_80220344/Cangjie-Examples_4263
FTP/run-ftp.sh
Shell
apache-2.0
1,967
<!DOCTYPE html> <html lang="cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div>Hello Cangjie!</div> <p></p> <script> let xhr = new XMLHttpRequest() xhr.open("POST", "/Hello", true) ...
2301_80220344/Cangjie-Examples_4263
HTTPServer/index.html
HTML
apache-2.0
687
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>我的购物车</title> <link rel="icon" href="./img/favicon.ico"> <!-- 引入样式 --> <link rel="stylesheet" ty...
2301_80339408/order
cart.html
HTML
unknown
12,245
@charset "utf-8"; /* CSS Document */ body{ margin:0px; padding:0px; font-size:12px; line-height:20px; color:#333; } ul,li,ol,h1,dl,dd{ list-style:none; margin:0px; padding:0px; } a{ color:#333333; text-decoration: none; } a:hover{ color:#333333; text...
2301_80339408/order
css/global.css
CSS
unknown
6,206
.row-405 { width: 404px; } .row-225 { width: 225px; } .row-165 { width: 165px; } .row-330 { width: 330px; } .row-220 { width: 220px; } .row-218 { width: 218px; } a { color: #666; } img { -webkit-backface-visibility: hidden; -webkit-transition: opacity 0.3s ease-out; -moz-t...
2301_80339408/order
css/index.css
CSS
unknown
116,482
@charset "utf-8"; /* CSS Document */ /*首页样式*/ /*右侧随鼠标滚动的广告图片*/ .right{ top:50px; right:30px; position:absolute; z-index:3; } .dd_close{ width:35px; height:18px; text-align:center; border:solid 1px #999; background-color:#E0E0E0; top:0px; right:0px; pos...
2301_80339408/order
css/layout.css
CSS
unknown
20,420
.checkout h5 { font-weight: normal; font-size: 16px; margin: 0; } .tit-txt { font-weight: normal; font-size: 16px; } .hr { height: 1px; background-color: #eee; } a { color: #666; } .top { background-color: #f1f1f1; } .logoArea { overflow: hidden; ...
2301_80339408/order
css/order.css
CSS
unknown
5,026
/*!plugins/normalize/normalize.css*/ /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, footer, header, nav, section { ...
2301_80339408/order
css/style.css
CSS
unknown
529,918
const MALL_USER_BASEURL = 'http://localhost:8081' const MALL_GOODS_BASEURL = 'http://localhost:8082' const MALL_CART_BASEURL = 'http://localhost:8083' const MALL_ORDER_BASEURL = 'http://localhost:8084'
2301_80339408/order
js/common.js
JavaScript
unknown
204
// 创建axios实例 const request = axios.create({ timeout: 10000, // 请求超时时间 }); // 添加请求拦截器 request.interceptors.request.use(function (config) { // 在发送请求之前做些什么,例如添加token等 config.headers['Authorization'] = sessionStorage.getItem("token"); return config; }, function (error) { // 对请求错误做些什么 r...
2301_80339408/order
js/request.js
JavaScript
unknown
1,072
/** * vue v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/ var Vue = (function (exports) { 'use strict'; /*! #__NO_SIDE_EFFECTS__ */ // @__NO_SIDE_EFFECTS__ function makeMap(str) { const map = /* @__PURE__ */ Object.create(null); for (const key of str.split(",")) map[k...
2301_80339408/order
js/vue3.js
JavaScript
unknown
562,699
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <link href="css/global.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="app"> <div id="header"> <div class="login_header_mid"></div> <div class="login_header_right"><a href="index.html"...
2301_80339408/order
login.html
HTML
unknown
4,319
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE"> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>结算页</title> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <link rel="stylesheet" typ...
2301_80339408/order
order.html
HTML
unknown
18,510
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>注册页面</title> <link href="css/global.css" rel="stylesheet" typ...
2301_80339408/order
register.html
HTML
unknown
3,378
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title>产品列表页</title> <link rel="icon" href="./img/favicon.ico"> <link rel="stylesheet" type="text/css" href="./css/style.css" /> <link rel="stylesheet" type="text/css" href="./css/...
2301_80339408/order
search.html
HTML
unknown
17,290
// src/formatter.rs use crate::parser::{format_error, Rule, SysYParser}; use pest::iterators::Pair; use pest::Parser; // FIXED: Re-added the necessary import for SysYParser::parse pub struct Formatter { output: String, indent_level: usize, is_start_of_line: bool, } impl Formatter { pub fn new() -> Se...
2301_80384339/compiler
src/formatter.rs
Rust
unknown
11,461
// src/main.rs use std::fs; // 声明模块 mod formatter; mod parser; // 引入需要使用的公共项 use formatter::Formatter; fn main() { let unformatted = fs::read_to_string("input.sy").expect("无法读取 input.sy 文件"); match Formatter::format(&unformatted) { Ok(formatted_code) => { print!("{}", formatted_...
2301_80384339/compiler
src/main.rs
Rust
unknown
453
// src/parser.rs use pest::{error::Error as PestError, Parser}; use pest_derive::Parser; #[derive(Parser)] #[grammar = "parser.pest"] pub struct SysYParser; pub fn format_error(e: PestError<Rule>) -> String { // 从 Error 对象中提取行号 let line = match e.line_col { pest::error::LineColLocation::Pos((l, _)) =...
2301_80384339/compiler
src/parser.rs
Rust
unknown
969
import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import Patch from pandas import Timestamp plt.rcParams['font.sans-serif'] = ['SimHei'] # 使用黑体 plt.rcParams['axes.unicode_minus'] = False # 解决负号显示问题 ##### DATA ##### data = {'Task': {0: '大学生创新创业网通知', 1: '启...
2301_80392470/Gantt
gantt.py
Python
cc-by-sa-4.0
6,917
{ "cells": [ { "cell_type": "markdown", "metadata": { "id": "AB155B13302D459CBAAABA327849B76D", "jupyter": {}, "slideshow": { "slide_type": "slide" }, "tags": [], "trusted": true }, "source": [ "# 说明\n", "特征工程部分照搬社区的baseline未作改动,仅仅进行了模型的部分参数调整和基于stacking的模型融合。\n", ...
2301_80341758/kehuyuce
Baseline客户购买预测.ipynb
Jupyter Notebook
unknown
57,939
module.exports = { presets: [ '@vue/cli-plugin-babel/preset' ] }
2301_80339408/rural_insight
babel.config.js
JavaScript
unknown
73
<!DOCTYPE html> <html lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1.0"> <link rel="icon" href="<%= BASE_URL %>favicon.ico"> <title><%= htmlWebpackPlugin.options.title %></title> </hea...
2301_80339408/rural_insight
public/index.ejs
EJS
unknown
611
<template> <div id="app"> <router-view/> </div> </template> <script> export default { name: 'App' } </script> <style> #app { font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif; height: 100%; margin: 0; padding: 0; } html, body { heigh...
2301_80339408/rural_insight
src/App.vue
Vue
unknown
366
import chinaGeoJson from '../assets/geoJson/China.json' export default new Promise((resolve) => { // 直接返回本地的geoJson数据 resolve({ data: chinaGeoJson }) })
2301_80339408/rural_insight
src/api/getMap.js
JavaScript
unknown
180
import requests from "./request"; //首页页面相关接口 // 获取地图各省份服务资源分布 export const reqMap = () => requests.get("/service/statistics/mapResource", { params: { pageNum: 1, pageSize: 10, }, }); // 调度页面相关接口 // 获取需求列表 export const reqRequirements = (data) => requests.get("/dispatch/getRe...
2301_80339408/rural_insight
src/api/index.js
JavaScript
unknown
684
import axios from "axios"; import nProgress from "nprogress"; import "nprogress/nprogress.css"; const requests = axios.create({ baseURL: "/api", timeout: 20000, }); // 请求拦截器 requests.interceptors.request.use( function (config) { nProgress.start(); const token = sessionStorage.getItem("token...
2301_80339408/rural_insight
src/api/request.js
JavaScript
unknown
1,615
// 中国省市县数据 export const chinaRegions = { provinces: [ { name: '北京市', code: '110000' }, { name: '天津市', code: '120000' }, { name: '河北省', code: '130000' }, { name: '山西省', code: '140000' }, { name: '内蒙古自治区', code: '150000' }, { name: '辽宁省', code: '210000' }, { name: '吉林省', code: '220000' }, ...
2301_80339408/rural_insight
src/assets/data/chinaRegions.js
JavaScript
unknown
6,530
<template> <div class="service-form-container" style="display: flex; flex-direction: column; height: 100%;"> <!-- 服务需求统计表单 --> <el-card class="custom-card" style="flex: 1; margin-bottom: 15px; display: flex; flex-direction: column;"> <div slot="header" class="card-header"> <span style="colo...
2301_80339408/rural_insight
src/components/ServiceForm.vue
Vue
unknown
16,980
import Vue from 'vue' import App from './App.vue' import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/index.css'; import * as echarts from 'echarts'; import store from './store'; import router from './router'; Vue.use(ElementUI); Vue.prototype.$echarts = echarts; Vue.config.productionTip = false n...
2301_80339408/rural_insight
src/main.js
JavaScript
unknown
389
<template> <div id="analyze-page" class="main-content"> <!-- 顶部导航栏 --> <el-header class="header-container"> <div class="header-content"> <div class="logo"> <i class="el-icon-line-chart logo-icon"></i> <span class="logo-text">智慧农业分析平台</span> </div> <di...
2301_80339408/rural_insight
src/pages/Analyze/index.vue
Vue
unknown
33,230
<template> <div id="dispatch-page" class="main-content"> <!-- 顶部导航栏 --> <el-container> <el-main style=" padding: 14px; background-color: #0c1e3e; height: calc(100vh - 60px); " > <!-- 主内容区域 --> <el-row :gutter="16" style="height: 100%"> ...
2301_80339408/rural_insight
src/pages/Dispatch/index.vue
Vue
unknown
34,091
<template> <div id="dispatch-page" class="main-content"> <!-- 顶部导航栏 --> <el-container> <el-main style=" padding: 14px; background-color: #0c1e3e; height: calc(100vh - 60px); " > <!-- 主内容区域 --> <el-row :gutter="16" style="hei...
2301_80339408/rural_insight
src/pages/Dispatch/oldindex2.vue
Vue
unknown
34,908
<template> <div class="home-container"> <el-container style="height: 100%"> <el-main style=" padding: 10px; background-color: #0c1e3e; /* height: calc(100vh - 60px); */ " > <!-- 根据当前激活的菜单显示不同内容 --> <div> <!-- 首页内容 --> ...
2301_80339408/rural_insight
src/pages/Home/index.vue
Vue
unknown
32,972
<template> <div class="login"> </div> </template> <script> export default { name:"login" } </script> <style> </style>
2301_80339408/rural_insight
src/pages/Login/index.vue
Vue
unknown
145
<template> <div id="management-page" class="main-content"> <!-- 顶部导航栏 --> <el-container> <el-main style=" padding: 10px; background-color:#0c1e3e; height: 100vh; " > <!-- 搜索区域 --> <div class="search-section" ...
2301_80339408/rural_insight
src/pages/Management/index.vue
Vue
unknown
28,007
<template> <div id="monitor-page" class="main-content"> <!-- 顶部导航栏 --> <el-container> <el-main style=" padding: 10px; background-color: #0c1e3e; height: calc(100vh - 60px); " > <!-- 主内容区域 --> <el-row :gutter="10" style="heig...
2301_80339408/rural_insight
src/pages/Monitor/index.vue
Vue
unknown
30,560
<template> <div class="person-body"> </div> </template> <script> export default { } </script> <style> </style>
2301_80339408/rural_insight
src/pages/Person/idnex.vue
Vue
unknown
139
<template> <div id="index"> <!-- 顶部导航栏 --> <el-container> <el-header style="background-color: #02366d; padding: 0"> <div class="header-content"> <div class="header-left"> <el-menu :default-active="activeMenuIndex" class="el-menu-demo" ...
2301_80339408/rural_insight
src/pages/index.vue
Vue
unknown
7,959
import Vue from "vue"; import VueRouter from "vue-router"; Vue.use(VueRouter); // import ServiceForm from '@/pages/ServiceForm.vue' import DispatchPage from "@/pages/Dispatch"; import MonitorPage from "@/pages/Monitor"; import ManagementPage from "@/pages/Management"; import AnalyzePage from "@/pages/Analyze...
2301_80339408/rural_insight
src/router/index.js
JavaScript
unknown
1,796
import vuex from 'vuex' import Vue from 'vue' Vue.use(vuex) const state = { } const mutations = { } const actions = { } const getters = { } export default new vuex.Store({ modules:{ }, actions, getters, mutations, state })
2301_80339408/rural_insight
src/store/index.js
JavaScript
unknown
264
const { defineConfig } = require("@vue/cli-service"); module.exports = defineConfig({ transpileDependencies: true, lintOnSave: false, devServer: { proxy: { "/api": { // target: "http://localhost:15003", target: "http://192.168.196.101:15000", changeOrigin: true, pathRewri...
2301_80339408/rural_insight
vue.config.js
JavaScript
unknown
385
#!/bin/bash # 定义下载地址和文件名 DOWNLOAD_URL="https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.13-linux_x64.tar.gz&objectKey=6719f1eb3af6947e3c6af327" FILE_NAME="Cangjie-0.53.13-linux_x64.tar.gz" # 检查 cangjie 工具链是否已安装 echo "确保 cangjie 工具链已安装..." if ! command -v cjc -v &> /de...
2301_80220344/Cangjie-Examples_7628
FTP/run-ftp.sh
Shell
apache-2.0
1,967
<!DOCTYPE html> <html lang="cn"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> </head> <body> <div>Hello Cangjie!</div> <p></p> <script> let xhr = new XMLHttpRequest() xhr.open("POST", "/Hello", true) ...
2301_80220344/Cangjie-Examples_7628
HTTPServer/index.html
HTML
apache-2.0
687
<script> export default { onLaunch: function() { console.log('App Launch') }, onShow: function() { console.log('App Show') }, onHide: function() { console.log('App Hide') } } </script> <style> /*每个页面公共css */ </style>
2301_80339408/uni-shop2
App.vue
Vue
unknown
254
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <script> var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) document.write( '<meta name="viewport" content="width=device-width...
2301_80339408/uni-shop2
index.html
HTML
unknown
672
import App from './App' import { $http } from '@escook/request-miniprogram' uni.$http = $http // 请求开始之前做一些事情 $http.beforeRequest = function(options){ uni.showLoading({ title:"数据加载..." }) // 判断请求的是否为有权限的 API 接口 if(options.url.indexOf('/my/') !== -1){ // 为请求头添加身份认证字段 options.header = { ...
2301_80339408/uni-shop2
main.js
JavaScript
unknown
1,348
import {mapGetters} from 'vuex' // 导出一个 mixin 对象 export default{ watch:{ total(oldval,cal){ this.setBadge() } }, computed:{ ...mapGetters('m_cart',['total']), }, onShow(){ // 在页面刚展示的时候,设置数字徽标 this.setBadge() }, methods:{ setBadge(){ // 调用 uni.setTabBa...
2301_80339408/uni-shop2
mixins/tabbar-badge.js
JavaScript
unknown
583
<template> <view> <view class="cart-container" v-if="cart.length != 0"> <my-address></my-address> <!-- 购物车商品列表的标题区域 --> <view class="cart-title"> <!-- 左侧的图标 --> <uni-icons type="shop" size="18"></uni-icons> <!-- 描述文本 --> <text class="cart-title-text">购物车<...
2301_80339408/uni-shop2
pages/cart/cart.vue
Vue
unknown
3,068
<template> <view> <!-- <my-search :bgcolor="'black'" :radius="2"></my-search> --> <my-search @click="gotoSearch"></my-search> <view class="scroll-view-container"> <!-- 左侧的滚动视图区域 --> <scroll-view class="left-scroll-view" scroll-y :style="{height:wh + 'px'}"> <block v-for="(item,i...
2301_80339408/uni-shop2
pages/cate/cate.vue
Vue
unknown
4,603
<template> <view> <view class="search-box"> <my-search @click="gotoSearch"></my-search> </view> <view> <!-- 轮播图区域 --> <swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :circular="true"> <!-- 循环渲染轮播图的 item 项 --> <swiper-item v-for="...
2301_80339408/uni-shop2
pages/home/home.vue
Vue
unknown
4,849
<template> <view class="my-container "> <!-- 用户未登录时,显示登录组件 --> <my-login v-if="!token"></my-login> <!-- <my-login v-if="false"></my-login> --> <!-- 用户登录后,显示用户信息组件 --> <my-userinfo v-else></my-userinfo> </view> </template> <script> // 导入自己封装的 mixin 模块 import badgeMix from '@/mixi...
2301_80339408/uni-shop2
pages/my/my.vue
Vue
unknown
897
export default { // 为当前模块开启命名空间 namespaced: true, // 模块的 state 数据 state: () => ({ // 购物车的数组,用来存储购物车中每个商品的信息对象 // 每个商品的信息对象,都包含如下 6 个属性: // { goods_id, goods_name, goods_price, goods_count, goods_small_logo, goods_state } cart: JSON.parse(uni.getStorageSync('cart') || '[]') }), ...
2301_80339408/uni-shop2
store/cart.js
JavaScript
unknown
3,952
// 1. 导入 Vue 和 Vuex import Vue from 'vue' import Vuex from 'vuex' // 1. 导入购物车的 vuex 模块 import moduleCart from './cart.js' // 导入用户的 vuex 模块 import moduleUser from './user.js' // 2. 将 Vuex 安装为 Vue 的插件 Vue.use(Vuex) // 3. 创建 Store 的实例对象 const store = new Vuex.Store({ // TODO:挂载 store 模块 modules: { ...
2301_80339408/uni-shop2
store/store.js
JavaScript
unknown
758
export default { // 开启命名空间 namespaced: true, // state 数据 state: () => ({ // 收货地址 // 3. 读取本地的收货地址数据,初始化 address 对象 address: JSON.parse(uni.getStorageSync('address') || '{}'), // 登录成功之后的 token 字符串 // token: uni.getStorageSync('token') || '', token: "Bearer eyJhbGciOiJIUzI1NiIsInR...
2301_80339408/uni-shop2
store/user.js
JavaScript
unknown
2,631
<template> <view v-if="goods_info.goods_name"> <!-- 轮播图区域 --> <swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :circular="true"> <swiper-item v-for="(item,i) in goods_info.pics" :key="i"> <!-- 把当前点击的图片的索引,传递到 preview() 处理函数中 --> <image :src="item.pi...
2301_80339408/uni-shop2
subpkg/goods_detail/goods_detail.vue
Vue
unknown
7,672
<template> <view> <view class="goods-list"> <view v-for="(goods,i) in goodsList" :key="i" @click="gotoDetail(goods)"> <my-goods :goods="goods"></my-goods> </view> </view> </view> </template> <script> export default { data() { return { // 请求参数对象 ...
2301_80339408/uni-shop2
subpkg/goods_list/goods_list.vue
Vue
unknown
4,600
<template> <view class="seach"> <view class="search-box"> <uni-search-bar :radius="100" @input="input" cancelButton="none" :focus="true"></uni-search-bar> </view> <!-- 搜索建议列表 --> <view class="sugg-list" v-if="searchResults.length !== 0"> <view class="sugg-item" v-for="(item , i) in ...
2301_80339408/uni-shop2
subpkg/search/search.vue
Vue
unknown
5,214
uni.addInterceptor({ returnValue (res) { if (!(!!res && (typeof res === "object" || typeof res === "function") && typeof res.then === "function")) { return res; } return new Promise((resolve, reject) => { res.then((res) => { if (!res) return resolve(res) return res[0] ? reject...
2301_80339408/uni-shop2
uni.promisify.adaptor.js
JavaScript
unknown
373
/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* ...
2301_80339408/uni-shop2
uni.scss
SCSS
unknown
2,217
<template> <view> <!-- 选择收货地址的盒子 --> <view class="address-choose-box" v-if="JSON.stringify(address) === '{}'"> <button type="primary" size="mini" class="btnChooseAddress" @click="chooseAddress">请选择收货地址+</button> </view> <!-- 渲染收货信息的盒子 --> <view class="address-info-box" v-else @click="...
2301_80339408/uni-shop2
uni_modules/my-address/components/my-address/my-address.vue
Vue
unknown
5,108
<template> <view> <view class="goods-item"> <!-- 商品左侧图片区域 --> <view class="goods-item-left"> <!-- 使用 v-if 指令控制 radio 组件的显示与隐藏 --> <!-- 存储在购物车中的商品,包含 goods_state 属性,表示商品的勾选状态 --> <radio :checked="goods.goods_state" color="#C00000" v-if="showRadio" @click="radioClickHandle...
2301_80339408/uni-shop2
uni_modules/my-goods/components/my-goods/my-goods.vue
Vue
unknown
3,901