清脆火

文章
6
资源
0
加入时间
3年1月8天

Gym - 101606F 抛硬币(概率dp)

题面:Here’s a jolly and simple game: line up a row of N identical coins, all with the heads facingdown onto the table and the tails upwards, and for exactly K times take one of the coins, toss iti...

CentOS-5 yum源

先执行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.bak然后"[base]name=CentOS-5.11 - Base - 163.combaseurl=http://mirrors

nginx【21】Nginx的模块

Nginx之所以能有如此多的特性,是因为有大量的第三方开发者,在为它开发模块,Nginx之所以有这么丰富的生态圈,则是因为它的模块设计非常的优良,就比如TCP协议,它从上个世纪70年代设计至今,没有做过大的变动,接下来我们来看下nginx的模块设计究竟有什么高明之处?理解Nginx模块,(1):首先我们要保证它是编译到我们nginx的binary的二进制文件的;(2):其次我们要了解,这个nginx模块究竟提供了哪些配置项?(3):还要了解模块何时被使用?因为有的模块只要编译进ngin