###这错误就尼玛离谱 在python安装包的时候出现,吐了 ###解决方法 find / -name lsb_release 找到这个命令的目录 rm -rf /usr/bin/lsb_release 目录按找到的为准 解决,记录一下 ...
分类:
其他好文 时间:
2020-06-09 20:50:40
阅读次数:
86
1. Unix的五种I/O模型 从上往下:阻塞程度(高 低)I/O效率 (低 高) 阻塞I/O(Blocking I/O):传统的IO模型 非阻塞I/O(Non-Blocking I/O): 注意这里所说的NIO并非Java的NIO(New IO)库。 I/O多路复用(I/O Multiplexin ...
分类:
其他好文 时间:
2020-06-08 19:26:42
阅读次数:
73
Given a string s and a non-empty string p, find all the start indices of p's anagrams in s. Strings consists of lowercase English letters only and the ...
分类:
其他好文 时间:
2020-06-08 11:06:25
阅读次数:
76
Given two non-negative integers num1 and num2 represented as string, return the sum of num1 and num2. Note: The length of both num1 and num2 is < 5100 ...
分类:
其他好文 时间:
2020-06-06 11:10:45
阅读次数:
57
标题1-6 段落,换行,行距 换行 水平线 粗体 斜体 &; symbol non-breaking space > greater than < less than 1.image tag <img src="" alt="" [title=] [width=] [height=""]> src: ...
分类:
Web程序 时间:
2020-06-05 21:18:11
阅读次数:
81
从linux源码看socket的阻塞和非阻塞 笔者一直觉得如果能知道从应用到框架再到操作系统的每一处代码,是一件Exciting的事情。 大部分高性能网络框架采用的是非阻塞模式。笔者这次就从linux源码的角度来阐述socket阻塞(block)和非阻塞(non_block)的区别。 本文源码均来自 ...
分类:
系统相关 时间:
2020-06-04 13:42:55
阅读次数:
58
更新源 deb http://http.kali.org/kali kali-rolling main contrib non-free deb-src http://http.kali.org/kali kali-rolling main contrib non-free 安装中文输入法 sudo ...
分类:
系统相关 时间:
2020-06-04 10:38:45
阅读次数:
89
调度器和服务器组都必须在物理上有一个网卡通过不分段的局域网相连,即通过交换机或者高速的HUB相连,中间没有隔有路由器。VIP地址为调度器和服务器组共享,调度器配置的VIP地址是对外可见的,用于接收虚拟服务的请求报文;所有的服务器把VIP地址配置在各自的Non-ARP网络设备上,它对外面是不可见的,只... ...
分类:
其他好文 时间:
2020-06-02 11:21:37
阅读次数:
57
题目如下: Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and r ...
分类:
其他好文 时间:
2020-06-01 18:02:06
阅读次数:
65
我查了一下解决这个问题的办法,一般是设定全局变量,今天介绍一种新办法 上代码difrouters.py from flask import Flask, render_template app = Flask(__name__) class DataStore(): a = None c = Non ...
分类:
编程语言 时间:
2020-05-31 17:51:19
阅读次数:
100