值得学习的C语言开源项目 1. Webbench Webbench是一个在linux下使用的非常简单的网站压测工具。它使用fork()模拟多个客户端同时访问我们设定的URL,测试网站在压力下工作的性能,最多可以模拟3万个并发连接去测试网站的负载能力。Webbench使用C语言编写, 代码实在太简洁, ...
分类:
编程语言 时间:
2021-03-09 13:22:44
阅读次数:
0
内核的任务 内核接管所有操作系统进程,比如内存管理、任务调度、读入/写出、进程通信,以及整个系统的控制。 启动阶段 这分为两个阶段加载:第一阶段,内核被载入内存并解压,并设置某些基本功能(如内存管理)。第二阶段,控制权切换到主要的内核启动进程。一旦内核完全运作,内核便开始查找并运行初始化进程(ini ...
分类:
系统相关 时间:
2021-03-08 13:52:01
阅读次数:
0
package com.app.frame.ldap; import java.util.Enumeration;import java.util.Hashtable; import javax.naming.Context;import javax.naming.NamingEnumeration ...
分类:
编程语言 时间:
2021-03-08 13:05:28
阅读次数:
0
1-1. var let const 区别 var 是es5语法,有变量提升 let const是es6语法, 有块级作用域 var let 是变量,可修改;cosnt是常量,不可修改 2-1. typeof返回哪些类型 值类型:undefined string number boolean sym ...
分类:
其他好文 时间:
2021-03-08 13:04:03
阅读次数:
0
Given a collection of number segments, you are supposed to recover the smallest number from them. For example, given { 32, 321, 3214, 0229, 87 }, we c ...
分类:
其他好文 时间:
2021-03-06 14:47:20
阅读次数:
0
组件传参 散记点(父传子) v-bind传入Number,Function,Object等类型 <mycomponent :count="100" :data="{name: "wise"}" :list="['foo','bar']" :action="() => {}"/> 传递组件,组件变量形 ...
分类:
其他好文 时间:
2021-03-06 14:19:47
阅读次数:
0
1 #pragma warning(disable:4996) 2 #define _CRT_SECURE_NO_WARNINGS 3 4 #include <iostream> 5 #include <algorithm> 6 #include <cmath> 7 #include <vector ...
分类:
其他好文 时间:
2021-03-05 13:14:39
阅读次数:
0
Given an array of integers nums and an integer target. Return the number of non-empty subsequences of nums such that the sum of the minimum and maximu ...
分类:
其他好文 时间:
2021-03-03 12:23:05
阅读次数:
0
MyFlash工具是美团开发的一个开源辅助性工具,主要用来恢复数据(误删删除是每个DBA比较头疼的事情) MyFlash的安装和使用 下载地址:https://github.com/Meituan-Dianping/MyFlash 1.环境说明: 1)本机是centos7.x 2)mysql5.7. ...
分类:
其他好文 时间:
2021-03-03 12:15:57
阅读次数:
0
环境:ubuntu-server18.4 with desktop installed 问题:安装ubuntu之后启动系统网卡没有自动启动,然后我就在 /etc/netplan/xxxx-netcfg.yaml文件下面加上了下面的信息: ethernets: ens33: dhcp4: true d ...
分类:
Web程序 时间:
2021-03-02 11:45:10
阅读次数:
0