摘要: select exists ( SELECT * FROM hy_driver_car WHERE car_id=55 and driver_user_id <> 1 ) d 阅读全文
posted @ 2025-04-08 23:29 程序员の奇妙冒险 阅读(14) 评论(0) 推荐(0)
摘要: brew install nginx 卸载: /usr/local/Homebrew/bin/brew uninstall nginx 需要手动删除的目录: 1、cd /usr/local/var/ 目录下的 www目录 2、cd /usr/local/etc/ 目录下的 nginx目录 1.安装完 阅读全文
posted @ 2025-04-08 14:53 程序员の奇妙冒险 阅读(67) 评论(0) 推荐(0)
摘要: 以安装node14为例 breww 安装node 使用 n 切换版本无效,去官网下载pkg 安装包没有这个问题 安装brew install node@14 卸载brew uninstall node@14 当执行brew install node@14命令。下载安装完成后会提升如下 If you 阅读全文
posted @ 2025-04-08 14:51 程序员の奇妙冒险 阅读(97) 评论(0) 推荐(0)
摘要: ![image](https://img2024.cnblogs.com/blog/3615923/202504/3615923-20250408143928956-1701134441.png) ![image](https://img2024.cnblogs.com/blog/3615923/202504/3615923-20250408144006952-1992491058.png) 阅读全文
posted @ 2025-04-08 14:40 程序员の奇妙冒险 阅读(26) 评论(0) 推荐(0)
摘要: AiXcoder Code Completer github copilot AI根据注释自动生成代码 murphysec 检查maven依赖包版本漏洞 MOMO Code Sec Inspector plugin 检测代码漏洞,一键修复! GitToolBox 光标点击的代码行之后显示 git 用 阅读全文
posted @ 2025-04-08 14:38 程序员の奇妙冒险 阅读(48) 评论(0) 推荐(0)
摘要: debug模式下启动项目在Build阶段卡顿 在命令终端执行:hostname 将 打印出来的 hostname放入 /etc/hosts中, 如下 127.0.0.1 localhost iMac.local ::1 localhost iMac.local 阅读全文
posted @ 2025-04-08 14:36 程序员の奇妙冒险 阅读(21) 评论(0) 推荐(0)
摘要: 在页面 html 标签添加style="filter: grayscale(100%)"样式即可 <html style="filter: grayscale(100%)"> 主要是在 html标签中加style="filter: grayscale(100%)"样式即可实现页面暗灰色,效果如图 阅读全文
posted @ 2025-04-08 14:33 程序员の奇妙冒险 阅读(9) 评论(0) 推荐(0)
摘要: jdk环境变量配置tools.jar # ./hadoop com.sun.tools.javac.Main WordCount.java 变量需要的环境变量配置 export HADOOP_CLASSPATH=${JAVA_HOME}/lib/tools.jar 命令方式编译java文件 创建Wo 阅读全文
posted @ 2025-04-08 14:28 程序员の奇妙冒险 阅读(45) 评论(0) 推荐(0)
摘要: 加载本地驱动 连接提示缺少日志依赖包 将phoenix 目录下有个lib目录,将里面的log4j依赖包也加载加载进来即可,如图上图所示 阅读全文
posted @ 2025-04-03 15:34 程序员の奇妙冒险 阅读(52) 评论(0) 推荐(0)
摘要: Cell c3 = row.createCell(2); cellStyle3.setAlignment(HorizontalAlignment.LEFT); c3.setCellStyle(cellStyle3); c3.setCellType(CellType.FORMULA); // 设置列的 阅读全文
posted @ 2025-04-03 15:30 程序员の奇妙冒险 阅读(21) 评论(0) 推荐(0)
摘要: import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import org.apache.poi.ss.usermodel.*; im 阅读全文
posted @ 2025-04-03 15:28 程序员の奇妙冒险 阅读(29) 评论(0) 推荐(0)
摘要: public void exportRecordResult(@RequestParam("templatesId") Long templatesId, HttpServletResponse response) throws Exception { List<RoutesTaskRecordRe 阅读全文
posted @ 2025-04-03 15:27 程序员の奇妙冒险 阅读(215) 评论(0) 推荐(0)
摘要: 执行git clone报如下错误: fatal: unable to access 'https://github.com/xxx/xxx.git/': CONNECT tunnel failed, response 443 查资料发现可能是代理问题导致。 执行这个命令可以看到自己的代理设置: en 阅读全文
posted @ 2025-04-03 15:24 程序员の奇妙冒险 阅读(178) 评论(0) 推荐(0)
摘要: Git配置 Git安装完之后,需做最后一步配置。打开git bash,分别执行以下两句命令 git config --global user.name “用户名” git config --global user.email “邮箱” 用户名看自己喜欢起,一般都是起些容易记的,亦或者某个简称,邮箱选 阅读全文
posted @ 2025-04-03 15:23 程序员の奇妙冒险 阅读(16) 评论(0) 推荐(0)
摘要: #sudo apt-get -y install mysql-server mysql-client // 登录MySQL,MySQL的root用户密码默认空 #sudo mysql -u root 如果遇到ERROR 1698 (28000): Access denied for user 'ro 阅读全文
posted @ 2025-04-03 15:16 程序员の奇妙冒险 阅读(8) 评论(0) 推荐(0)
摘要: 设置root用户允许任何地址访问 update user set host = '%' where user = 'root'; 刷新生效 FLUSH PRIVILEGES; 阅读全文
posted @ 2025-04-03 15:15 程序员の奇妙冒险 阅读(7) 评论(0) 推荐(0)
摘要: 安装环境CentOS 6,理论其他环境一样,下载对应版本即可 安装mysql 下载mysql wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz 解压 tar xz 阅读全文
posted @ 2025-04-03 15:12 程序员の奇妙冒险 阅读(43) 评论(0) 推荐(0)
摘要: vmw虚拟机 CentOS 7 安装oracle 参考:http://blog.itpub.net/69975956/viewspace-2706044/ wget https://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getPackag 阅读全文
posted @ 2025-04-03 15:04 程序员の奇妙冒险 阅读(37) 评论(0) 推荐(0)
摘要: 下载node.js 解压 配置 /etc/profile 环境变量 export PATH=$PATH:/home/czw/mysoft/node-v10.15.3/bin 验证 $ node -v && npm -v 阅读全文
posted @ 2025-04-03 14:57 程序员の奇妙冒险 阅读(81) 评论(0) 推荐(0)
摘要: 版本 CentOS 7.3 Redis 4.0.2 下载redis wget http://download.redis.io/releases/redis-4.0.2.tar.gz #创建目录 sudo mkdir /usr/redis #解压 sudo tar -zvxf redis-4.0.2 阅读全文
posted @ 2025-04-03 14:55 程序员の奇妙冒险 阅读(113) 评论(0) 推荐(0)