码迷,mamicode.com
首页 >  
搜索关键字:sed 基本用法    ( 12859个结果
Sed - Edit crontab with sed
Remove log redirection: ZUBT:/home/scnzzh $> crontab -l #00 09 * * * ~/zzh.py >> ~/zzh_`date +\%Y\%m\%d_\%H\%M\%S`.log 2>&1 #00 10 * * * ~/zzh.py >> ~ ...
分类:其他好文   时间:2021-02-10 13:26:49    阅读次数:0
Go语言基础之time包
Go语言基础之time包 时间和日期是我们编程中经常会用到的,本文主要介绍了Go语言内置的time包的基本用法。 time包 time包提供了时间的显示和测量用的函数。日历的计算采用的是公历。 时间类型 time.Time类型表示时间。我们可以通过time.Now()函数获取当前的时间对象,然后获取 ...
分类:编程语言   时间:2021-02-10 13:08:17    阅读次数:0
Spring Boot注解之@ComponentScan用法和实现原理
介绍Spring Boot 注解@ComponentScan的作用和基本用法 ...
分类:编程语言   时间:2021-02-09 12:25:15    阅读次数:0
java8--lambda
LinkedHashMap<String,User> result = //方法一 map.entrySet().stream() //根据User中某个字段进行排序 .sorted(Map.Entry.comparingByValue( //若为Map<String,String>,则不需要下面这 ...
分类:编程语言   时间:2021-02-06 11:44:18    阅读次数:0
mysql数据库5.7版本部署
1.安装前准备: (mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz 二进制安装包 + centos7.4系统,有yum环境,可以在www.mysql.com官网下载) 2.开始安装 shell> yum install libaio shell> groupad ...
分类:数据库   时间:2021-02-05 10:34:24    阅读次数:0
Mybatis plus 多表联查字段名重复报错 Column ‘id‘ in where clause is ambiguous
一、报错信息 Caused by: Column 'xxxx' in where clause is ambiguous 二、报错原因 表 person 和 表 class 都有字段 id 和 name ,所以要给它们增加别名来进行区分。 PersonVOMapper.java public int ...
分类:其他好文   时间:2021-02-04 12:11:49    阅读次数:0
【背包九讲专题】完全背包
暴力朴素无优化写法: #include<bits/stdc++.h> using namespace std; const int maxn=1e3+5; int dp[maxn][maxn]; int v[maxn],w[maxn]; int main(){ int n,m;scanf("%d%d ...
分类:其他好文   时间:2021-02-04 12:02:33    阅读次数:0
shell 修改json配置。
#1.方法1 通过sed命令,删除对应行,再增加行,增加缩进。 #2.具体操作 ##2.1删除行 nl 要删除的json文件 | sed '2,5d' 或者 sed '2d' 要删除的json 补充说明:nl命令-增加显示文件的行号。 sed命令-2~5d删除指定行 ##2.2增加行 sed '4a ...
分类:Web程序   时间:2021-02-02 10:53:10    阅读次数:0
接口返回参数
public ResponseData deliveryScan(WmsInspectTaskVO dto, HttpServletRequest request) { IRequest requestContext = createRequestContext(request); Response ...
分类:其他好文   时间:2021-02-02 10:41:32    阅读次数:0
git和github的基本用法
1、git的安装:(我是windows) 查看git版本号(未安装则不会出现版本号,去官网下载对应版本的git即可) git --version 在桌面空白处右键,会出现git gui here和git bash here 2、github上头像不显示的问题及解决: 修改hosts文件:C:\Win ...
分类:其他好文   时间:2021-01-29 12:09:52    阅读次数:0
12859条   上一页 1 ... 12 13 14 15 16 ... 1286 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!