搭建json-server服务 json-server官方说明 一、安装JSON服务器 npm install -g json-server 二、创建db.json包含一些数据的文件 { "posts": [ { "id": 1, "title": "json-server", "author": ...
分类:
Web程序 时间:
2020-07-05 17:47:07
阅读次数:
110
思路: # 首先设置一个继承dict的类MysessionDict(用来设置session,例如request.mysession) # 请求来的时候 # 1、生成一个空的MysessionDict对象;request.mysession = MysessionDict() # 2、过滤url,如果 ...
分类:
编程语言 时间:
2020-07-05 13:51:24
阅读次数:
65
[Git 中文开发手册git instaweb (Administration) - Git 中文开发手册命名git-instaweb - 立即在gitweb中浏览你的工作仓库概要git instaweb [--local] [--httpd=] [--port=] [--browser=]git ... ...
分类:
Web程序 时间:
2020-07-05 13:49:56
阅读次数:
123
Nginx 的常用的命令 进入 nginx 目录中 cd /usr/local/nginx/sbin 1、查看 nginx 版本号 ./nginx -v 2、启动 nginx ./nginx 3、停止 nginx ./nginx -s stop Nginx 的配置文件 1、nginx 配置文件位置 ...
分类:
其他好文 时间:
2020-07-05 00:20:44
阅读次数:
72
前言 selenium在windows机器上运行,每次会启动界面,运行很不稳定。于是想到用chrome来了的headless无界面模式,确实方便了不少。为了提高自动化运行的效率和稳定性,于是把selenium自动化环境部署到linux服务器上,这样更方便。环境:centons 7.6python 3 ...
分类:
Web程序 时间:
2020-07-04 21:03:53
阅读次数:
85
apiVersion: v1 data: Corefile: | .:53 { errors health { lameduck 5s } ready kubernetes cluster.local in-addr.arpa ip6.arpa { pods insecure fallthrough ...
分类:
其他好文 时间:
2020-07-04 20:56:51
阅读次数:
114
Mybatis Generator最完整配置详解[mybatis代码自动生成配置] 1)说明 generator配置文件: 1.1) 配置生成器 : <!-- 配置生成器 --> <generatorConfiguration>....</generatorConfiguration> 1.2) $ ...
分类:
其他好文 时间:
2020-07-04 19:12:56
阅读次数:
85
简要 环境搭建 安装TortoiseSVN IDEA集成TortoiseSVN 常用操作 Share Project Checkout Add Delete Update Revert Commit Edit Conflicts Others Local Changes Repository Inc ...
分类:
其他好文 时间:
2020-07-04 18:43:24
阅读次数:
74
Nodejs官网下载安装包,按指引安装: This package has installed: * Node.js v14.3.0 to /usr/local/bin/node * npm v6.14.5 to /usr/local/bin/8pm Make sure that /usr/loca ...
分类:
Web程序 时间:
2020-07-04 17:23:20
阅读次数:
82
启动集群及监控 进入目录 cd /usr/local/hadoop-2.6.5/sbin/ 启动整个集群组件 ./start-dfs.sh 启动yarn集群 ./start-yarn.sh 启动日志服务 ./mr-jobhistory-daemon.sh start historyserver 查看 ...
分类:
其他好文 时间:
2020-07-04 16:57:27
阅读次数:
64