-
PowerShell 快捷键
清空当前行 Esc 自动补全 Tab 显示历史执行命令 F7,按方向右键选中,在Shell(如:mysql、psql、mongo)中有效 显示会话第一个命令 P
2020-12-22, Views: 2849 , Topics: PowerShell Windows
-
Vue mavonEditor 获取 HTML 代码
获取 HTML this.$refs.md.d_render 获取 Markdown this.$refs.md.d_value 项目地址 https://gi
2020-12-21, Views: 3441 , Topics: Vue mavonEditor
-
MySQL update limit 更新限定条数
SQL update test_table set test_column = 'test_value' limit 100; 注意 update limit
2020-12-18, Views: 5819 , Topics: MySQL
-
PostgreSQL 错误: 编码 "UTF8" 的字符 0x0xc9 0x99 在编码 "GBK" 没有相对应值
问题描述 在Windows的PowerShell中使用psql查询记录时抛出如下异常。 错误: 编码"UTF8"的字符0x0xc9 0x99在编码"GBK"没
2020-12-17, Views: 8951 , Topics: PostgreSQL PowerShell chcp
-
PostgreSQL 获取本月第一天时间戳等信息
date_trunc 日期函数中适用的时间字段 second minute day hour day week month quarter year 当天零
2020-12-16, Views: 6811 , Topics: PostgreSQL
-
PostgreSQL duplicate key violates unique constraint
错误原因 当前序列的值小于了目前表中的值。 查看序列 select * from post_id_seq; 输出 last_value | log_cnt |
2020-12-15, Views: 2752 , Topics: PostgreSQL
-
Spring Boot RabbitMQ Execution of Rabbit message listener failed
错误信息 17:19:13.691 [SimpleAsyncTaskExecutor-14] WARN o.s.a.r.l.ConditionalReject
2020-12-14, Views: 9766 , Topics: RabbitMQ Spring Boot
-
Tomcat 禁止日志输出到 catalina.out
注意 如果配置了logback等日志框架,不能添加类似ConsoleAppender输出到控制台的配置,否则将继续输出至catalina.out。 禁止生成ca
-
Spring Boot logback 导致 /tmp 磁盘爆满
问题 logback.xml中引入了base.xml <?xml version="1.0" encoding="UTF-8"?> <
2020-12-10, Views: 5692 , Topics: Spring Boot logback
-
Spring Boot 配置 logback 文件
logback.xml ${user.dir}/logs:日志输出在jar包同级目录下的logs文件夹中。 RollingFileAppender:按日压缩日
2020-12-09, Views: 4135 , Topics: Spring Boot logback
-
Nginx upstream timed out 10060
错误信息 upstream timed out (10060: A connection attempt failed because the connect
-
PowerShell 使用 wget 只输出信息不下载问题
问题 直接使用wget拼接一个url地址,将会在控制台得到HTTP信息,而不是完整的文件。 PS C:\Users\fendoudebb\Desktop>
2020-12-07, Views: 5598 , Topics: PowerShell wget Windows
-
curl 命令遇到重定向时请求重定向后地址
问题 当请求url时得到301重定向的状态码,而非实际重定向后的内容 curl http://www.zhangbj.com 输出 <html> &
-
Oracle 取最近 10 条数据
SQL select * from( select * from test_table order by id desc ) where rownum <
2020-12-03, Views: 1985 , Topics: Oracle
-
Oracle ORA-01502: index 'INDEX_NAME' or partition of such index is in unusable state
错误原因 索引状态变为了UNUSABLE。 解决方法 查看索引状态 SELECT OWNER, INDEX_NAME,STATUS FROM DBA_INDE
-
Vue Router 页面间传递参数
params 跳转到posts页面,携带postId参数。 this.$router.push({ name: 'posts', param
2020-11-30, Views: 1873 , Topics: Vue
-
HTML 判断是否禁用了 JS
noscript 在<head></head>中使用自带<noscript></noscript>标签,可有浏览
2020-11-27, Views: 3004 , Topics: HTML JavaScript
-
Element UI DatePicker 时间跨度限制在同一个月内
需求 因后端数据是按月分区表,所以查询数据必须按不能跨月的日期查询。 代码 添加picker-options熟悉。 <el-date-picker
-
Vue 页面切换时弹出确认框
需求 Vue页面退出或切换前弹出确认框,提示是否离开。 实现 页面使用iView框架,添加beforeRouteLeave即可。 export default
2020-11-24, Views: 4638 , Topics: Vue iView JavaScript
-
OpenResty get_body_data 无法获取请求体数据
问题 在使用application/json提交请求体数据时,ngx.req.read_body()获得的请求体参数为nil。 情况一 在获取请求体前未使用ng