Table of Contents解开安装配置安装bug解决打不开的问题解决不能输入中文解开安装配置sudo emacs /etc/pacman.conf[multilib]Include = /etc/pacman.d/mirrorlist安装sudo pacman -S deepin.com.q... ...
分类:
其他好文 时间:
2019-12-19 16:24:06
阅读次数:
111
Table of Contents解开安装配置安装bug解开安装配置sudo emacs /etc/pacman.conf[multilib]Include = /etc/pacman.d/mirrorlist安装sudo pacman -S deepin.com.qq.officebugsudo ... ...
分类:
其他好文 时间:
2019-12-14 21:09:12
阅读次数:
324
animation-timing-function 语法: animation-timing-function:<single-animation-timing-function>[,<single-animation-timing-function>]* <single-animation-tim ...
分类:
其他好文 时间:
2019-12-14 15:24:01
阅读次数:
63
直接使用官方子包可以实现websocket协议, golang.org/x/net/websocket 如果在这个目录没有这个包就去github下载net库,放进这个目录$GOPATH/src/golang.org/x/net就行了 服务端代码: package main import ( "tim ...
分类:
Web程序 时间:
2019-12-14 10:02:04
阅读次数:
117
Google C++ Style Guide 书籍:C++ Primer,C++标准程序库,Effective C++,C++ concurrency in Action, Linux多线程服务端编程 读取数量不定的输入数据 while内返回其左侧运算符,即std:cin, 当istream作为条件 ...
分类:
编程语言 时间:
2019-12-13 22:06:55
阅读次数:
113
1059 Prime Factors (25分) Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p?1???k?1?? ...
分类:
其他好文 时间:
2019-12-13 12:14:02
阅读次数:
83
/*本题题意求出周期串的最短长度:eg : hohoho 那么此周期串的长度可以为2 (ho) 同时也可以为 6(hohoho) 最短长度当然就是2本题思路: 求出周期串, 必然存在一个周期, 设定一个循环, i代表周期的长度,从1递增,最长的长度为字符串的长度 s.size(), 通过周期 将 字 ...
分类:
其他好文 时间:
2019-12-12 13:14:51
阅读次数:
103
redis服务器就是一个事件驱动程序,服务器需要处理两类事件: 文件事件(file-event): redis服务器通过套接字与客户端进行连接。 文件事件就是服务器对于套接字操作的抽象。 服务器与客户端的通信会产生相应的文件事件 服务器通过监听并处理这些事件来完成一系列网络通信操作 时间事件(tim ...
分类:
其他好文 时间:
2019-12-09 12:23:10
阅读次数:
102
传送门 题意: 给你K个模式串, 然后,再给你 n 个字符, 和它们出现的概率 p[ i ], 模式串肯定由给定的字符组成。 且所有字符,要么是数字,要么是大小写字母。 问你生成一个长度为L的串,不包含任何模式串的概率是多少。 解: 记忆化搜索 + AC自动机。 对模式串建一个AC自动机, 不需要l ...
分类:
其他好文 时间:
2019-12-08 01:03:06
阅读次数:
92
import unittest,HTMLTestRunnerimport osdef runa(): path=os.getcwd() print(path) a=unittest.defaultTestLoader.discover(path, pattern='login*.py') al=un ...
分类:
编程语言 时间:
2019-12-07 17:59:22
阅读次数:
134