上一页 1 2 3 4 5 6 ··· 14 下一页
摘要: 1.首先要保证本地环境不仅要有分支的代码也要有主干的代码,没有的话两者都要拉取下来 上图中的第一个文件夹代表着主干上的代码;第二个为分支上的代码。 2.进入分支代码的文件夹,然后在空白处右键,选中 show logs,如图所示: 3.弹出如下界面,选择要合并的当前分支上的历史提交记录(可多选),右键 阅读全文
posted @ 2024-01-03 22:01 猪脚踏浪 阅读(799) 评论(0) 推荐(0)
摘要: https://registry.npmmirror.com/binary.html?path=node/ 阅读全文
posted @ 2023-12-04 00:28 猪脚踏浪 阅读(164) 评论(0) 推荐(0)
摘要: 在Java开发中,Zip文件是一种常见的文件压缩格式。有时候我们需要给Zip文件添加密码保护,以确保文件的安全性。本文将指导你如何使用Java代码来实现Zip文件的添加密码功能。 流程概述 下面是实现“Java Zip 添加密码”的整个流程: 步骤描述 步骤 1 创建一个Zip文件 步骤 2 向Zi 阅读全文
posted @ 2023-11-17 16:34 猪脚踏浪 阅读(2235) 评论(1) 推荐(0)
摘要: npm 官方原始镜像网址是:https://registry.npmjs.org/淘宝 NPM 镜像:https://registry.npm.taobao.org/阿里云 NPM 镜像:https://npm.aliyun.com腾讯云 NPM 镜像:https://mirrors.cloud.t 阅读全文
posted @ 2023-10-17 07:18 猪脚踏浪 阅读(7800) 评论(0) 推荐(0)
摘要: 在使用npm安装依赖时,报如下错误: 9895 error compiling from source 9896 error getaddrinfo ENOENT raw.githubusercontent.com 9896 error gifsicle pre-build test failed 阅读全文
posted @ 2023-10-17 07:06 猪脚踏浪 阅读(2275) 评论(0) 推荐(0)
摘要: 1. 从微信的远程仓库下载项目到本地 登录微信代码管理 复制git地址,如上图红框的地址 ,执行 git clone https://git.weixin.qq.com/wx_wx************************xxxx_mini_program.git ,克隆远程项目到本地,clo 阅读全文
posted @ 2023-06-28 19:35 猪脚踏浪 阅读(215) 评论(0) 推荐(0)
摘要: msql启动报错,启动不了。 进入mysql日志默认的路径为 /var/log/mysqld.log 查看日志,发现报错信息如下: can't create/write to file 'var/run/mysqld/mysqld.pid 解决办法: 将 /var/run/mysqld/权限赋给my 阅读全文
posted @ 2023-06-12 13:39 猪脚踏浪 阅读(691) 评论(0) 推荐(0)
摘要: Java中Double类型时要考虑到大额数据自动转换成科学计数法。 Double d1 = 99999999999d; System.out.println(d1); 输出结果 9.9999999999E10 (科学计数法) 如果想输出为自然数值方法如下: Double d1 = 999999999 阅读全文
posted @ 2023-04-22 05:43 猪脚踏浪 阅读(1495) 评论(0) 推荐(0)
摘要: rsync在服务器之间同步文件很方便,默认一般是22端口,这时使用rsync不需要指定端口。 但是出于安全起见,很多服务器将默认的SSH端口改成了别的如2222,这时候需要指定端口: #rsync -avuz -e 'ssh -p 2222' user@remote-server:/path/to/ 阅读全文
posted @ 2023-03-13 02:13 猪脚踏浪 阅读(3277) 评论(0) 推荐(1)
摘要: 1、copy ,cp,该命令的功能是将给出的文件或目录拷贝到另外一个文件或目录中。语法: cp 源文件或目录 目标文件或目录。 2、在/TEST目录下新建test1和test2两个子文件夹。 假设复制源文件test1下的test01文件,目标目录为test2。 直接可以用: cp /TEST/tes 阅读全文
posted @ 2023-01-31 12:17 猪脚踏浪 阅读(5700) 评论(0) 推荐(0)
摘要: 从远程服务器复制指定文件到本地主机的指定目录下,基本语法格式如下: scp user@ip:/path/to/remote/file /path/to/local/directory 参数说明: user@ip::指的是用户名和远程服务器的IP地址,如root@192.168.3.5。注意,用户名和 阅读全文
posted @ 2023-01-31 12:16 猪脚踏浪 阅读(3350) 评论(0) 推荐(0)
摘要: ftp登录错误信息如下 C:\Users\PC>ftp 192.168.5.74 连接到 192.168.5.74。 220 Welcome to blah FTP service. 200 Always in UTF8 mode. 用户(192.168.5.74:(none)): fileftp 阅读全文
posted @ 2023-01-30 08:57 猪脚踏浪 阅读(1714) 评论(1) 推荐(1)
摘要: 一:ftp命令上传报错,很明显是无法创建文件 ftp> put tomcat.gif 200 PORT command successful. Consider using PASV. 553 Could not create file. ftp的文件夹确实没有写权限,授权 [root@localh 阅读全文
posted @ 2022-11-21 23:21 猪脚踏浪 阅读(2515) 评论(0) 推荐(0)
摘要: ftpClient.changeWorkingDirectory(path) 切换带/的路径一直返回false 由于使用的是普通账号登录,将用户禁锢在了宿主目录。 解决方法: 将vsftpd.conf文件中的打开chroot_local_user=YES,重启vsftpd即可。 阅读全文
posted @ 2022-11-21 17:15 猪脚踏浪 阅读(1569) 评论(0) 推荐(0)
摘要: 错误提示: connect failed: Connection timed out. 注意开放允许客户端链接的端口,比如30001-30500.不然总是会提示超时。 /sbin/iptables -I INPUT -p tcp --dport 30001:30500 -j ACCEPT 阅读全文
posted @ 2022-11-21 17:13 猪脚踏浪 阅读(1430) 评论(0) 推荐(0)
摘要: 解决办法,关闭占用该端口进程 1. 以管理员的身份运行cmd命令窗口来查看端口占用情况(输入要查询的端口号) netstat -ano | findstr 8080 显示如下 TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING 6588 LISTENING 后面6588就是 阅读全文
posted @ 2022-11-08 15:08 猪脚踏浪 阅读(2217) 评论(0) 推荐(0)
摘要: 获取当前脚本目录 DIR="$( cd"$( dirname"${BASH_SOURCE[0]}" )" && pwd )" 详细解释如下: ${BASH_SOURCE[0]}表示bash脚本的第一个参数,获取当前执行的shell文件所在的路径及文件名 dirname表示提取参数里的目录,去除文件名 阅读全文
posted @ 2022-09-26 20:57 猪脚踏浪 阅读(1889) 评论(0) 推荐(0)
摘要: 解决方法一 <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://xxxxxx/abc“ userId="root" password="xxxxxx"> <!--防止生成不同库同名表--> < 阅读全文
posted @ 2022-09-14 09:33 猪脚踏浪 阅读(139) 评论(0) 推荐(0)
摘要: 方法一 npm install --ignore-scripts 阅读全文
posted @ 2022-05-07 18:18 猪脚踏浪 阅读(570) 评论(0) 推荐(0)
摘要: 配置 applicatioin.properties 方法一: Logback日志打印sql,出现在log中 logging.level.com.springboot.test.mapper=debug 方法二: 使用mybatis配置打印sql,但是不出现在log中 mybatis.configu 阅读全文
posted @ 2022-02-24 14:59 猪脚踏浪 阅读(463) 评论(0) 推荐(1)
上一页 1 2 3 4 5 6 ··· 14 下一页