一些相关概念 imply global 暗示全局变量:如果变量没有声明直接赋值,系统不会报错.此时该变量归为全局对象window对象所有。等效于在全局用 var 关键字声明该变量。例如, 直接 a = 10; 这时候 window.a == 10 this.a == 10,这里this指向windo ...
分类:
Web程序 时间:
2020-12-02 12:07:22
阅读次数:
7
Docker容器技术入门(一)收录于话题#Docker专辑9个1Docker技术介绍DOCKER是一个基于LXC技术之上构建的container容器引擎,通过内核虚拟化技术(namespace及cgroups)来提供容器的资源隔离与安全保障,KVM是通过硬件实现的虚拟化技术,它是通过系统来实现资源隔离与安全保障,占用系统资源比较小官方网站:https://www.docker.com/Docker
分类:
其他好文 时间:
2020-12-02 11:53:58
阅读次数:
4
基环树 基环树直径 P3248 #include<bits/stdc++.h> using namespace std; #define ll long long const int N=1e5+5; int n; int te,v[N<<1],pre[N<<1],tail[N]; ll L,len ...
分类:
其他好文 时间:
2020-12-01 12:29:19
阅读次数:
7
/** * Note: The returned array must be malloced, assume caller calls free(). */ #define MAX_IP_ADR 1000 #if 0 int IsValid(char* s, int i, int j) { int ...
分类:
其他好文 时间:
2020-12-01 12:10:43
阅读次数:
10
【北京·外派】文思海辉外派|测试工程师点击上面文字添加关注!推荐指数★★★★★有志者自有千计万计,无志者只感千难万难。#文思海辉外派职位测试工程师【岗位职责】抖音组:1、学历要求本科,但能力好的专科也可以推荐;至少2年以上实际工作经验;2、APP功能测试,熟悉Linux基本命令;逻辑强,沟通能力好;3、用例设计考虑全面,沟通、表达和学习能力强;4、做过的项目模块描述清楚,有一定的问题定位能力;5、
分类:
其他好文 时间:
2020-11-30 15:49:49
阅读次数:
6
1)配置flume(flume-kafka.conf) # define a1.sources = r1 a1.sinks = k1 a1.channels = c1 # source a1.sources.r1.type = exec a1.sources.r1.command = tail -F ...
分类:
Web程序 时间:
2020-11-30 15:35:17
阅读次数:
9
###链接 贴一下青君大佬的博客~ #include<bits/stdc++.h> #define IL inline #define LL long long #define pb push_back #define pi pair<int,int> #define mk make_pair us ...
分类:
其他好文 时间:
2020-11-27 11:15:36
阅读次数:
6
测试第一个博客 献上基于C语言的数据结构之线性表 //线性表 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #define MAXSIZE 100 type ...
分类:
其他好文 时间:
2020-11-27 10:59:10
阅读次数:
5
https://www.luogu.com.cn/problem/P3366 1 #define IO std::ios::sync_with_stdio(0) 2 #include <bits/stdc++.h> 3 #define pb push_back 4 using namespace s ...
分类:
其他好文 时间:
2020-11-26 15:24:23
阅读次数:
48
KVM 虚拟化 背景: 随着硬件的设备性能越来越高,成本也越来越低廉,我们在硬件上运行一些程序跑一些业务的时候,可能会对硬件的资源造成一种浪费。这时候我们直接在硬件上采用的一些虚拟化技术,虚拟一些虚拟的机器,让业务泡在虚拟机中。方便后期的维护,迁移 常见的虚拟化: Eg: 云平台 openstack ...
分类:
其他好文 时间:
2020-11-26 14:17:15
阅读次数:
8