引入的./baseSite.js let baseSite = "" if(process.env.NODE_ENV 'development'){// 开发环境 //request.js文件baseSite = 'ulr路径'}else{// 生产环境baseSite = 'url路径'} exp ...
分类:
移动开发 时间:
2021-04-19 15:49:52
阅读次数:
0
1、 > a <- c(2,3,4,2,3,4,2,2,4) > b <- as.data.frame(table(a)) > b a Freq 1 2 4 2 3 2 3 4 3 ...
分类:
编程语言 时间:
2021-04-19 15:48:06
阅读次数:
0
1. 修改本地hosts文件 windows系统的hosts文件的位置如下:C:\Windows\System32\drivers\etc\hosts mac/linux系统的hosts文件的位置如下:/etc/hosts 2. 增加http://github.global.ssl.fastly.n ...
分类:
其他好文 时间:
2021-04-19 15:45:32
阅读次数:
0
Panda模块读取txt文本文件 使用pandas.read_csv函数 1. 如果txt文本中有表头(标题行) import panda as pd data = pd.read_csv('data.txt') print(data) 2. 如果txt文本中无表头 import panda as ...
分类:
编程语言 时间:
2021-04-19 15:38:55
阅读次数:
0
1.用Requests发送百度请求 新建一个requests_test.py文件,输入如下内容。 import requests #请求百度网页response = requests.get("https://www.baidu.com", data=None,timeout=10)print(re ...
分类:
其他好文 时间:
2021-04-19 15:38:03
阅读次数:
0
这里我们以禁止美国地址段为例,可以根据自己的需要将us.zone改为相应国家缩写 #/bin/bash wget -O /tmp/us.zone http://www.ipdeny.com/ipblocks/data/countries/us.zone for ip in `cat /tmp/us. ...
分类:
系统相关 时间:
2021-04-19 15:10:27
阅读次数:
0
export_excel(){ this.axios.get('downExcelView/',{responseType:'blob'}).then(res=>{ var blob = new Blob([res.data], {type: 'application/vnd.openxmlform ...
分类:
其他好文 时间:
2021-04-19 15:08:07
阅读次数:
0
1.把cs文件上传至服务器 2.安装java环境 yum -y install java-1.8.0-openjdk* 3.开启服务端 ./teamserver ip 密码 ./teamserver xxx.xxx.xxx.xxx xxxxx 4.问题 出现连接超时 因为 centos 开启了防火墙 ...
分类:
其他好文 时间:
2021-04-16 12:10:45
阅读次数:
0
// 上传首页数据设置、主题js文件export function uplaodTheme(data, fileName) { var dataString = JSON.stringify(data); var blob = new Blob([dataString], {type: "text/ ...
分类:
Web程序 时间:
2021-04-16 11:57:04
阅读次数:
0
下载配置mongodb mogodb官网下载 解压到指定目录 添加环境变量(可有可无) 创建data、logs两个文件夹 创建并启动mongodb服务 创建mongodb服务 以管理员身份打开cmd输入以下指令(注意更改路径) mongod --install --dbpath E:\Tools\m ...
分类:
数据库 时间:
2021-04-16 11:55:43
阅读次数:
0