码迷,mamicode.com
首页 >  
搜索关键字:const    ( 26295个结果
vue cli3全局配置文件 vue.config.js
const path = require('path'); module.exports = { // 基本路径 publicPath: process.env.NODE_ENV 'production' ? '' : '/', // 输出文件目录 outputDir: process.env.NO ...
分类:Web程序   时间:2021-02-25 12:07:38    阅读次数:0
1090 Highest Price in Supply Chain (25 分)
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)-- everyone involved in moving a product from supplier to customer ...
分类:其他好文   时间:2021-02-24 13:16:47    阅读次数:0
AtCoder Beginner Contest 145
A - Circle #include<bits/stdc++.h> using namespace std; const int N = 1e6 + 5; typedef long long LL; int r; int main(){ cin >> r; cout << r * r << end ...
分类:其他好文   时间:2021-02-24 13:15:50    阅读次数:0
lombok的使用
@Data@AllArgsConstructor@NoArgsConstructor <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> ...
分类:其他好文   时间:2021-02-23 14:25:37    阅读次数:0
[Spark] pyspark insertInto 去重插入数据表
pyspark有个bug, 虽然下面代码写了 write.mode("overwrite")但是不生效 spark.conf.set("hive.exec.dynamic.partition.mode", "constrict") db_df.repartition(1).write.mode("o ...
分类:其他好文   时间:2021-02-23 14:14:20    阅读次数:0
React + axios 使用
1. 简单封装使用 创建一个request组件来定义全局url import axios from 'axios'; export const newVar = axios.create({ baseURL:"http://127.0.0.1:8080", timeout: 5000 }) 切记这里 ...
分类:移动开发   时间:2021-02-23 14:10:47    阅读次数:0
数值计算
数值计算 上溢和下溢 softmax函数 \[ softmax(x_i) = \frac{exp(x_i)}{\sum_{j=1}^{n}exp(x_j)} \] 差条件(poor conditioning) 条件(conditioning)指的是函数在输入产生很小变化时自身所改变的速度。当函数变化 ...
分类:其他好文   时间:2021-02-22 12:41:29    阅读次数:0
c++调试输出到输出窗口
首先添加预处理定义_CRT_SECURE_NO_WARNINGS //例子:调试输出("%d和%d\n", 123,500); void 调试输出(const char* strOutputString, ...) { #define PUT_PUT_DEBUG_BUF_LEN 1024 char ...
分类:编程语言   时间:2021-02-22 12:06:11    阅读次数:0
使用http模块构建一个服务器
代码如下: const http = require('http'); /* request 获取url传来的信息 response 给浏览器的响应信息 */ http.createServer(function (request, response) { // 设置响应头 response.wri ...
分类:Web程序   时间:2021-02-20 12:20:56    阅读次数:0
es6基础语法
es6基础语法 require vs import 语法 示例: 如何导入 moment包 //require语法 const moment = require('moment'); date = moment().locale('zh-cn').format('YYYY_MM_DD_HH_mm_s ...
分类:其他好文   时间:2021-02-20 12:19:45    阅读次数:0
26295条   上一页 1 ... 37 38 39 40 41 ... 2630 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!