上一页 1 2 3 4 5 6 7 ··· 11 下一页
  2020年9月11日
摘要: 在自己的项目根路径下新建util包 util包下面新建两个文件 log.py """操作日志记录 """ import time from loguru import logger from pathlib import Path from util.pathutil import Pathutil 阅读全文
posted @ 2020-09-11 20:12 北溟有鱼。 阅读(188) 评论(0) 推荐(0)
  2020年9月10日
摘要: //导出数据(多个表以空格间隔)mysqldump -h 127.0.0.1 -uroot -p123456 --default-character-set=utf8 pandora report > report.sql //导入数据mysql -h127.0.0.1 -uroot -p12345 阅读全文
posted @ 2020-09-10 11:11 北溟有鱼。 阅读(113) 评论(0) 推荐(0)
  2020年9月8日
摘要: 1.递归实现 public static boolean searchNode(TreeNode root,Stack<TreeNode> s,TreeNode node) { if(root == null) return false; s.push(root); if(root.val == n 阅读全文
posted @ 2020-09-08 16:09 北溟有鱼。 阅读(497) 评论(0) 推荐(0)
摘要: 写入速度测试命令:time dd oflag=direct if=/dev/zero of=/data2/test bs=2k count=1000000 //if表示从哪里读取 of表示写入到哪里 bs是块的大小,count表示数量 读取速度测试命令:time dd iflag=direct if 阅读全文
posted @ 2020-09-08 11:51 北溟有鱼。 阅读(368) 评论(0) 推荐(0)
  2020年9月4日
摘要: #!/bin/bash current_path=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd) nohup $current_path/clickhouse_sinker -conf $current_path/config >> $current_path 阅读全文
posted @ 2020-09-04 17:55 北溟有鱼。 阅读(351) 评论(0) 推荐(0)
  2020年8月30日
摘要: 转自:https://www.jianshu.com/p/377bfd2d9034 1、问题初衷 解决问题的初衷,源于vue项目中公共路径在打包之后一旦遇到整体的路径更改就需要再次build一下。 如果公司小,项目部署的实施人员又能随时联系到开发人员。直接简单的build一下就OK了。又或者开发人员 阅读全文
posted @ 2020-08-30 00:17 北溟有鱼。 阅读(371) 评论(0) 推荐(0)
  2020年8月19日
摘要: 大概率的原因是软件签名问题。 先安装 xcode xcode-select --install 然后签名 sudo codesign --force --deep --sign - 文件位置(直接将应用拖到终端即可) 示例: sudo codesign --force --deep --sign - 阅读全文
posted @ 2020-08-19 12:35 北溟有鱼。 阅读(423) 评论(0) 推荐(0)
  2020年8月7日
摘要: spring-security原理 图片中各个类的作用: 1JwtUser类:实现Springsecurity的UserDetails类,此类必须有三个属性 private String username; private String password; //权限,类如ROLE_ADMIN pri 阅读全文
posted @ 2020-08-07 20:06 北溟有鱼。 阅读(354) 评论(1) 推荐(0)
  2020年7月27日
摘要: #!/bin/sh JarDir=`pwd` do_start() { echo "pandora-login start ..." nohup java -jar -Xmn256m -Xmx2048m -XX:MaxTenuringThreshold=2 -Dspring.profiles.act 阅读全文
posted @ 2020-07-27 19:57 北溟有鱼。 阅读(292) 评论(0) 推荐(0)
  2020年6月22日
摘要: start.sh #!/bin/bash nohup $PWD/node_exporter > /dev/null 2>&1 & 阅读全文
posted @ 2020-06-22 17:37 北溟有鱼。 阅读(886) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 11 下一页