小陆同学

python 中文名:蟒蛇,设计者:Guido van Rossum

导航

2022年5月7日 #

mac--部署scui项目记录

摘要: git clone https://gitee.com/lolicode/scui.git cd scui npm i 遇到报错:This is an error with npm itself. Please report this error at 解决方式: 删除node modules 和p 阅读全文

posted @ 2022-05-07 20:21 小陆同学 阅读(208) 评论(0) 推荐(0) 编辑

python--logging模块记录日志

摘要: import logging import os from logging import handlers class Logger(object): # 日志级别关系映射 level_relations = { 'debug': logging.DEBUG, 'info': logging.INF 阅读全文

posted @ 2022-05-07 20:17 小陆同学 阅读(27) 评论(0) 推荐(0) 编辑

git--记录文档

摘要: 报错1: git clone https://github.com/liferay/liferay-portal.git Cloning into 'liferay-portal'... fatal: the remote end hung up unexpectedly 解决办法: 这个错误,原因 阅读全文

posted @ 2022-05-07 20:16 小陆同学 阅读(24) 评论(0) 推荐(0) 编辑

redis--redis.exceptions.ResponseError: MISCONF Redis is configured to save RDB snap

摘要: 解决办法: 1.通过redis-cli连接到服务器后执行以下命令: config set stop-writes-on-bgsave-error no 2.修改redis.conf文件:vi打开redis-server配置的redis.conf文件,然后定位到stop-writes-on-bgsav 阅读全文

posted @ 2022-05-07 20:12 小陆同学 阅读(248) 评论(0) 推荐(0) 编辑

vue--如何监听div里面的内容,当到达div底部时,自动向上滚动

摘要: 先说需求:数据实时更新渲染到页面页面高度随数据更新变化默认页面显示当前更新内容即滚动条处于页面最底部当用户进行鼠标滚轮向上滚动或者拖动滚动条向上时停止滚动条处于页面最底部操作当用户进行上一步操作后又向下滚动时 继续让滚动条保持最下思路:首先得监听页面的scroll时间并判断是向上或者向下滚动让滚动条 阅读全文

posted @ 2022-05-07 20:06 小陆同学 阅读(1294) 评论(0) 推荐(0) 编辑

linux--jenkins安装

摘要: 安装Jenkins 一、安装 Jenkins 前的环境准备(CentOS7) 1.添加yum仓库源 wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo 2.导入仓库源的key(秘钥) 阅读全文

posted @ 2022-05-07 20:02 小陆同学 阅读(178) 评论(0) 推荐(0) 编辑

elementui--去掉弹框的黑色罩子

摘要: 属性: :modal-append-to-body="false" 去掉黑色面罩 <template slot-scope="scope"> <el-button @click="queryDeployLog(scope.row)" type="primary" style="margin-left 阅读全文

posted @ 2022-05-07 19:44 小陆同学 阅读(715) 评论(0) 推荐(0) 编辑

shell--将文件上传至ftp

摘要: HOST='xx.xx.xx.xx' USER='xx' PASSWD='xxxx' file_name="as.txt" # ftp -v -n ${HOST}<<EOF user ${USER} ${PASSWD} binary # ftp路径 cd /home/deploy # 本地路径 lc 阅读全文

posted @ 2022-05-07 19:38 小陆同学 阅读(244) 评论(0) 推荐(0) 编辑