随笔 - 326,  文章 - 0,  评论 - 0,  阅读 - 16万
04 2021 档案
修改webstorm或者IDEA上下移动的快捷键
摘要:![](https://img2020.cnblogs.com/blog/1341065/202105/1341065-20210508122656642-1171738872.png) 阅读全文
posted @ 2021-04-29 19:53 文种玉 编辑
json-server使用IP地址启动
摘要:`json-server --host 192.168.0.100 --port 3000 db.json` 阅读全文
posted @ 2021-04-27 15:48 文种玉 编辑
JS中的get/set方法编写
摘要:var Person = { age:18, name:"张三", get getAge(){ return this.age; }, get getName(){ return this.name; }, set setAge(age){ this.age = age; }, set setNam 阅读全文
posted @ 2021-04-26 20:53 文种玉 编辑
Linux下搭建Redis服务器
摘要:搭建 https://www.cnblogs.com/zuidongfeng/p/8032505.html 测试 https://www.cnblogs.com/h-change/p/6077874.html 连接 https://www.cnblogs.com/wangyang0210/p/102 阅读全文
posted @ 2021-04-20 19:37 文种玉 编辑
linux虚拟机ping: www.baidu.com: Name or service not known
摘要:1.进入 /etc/sysconfig/network-scripts 目录下 2.打开 ifcfg-enp0s3 将 ONBOOT=no 改为 ONBOOT=yes 3.然后刷新重新获取IP地址 dhclient 阅读全文
posted @ 2021-04-20 18:04 文种玉 编辑
JS中的遍历注意事项
摘要:1.var arr = [18,19,20,40]; * 遍历1 for(var i = 0 ; i < arr.length ; i++){ console.log(typeof i); } 结果: i为number类型 * 遍历2 for(i in arr){ console.log(typeo 阅读全文
posted @ 2021-04-20 15:30 文种玉 编辑
IDEA自带翻译插件
摘要:https://blog.csdn.net/Huangyuhua068/article/details/83099870 阅读全文
posted @ 2021-04-19 20:35 文种玉 编辑
document.write的覆盖问题
摘要:document.write插入标签会覆盖页面的问题 document.write插入js标签会覆盖页面又两种情况: 通过onclick() 点击事件触发执行document.write(),会使document.write()覆盖原来的页面。 在window.onload里面执行document. 阅读全文
posted @ 2021-04-19 11:30 文种玉 编辑
Vue上传XLS文件
摘要:// 使用插件xlsx来把excel文件内容转成json格式: npm install xlsx -S import * as XLSX from 'xlsx'; data() { return { tableData:[] } }, //原生JS+XLSX包实现 xls文件上传 methods: 阅读全文
posted @ 2021-04-19 00:17 文种玉 编辑
springboot使用逆向工程生产mybatis(比程序员写的要好用)
摘要:转换情况 数据库表字段名称 实体对象属性名称 比如: user_name userName product_type productType 如果数据库中的字段名称you多个单词构成,通过MyBatis逆向工程生产的对象属性会 按照驼峰命名规则生产属性名称 --> <id column="id" j 阅读全文
posted @ 2021-04-19 00:11 文种玉 编辑
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
摘要:1.问题出现情况一. mybatis中dao接口与mapper映射配置文件在做映射绑定的时候找不到 解决方案1: 在pom.xml中的build下,手动指定文件夹为resources 添加如下: <resources> <resource> <directory>src/main/java</dir 阅读全文
posted @ 2021-04-18 23:57 文种玉 编辑
解决MyQL客户端远程连接Linux MySQL数据库出现 1045错误的方法
摘要:root用户的权限不够 需要给root用户增加权限 给root用户授权 GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY 'youpassword' WITH GRANT OPTION; /刷新设置令其立即生效/ FLUSH PRIVILEG 阅读全文
posted @ 2021-04-18 20:27 文种玉 编辑
本地MySQL客户端连接远程Linux MySQL之2003-Can't connect to MySQL server on 'IP地址'(10038)的解决办法
摘要:当使用本地MySQL客户端连接远程Linux的时候,出现2003,大概率是Linux操作系统没有关闭数据库 解决方法: 1.查看远程Linux操作系统是否有关闭防火墙 systemctl status firewalld 如果出现 Active Active(running),那么表示Linux操作 阅读全文
posted @ 2021-04-18 20:18 文种玉 编辑
JS经典挖坑题
摘要:console.log(3>2 && 4==4) console.log(3>2 && 4) console.log(0 && 9); console.log(null && '红浪漫') console.log(5 && 8) console.log(5+1 && 8+1) console.log 阅读全文
posted @ 2021-04-17 14:27 文种玉 编辑
JS基础
摘要:1. JavaScript初体验 在 HTML 中,JavaScript 代码必须位于<script>与 </script> 标签之间。 <script> alert('这是我们的第一个js代码'); </script> 注释:旧的 JavaScript 例子也许会使用 type 属性:<scrip 阅读全文
posted @ 2021-04-17 11:41 文种玉 编辑
ASCII码表在线查找
摘要:ASCII在线查找表 https://www.qqxiuzi.cn/bianma/ascii.htm 阅读全文
posted @ 2021-04-17 10:59 文种玉 编辑
JavaScript常见的运算
摘要:<script> /如果说变量乘以1 变量就会被自动隐式转换为数字类型,如果转不了就变成NaN/ var a = "1"; console.log(a * 1);//number类型的 1 var b = "1a"; console.log(b * 1);//NaN /减法也可以/ var c = 阅读全文
posted @ 2021-04-17 09:03 文种玉 编辑
Error:java: 无效的目标发行版: 11
摘要:在SpringBoot项目中出现 Error:java: 无效的目标发行版: 11 表示的你的jdk版本号为11 既然出现这个错误了,修改两个地方 1.pom.xml中 修改jdk版本 2.在Setting下Build,Execution,Deployment下修改jdk的版本号 阅读全文
posted @ 2021-04-16 23:59 文种玉 编辑
五.Maven的依赖的范围
摘要:依赖范围 对于编译classpath有效 对于测试classpath有效 对于运行时classpath有效 compile Y Y Y test - Y - provided Y Y - runtime - Y Y system Y Y - 阅读全文
posted @ 2021-04-16 19:10 文种玉 编辑
IDEA右侧边栏找不到maven生命周期
摘要:Help->Find Action),输入Maven projects IDEA侧边栏消失的万能解决方案 View --> Tool Buttons 阅读全文
posted @ 2021-04-16 08:29 文种玉 编辑
四.Maven的执行步骤
摘要:一.在pom.xml文件夹导入junit包<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc 阅读全文
posted @ 2021-04-15 23:17 文种玉 编辑
三.Maven常用命令
摘要:Maven的常见命令 compile 编译java文件 只能编译正式文件 clean 删除target文件夹 test --mvn test-compile 用来编译测试文件的 测试工程 用来编译测试文件的 package 打包工程 install 安装工程 deploy 发布工程 阅读全文
posted @ 2021-04-15 16:32 文种玉 编辑
二.配置本地maven仓库地址
摘要:本人的maven仓库地址 D:\Program Files\JetBrains\apache-maven-3.5.2\maven_repository 1.找到你要创建存放maven本地仓库的路径 1.2 本人路径: 在D:\Program Files\JetBrains\apache-maven- 阅读全文
posted @ 2021-04-15 16:08 文种玉 编辑
一.构建maven,生成target临时目录,让maven来进行编译java文件
摘要:1.下载maven,省略 2.配置maven环境,省略 2.1 注意:在dos窗口编写mvn -version 出现maven配置的版本号,则maven配置成功 3.生成target临时目录,让maven来进行编译java文件 mvn 3.1 在工作空间中创建一个文件夹,project 目录格式如下 阅读全文
posted @ 2021-04-15 15:54 文种玉 编辑
CSS中怪异盒子模型
摘要:box-sizing:border-box; 阅读全文
posted @ 2021-04-13 20:26 文种玉 编辑
开源免费的图标字体
摘要:https://fontawesome.com/ 阅读全文
posted @ 2021-04-13 19:16 文种玉 编辑
H5中弹性盒子布局
摘要:* 全局(父元素上的属性) * 开启弹性布局 * display:flex //注意:父元素开启弹性布局,子元素会默认水平排列,主轴方向为水平方向 * 弹性布局的主轴位置方向 * flex-derection:row/column/row-reverse/column-reverse //注意: 在 阅读全文
posted @ 2021-04-13 13:02 文种玉 编辑
关闭HBuilderX打开升级提醒
摘要:进入HBuilderX安装目录,然后进入到 plugins / about 子目录,编辑 package.json,将 version 参数的大版本号 1 改成 100。 例如: "version": "1.7.0.20190319" 改成 "version": "100.7.0.20190319" 阅读全文
posted @ 2021-04-09 20:14 文种玉 编辑
css中垂直居中小技巧
摘要:position: 定位; left: 50%; top: 50%; transform: translate(-50%, -50%); 阅读全文
posted @ 2021-04-09 19:16 文种玉 编辑
在Linux操作系统中MySQL数据库创建远程连接
摘要:grant all privileges on . to root@'%' identified by '123'; root: 用户名 123: 在Linux操作系统中安装的mysql密码 如果远程连接不上 1.查看防火墙是否关闭 systemctl list-unit-files | firew 阅读全文
posted @ 2021-04-06 22:34 文种玉 编辑
input与button按钮的区别
摘要:input不自带边框属性 button按钮自带一像素的边框 阅读全文
posted @ 2021-04-02 23:48 文种玉 编辑
CSS中奇偶数的选择器使用小技巧
摘要:p:nth-child(n)中 当为数字时: 表示 从第几个开始查询,下表从1开始 当n为odd时,表示从奇数位开始查找 当n为even时,表示从偶数位开始查找 阅读全文
posted @ 2021-04-02 20:14 文种玉 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示