最近遇到导入的csv文件首行为日期,但需要将日期作为列导入到数据库中,直接使用ctl文件好像无法实现,了解到awk这个强大的命令。 导入的CSV文件除了首行为日期,其他的都是格式相同的。需要将首行单独读取出来,获取日期。 首行的格式为:数据日期:2020-06-30 实现方法:var=`(awk ' ...
分类:
其他好文 时间:
2020-07-01 14:09:39
阅读次数:
48
asset_zip(this.delarr).then((res) => { const content = res.data const blob = new Blob([content],{type:"application/zip"}) var timestamp = (new Date()) ...
分类:
其他好文 时间:
2020-07-01 12:56:01
阅读次数:
292
history 命令语法格式 history [-e] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...] 选项 说明 -c 表示清空历史命令 -d,offset 删除历史中指定的第offset 个命令 n ...
分类:
系统相关 时间:
2020-07-01 12:52:43
阅读次数:
56
原型模式属于创造型模式,通过二进制流拷贝已有的对象。 原型模式有浅克隆和深度克隆 案例: 原型接口Iprototype: public interface Iprototype<T> { T clone(); } 原对象实现原型接口: @Data public class Teacher imple ...
分类:
编程语言 时间:
2020-07-01 12:47:30
阅读次数:
63
truncate 英[tr???ke?t] 美[?tr??ke?t] v. 截短,缩短,删节(尤指掐头或去尾); [例句]Basal leaf blade oblong or elliptic, truncate or cuneate at base. 基生叶长圆形或椭圆形,截形或楔形在基部。 [其 ...
分类:
其他好文 时间:
2020-07-01 12:47:13
阅读次数:
59
No provider available for the service seckill.com.seckilldubbo.service.UserService from the url zookeeper://127.0.0.1:2181/org.apache.dubbo.registry.R ...
分类:
编程语言 时间:
2020-07-01 12:43:20
阅读次数:
113
定义一个 SqlIntercepor 类 import com.culturalCenter.placeManage.globalConfig.Interface.InterceptAnnotation; import org.apache.ibatis.executor.statement.Sta ...
分类:
数据库 时间:
2020-07-01 12:25:57
阅读次数:
153
买到新服务器的时候先查看系统版本 cat/etc/os-release cat/etc/redhat-release看装了多少包、rpm -qa |wc-l查看系统配置 内存 free -h 查看CPU lscpu 硬盘lsblk 不全:if有技术大牛then 评论 ...
分类:
其他好文 时间:
2020-07-01 12:15:42
阅读次数:
61
签到 浏览器禁用js,在www目录下有 key 命令执行基础 使用 | 可以执行其他命令,在 ../目录下有 key.php cat 一下读出来 你能爆破吗 一开始随便输了个账号的时候不是这个页面,抓包也没看着 cookie😥后来 admin/admin 去访问了一下成了这样的 抓包,保存下来,c ...
分类:
其他好文 时间:
2020-07-01 09:46:26
阅读次数:
199
1.脚本格式 脚本以#!/bin/bash开头(指定解析器) 2.第一个Shell脚本:helloworld (1)需求:创建一个Shell脚本,输出helloworld 1111MicrosoftInternetExplorer402DocumentNotSpecified7.8 磅Normal0 ...
分类:
系统相关 时间:
2020-07-01 00:27:24
阅读次数:
85