Linux查看文件指定行数内容 1、tail date.log 输出文件末尾的内容,默认10行 tail -20 date.log 输出最后20行的内容 tail -n -20 date.log 输出倒数第20行到文件末尾的内容 tail -n +20 date.log 输出第20行到文件末尾的内容 ...
分类:
系统相关 时间:
2021-01-04 10:38:08
阅读次数:
0
Spring Security 学习之旅开端 SpringSecurity 开始 1. 引入依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifact ...
分类:
编程语言 时间:
2021-01-02 11:41:32
阅读次数:
0
int* majorityElement(int* nums, int numsSize, int* returnSize){ int* res =(int*)calloc(2,sizeof(int)); *returnSize=0; if (nums == NULL || numsSize == ...
分类:
其他好文 时间:
2021-01-01 12:50:50
阅读次数:
0
yyyy-mm-dd formatDate: function (date) { function addDateZero(num) { return (num < 10 ? "0" + num : num); } var d = new Date(date); var formatdatetime ...
分类:
Web程序 时间:
2021-01-01 12:46:23
阅读次数:
0
1.把数组里的时间参数转化成值 temp.sorttime = new Date(tempList[i].createTime).getTime(); 2.对数组里的值进行排序 list.sort(this.compare("sorttime")); compare方法 compare(proper ...
分类:
编程语言 时间:
2021-01-01 11:59:12
阅读次数:
0
课程demos DELETE blog # 设置blog的 Mapping PUT /blog { "mappings": { "properties": { "content": { "type": "text" }, "time": { "type": "date" }, "user": { " ...
分类:
其他好文 时间:
2021-01-01 11:51:56
阅读次数:
0
一、题目打开介绍 这是题目本身打开的样子,继续进入题目 二、做题 简单的登陆界面和注册界面,没有sql注入已经尝试 申请发布广告 习惯性的测试 然后开始尝试注入,抓包, 两个都要,经过union注入判断列数,发现是22列 然后收集信息 database() web1 version() 10.2.2 ...
分类:
其他好文 时间:
2021-01-01 11:42:49
阅读次数:
0
SET @i=1; SELECT DATE_FORMAT(NOW(),'%Y-%m-%d') AS CUR_DT, DATE_FORMAT(DATE_ADD(DATE('2020-12-01'),INTERVAL @i DAY),'%Y%m%d') ADD_DT; SET @i=@i+1; ...
分类:
数据库 时间:
2020-12-30 11:30:18
阅读次数:
0
翻译:方法调用:尝试在null上下文对象上调用方法*** 解释:在Thyemleaf上下中不存在所要调用的对象,相当于Java代码中的NullPointerException 解决方案: 1. 需要将期望调用的java实例存入thymeleaf的context域中,代码层面即为:将实例对象存入Req ...
分类:
其他好文 时间:
2020-12-30 10:33:42
阅读次数:
0
var now = new Date(); var hour = now.getHours(); var txt = '你好'; if(hour < 6){ txt = "凌晨好"} else if (hour < 9){txt = "早上好"} else if (hour < 12){txt = ...
分类:
Web程序 时间:
2020-12-29 11:29:37
阅读次数:
0