小陆同学

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

导航

上一页 1 2 3 4 5 6 ··· 23 下一页

2022年5月23日 #

mysql--记2次脏数据清理

摘要: 有时候程序执行的过程中,可能有逻辑漏洞,导致同样一条数据多次insert到表里,造成了垃圾数据,在清理的时候又不能一杆子都打死,需要将重复数据中,id最小的保留 DELETE FROM public_sentiment WHERE id IN ( SELECT * FROM ( SELECT id 阅读全文

posted @ 2022-05-23 14:21 小陆同学 阅读(73) 评论(0) 推荐(0) 编辑

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 小陆同学 阅读(201) 评论(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 小陆同学 阅读(1267) 评论(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 小陆同学 阅读(174) 评论(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 小陆同学 阅读(707) 评论(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 小陆同学 阅读(242) 评论(0) 推荐(0) 编辑

2022年4月20日 #

解决nginx+vue--502的问题

摘要: 当前的nginx配置如下: server { listen 80; server_name localhost; location / { root /usr/share/nginx/html; index index.html index.htm; } location @router{ rewr 阅读全文

posted @ 2022-04-20 20:20 小陆同学 阅读(1236) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 23 下一页