项目的入口文件index.html直接在服务器访问地址的根目录下,即项目独占一个端口 vue中配置保持不变 nginx中配置如下: server { listen 8899; server_name localhost; location / { try_files $uri $uri/ /inde ...
分类:
其他好文 时间:
2019-12-31 23:47:04
阅读次数:
196
本文首发于个人博客 "https://kezunlin.me/post/caef83a3/" ,欢迎阅读最新内容! cpp i++ vs ++i for user defined class Guide code cpp include include include include include ...
分类:
编程语言 时间:
2019-12-31 18:16:55
阅读次数:
103
使用LogMiner查看归档日志 https://www.cnblogs.com/Memories-off/p/10435489.html 查看归档文件序号select sequence#,first_time from v$log_history order by first_time desc; ...
分类:
其他好文 时间:
2019-12-31 14:16:01
阅读次数:
70
hash和history的区别 vue-router 中hash模式和history模式。 在vue的路由配置中有mode选项,最直观的区别就是在url中hash 带了一个很丑的 # ,而history是没有#的。vue默认使用hash。 mode:"hash";mode:"history";has ...
分类:
其他好文 时间:
2019-12-31 10:50:46
阅读次数:
55
BOM与DOM 一、前戏 BOM操作 window对象 二、window的子对象 navigator对象(了解即可) screen对象(了解即可) history对象(了解即可) location对象 弹出框 三、计时相关 通过使用 JavaScript,我们可以在一定时间间隔之后来执行代码,而不是 ...
分类:
其他好文 时间:
2019-12-30 23:31:27
阅读次数:
148
一、查询zabbix数据库大小 mysql> select table_schema, concat(truncate(sum(data_length)/1024/1024,2),' mb') as data_size,concat(truncate(sum(index_length)/1024/1 ...
分类:
其他好文 时间:
2019-12-30 21:33:42
阅读次数:
87
window对象 window的子对象 navigator对象 浏览器对象,通过这个对象可以判定用户所使用的浏览器,包含了浏览器相关信息。 screen对象 history对象 location对象 弹出框 计时相关 setTimeout() 语法: setTimeout() 方法会返回某个值。在上 ...
分类:
其他好文 时间:
2019-12-30 19:36:07
阅读次数:
80
1.安装 npm install react-router-dom --save 2.引入: import { BrowserRouter, // router可以使用不同的模式 History HashRouter, // 和上面的BrowserRouter只能选其一使用 Route, Link, ...
分类:
其他好文 时间:
2019-12-29 20:41:05
阅读次数:
105
修改/etc/profile 增加 export HISTTIMEFORMAT="%Y%m%d_%T `whoami` `who am i|awk '{print $1,$5}'|sed 's/ (/@/'|sed 's/)//'` " export PROMPT_COMMAND='history ...
分类:
系统相关 时间:
2019-12-29 00:35:29
阅读次数:
110
持久化 undo/redo " 在你的 vimrc 加入 set undofile " Maintain undo history between sessions " 设置你的undo保存位置,你需要先 mkdir ~/.vim/undodir set undodir=~/.vim/undodir ...
分类:
系统相关 时间:
2019-12-28 23:12:47
阅读次数:
229