会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
尽
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
···
17
下一页
2019年10月15日
【Linux】ssh执行远程命令awk 参数报错问题
摘要: ssh ip sudo docker ps -a | grep none | awk '{print \$1}'| sed 's/%//g' $1前面加上转移符就好
阅读全文
posted @ 2019-10-15 16:24 尽
阅读(747)
评论(0)
推荐(0)
2019年10月12日
【Linux】【Kibana】解决Kibana启动失败:Data too large问题
摘要: 今天重启Kibana容器,结果启动不了,一看日志发现是Data数据量太大报错。 数据量太大导致内存不足,可以设置fielddata的内存限制,默认60% curl -u elastic -XPUT "ip:port/_cluster/settings" -H 'Content-Type: appli
阅读全文
posted @ 2019-10-12 10:37 尽
阅读(8822)
评论(0)
推荐(0)
2019年10月11日
【Linux】服务器间免密登录、免确认机器指纹
摘要: 1.生成密钥 ssh-keygen -t rsa -C "<填写自己方便识别的注释>" -b 4096 没什么问题就执行三次空格。 三次问题是1.填入生成密钥对的路径名字。2 填入自定义passphrsa。3确认。 静默模式,不需要回车生成密钥 ssh-keygen -t rsa -N '' -f
阅读全文
posted @ 2019-10-11 14:18 尽
阅读(546)
评论(0)
推荐(0)
【Linux】批量结束某一脚本的进程
摘要: ps -ef | grep **.sh |grep -v grep | awk '{print $2}' | xargs kill -9
阅读全文
posted @ 2019-10-11 08:46 尽
阅读(402)
评论(0)
推荐(0)
2019年10月10日
【MySQL】实现自增函数sequence
摘要: 前言 当前数据库为:mysql由于mysql和oracle不太一样,不支持直接的sequence,所以需要创建一张table来模拟sequence的功能,理由sql语句如下: 步骤 1.创建sequence表 2.创建取当前值的函数 3.创建取下一个值函数 4.创建更新当前值函数 数据库结构 调用
阅读全文
posted @ 2019-10-10 09:10 尽
阅读(7734)
评论(0)
推荐(0)
2019年10月9日
【Gitlab】git clone http连接,带用户名和密码
摘要: test项目在gitlab的http请求的url: http://gitlab.com/test.git 用以下方式请求不需要再输入用户名和密码 git clone http://username:password@gitlab.com/test.git 密码不要包含@/等特殊符号,会跟后面的@gi
阅读全文
posted @ 2019-10-09 14:55 尽
阅读(14949)
评论(0)
推荐(2)
【Vue】input textarea自动滚动到输入处
摘要: 由于我这里要把接口返回的日志不断地新增到textarea里,想实现自动滚动日志的效果。 1.首先定一个textarea类型的input组件 2.每次新增内容都要调用
阅读全文
posted @ 2019-10-09 10:55 尽
阅读(1944)
评论(2)
推荐(0)
2019年10月1日
【Vue】axios post提交请求转为form data
摘要: axios.js
阅读全文
posted @ 2019-10-01 12:33 尽
阅读(6135)
评论(0)
推荐(0)
【Vue】新版vue解决跨域问题
摘要: vue.config.jsmodule.exports = { devServer: { proxy: { "/api": { target: "http://192.168.0.103:9876", changOrigin: true, pathRewrite: {"^/api" : ""} } } } }
阅读全文
posted @ 2019-10-01 12:32 尽
阅读(559)
评论(0)
推荐(0)
2019年9月30日
【Java】java获取request body
摘要: //方式一 public static String ReadAsChars(HttpServletRequest request) { BufferedReader br = null; StringBuilder sb = new StringBuilder(""); try { br = request.getReader(); String str; while ((str = br.re
阅读全文
posted @ 2019-09-30 12:38 尽
阅读(4827)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
···
17
下一页
公告