一 sed介绍 ? sed全称(stream editor)流式编辑器,Sed主要用来自动编辑一个或多个文件、简化对文件的反复操作、编写转换程序等,工作流程如下 sed 是一种在线的、非交互式的编辑器,它一次处理一行内容。处理时,把当前处理的行存储在 临时缓冲区中,称为“模式空间”(pattern ...
分类:
其他好文 时间:
2021-06-29 16:05:54
阅读次数:
0
一 awk简介 ? awk命名源自于它的三大作者名字的首字母,分别是Alfred Aho、Brian Kernighan、Peter Weinberger。(gawk是awk的GNU版本,它提供了Bell实验室和GNU的一些扩展)。 ? awk 是一种编程语言,用于在linux/unix下对文本和数 ...
分类:
其他好文 时间:
2021-06-29 16:04:59
阅读次数:
0
题目链接:https://leetcode-cn.com/problems/non-overlapping-intervals/submissions/ 题目描述: 题解: class Solution { public: static bool cmp(vector<int> &a, vector ...
分类:
其他好文 时间:
2021-06-29 16:04:44
阅读次数:
0
解决方法: 1. 查看端口是否被占用:lsof -i:1087 若没有返回则没有占用。 2. 查看代理:env|grep -i proxy 返回结果: 结论:使用代理导致访问失败 3. 解决方法:直接输入export ALL_PROXY="" ...
分类:
系统相关 时间:
2021-06-29 15:32:50
阅读次数:
0
简介 对cmp的理解能力 常规题 code #include <iostream> #include <string> #include <vector> #include <algorithm> using namespace std; struct Student{ int idx; int n ...
分类:
其他好文 时间:
2021-06-28 21:01:31
阅读次数:
0
题目链接:用最少数量的箭引爆气球 题目描述: 题解: class Solution { public: static bool cmp(vector<int> &a, vector<int> &b) //按右边界排序 { return a[1] < b[1]; } int findMinArrowS ...
分类:
其他好文 时间:
2021-06-28 20:44:14
阅读次数:
0
reactivity api: https://v3.vuejs.org/api/reactivity-api 获取响应式数据 API 传入 返回 备注 reactive plain-object 对象代理 深度代理对象中的所有成员 readonly plain-object or proxy 对象 ...
1.查看IP地址,可以用ifconfig或者ifconfig | grep 192 2.查看端口netstat -tpln或者netstat -tunlp 3.8083是Tomcat端口,3306是MySQL数据库端口 4.Jmeter永久选择中文,在jmeter的bin目录中,打开jmeter.p ...
分类:
系统相关 时间:
2021-06-28 19:54:39
阅读次数:
0
1 CREATE FUNCTION [dbo].[parseJSON] (@Json NVARCHAR(MAX)) 2 RETURNS @hierarchy TABLE (element_id INT IDENTITY(1, 1) NOT NULL, /* internal surrogate pr ...
分类:
数据库 时间:
2021-06-28 18:39:44
阅读次数:
0
sed -i "s|enabled=1|enabled=0|g" /etc/yum/pluginconf.d/fastestmirror.conf mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backu ...
分类:
其他好文 时间:
2021-06-28 17:56:12
阅读次数:
0