上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要: 在Linux下如何挂载,具体步骤如下: 1、查看是否已经分配 [root@localhost home]# fdisk -l 磁盘 /dev/sda:64.4 GB, 64424509440 字节,125829120 个扇区 Units = 扇区 of 1 * 512 = 512 bytes 扇区大 阅读全文
posted @ 2020-06-24 14:18 桂长江 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 1,设置或获取对象指定的文件名或路径。console.log(window.location.pathname)2,设置或获取整个 URL 为字符串。console.log(window.location.href);3,设置或获取与 URL 关联的端口号码。console.log(window.l 阅读全文
posted @ 2020-06-23 10:07 桂长江 阅读(2792) 评论(0) 推荐(0) 编辑
摘要: 1、first-childfirst-child表示选择列表中的第一个标签。代码如下: li:first-child{background:#090}上面的意思是,li 列表中的 第一个li模块的背景颜色。2、last-childlast-child表示选择列表中的最后一个标签,代码如下: li:l 阅读全文
posted @ 2020-06-17 16:21 桂长江 阅读(953) 评论(0) 推荐(0) 编辑
摘要: SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar c = Calendar.getInstance();1.过去七天 c.setTime(new Date()); c.add(Calenda 阅读全文
posted @ 2020-03-25 23:49 桂长江 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 如何使用jdk中的keytool.exe生成一个签名文件?1、通过命令行cmd进入jdk的bin目录下,会发现有一个keytool.exe文件执行命令:keytool -genkey -alias test.keystore -keyalg RSA -validity 10000 -keystore 阅读全文
posted @ 2020-02-28 14:49 桂长江 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: 实体类 public class Menu { // 菜单id private String id; // 菜单名称 private String name; // 父菜单id private String parentId; // 菜单url private String url; // 菜单图标 阅读全文
posted @ 2020-02-19 23:43 桂长江 阅读(3483) 评论(0) 推荐(0) 编辑
摘要: 一、概述 网格布局(Grid)是最强大的 CSS 布局方案。 它将网页划分成一个个网格,可以任意组合不同的网格,做出各种各样的布局。以前,只能通过复杂的 CSS 框架达到的效果,现在浏览器内置了。 上图这样的布局,就是 Grid 布局的拿手好戏。 Grid 布局与 Flex 布局有一定的相似性,都可 阅读全文
posted @ 2019-12-21 17:09 桂长江 阅读(568) 评论(0) 推荐(0) 编辑
摘要: js-清空array数组 两种实现方式: 1.splice:删除元素并添加新元素,直接对数组进行修改,返回含有被删除元素的数组。 arrayObject.splice(index,howmany,element1,.....,elementX) index:必选,规定从何处添加/删除元素。 howm 阅读全文
posted @ 2019-12-15 23:02 桂长江 阅读(860) 评论(0) 推荐(0) 编辑
摘要: js中数组元素的添加和删除 js中数组元素常用添加方法是直接添加、push方法以及unshift方法 删除方法则是delete、pop、shift 集修改方法为一身的则是splice 1、添加: (1)直接添加通常都是这样 var arr=[]; arr[0]="first"; arr[1]="se 阅读全文
posted @ 2019-12-15 22:57 桂长江 阅读(3473) 评论(0) 推荐(0) 编辑
摘要: 1.对象与字符串之间的互转 将对象转换成为字符串 String str = JSON.toJSONString(infoDo); 字符串转换成为对象 InfoDo infoDo = JSON.parseObject(strInfoDo, InfoDo.class); 2.对象集合与字符串之间的互转 阅读全文
posted @ 2019-12-03 14:23 桂长江 阅读(5158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 下一页