错误1、Starting Varnish Cache: Error: Cannot open socket: :80: Address family not supported by protocol [FAILED] 错误2:Starting Varnish Cache: Asserterror ...
分类:
其他好文 时间:
2017-06-23 20:57:58
阅读次数:
209
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatena ...
分类:
其他好文 时间:
2017-06-22 17:40:59
阅读次数:
189
解决方式: 又一次安装php 再重新启动apache 再启动nagios 再訪问:http://ip/nagios 我的问题就是 解决的。 解决方式: 又一次安装php 再重新启动apache 再启动nagios 再訪问:http://ip/nagios 我的问题就是 解决的。 ...
分类:
移动开发 时间:
2017-06-22 16:50:02
阅读次数:
127
生成器表达式形式 直接上代码 输出结果 生成器的表达式形式,在每一个包含生成器表达式形式的函数写完后,都必须要执行第一次__next__方法初始化后(即传入一个的默认返回值None),才能够使用send()方法传入值,否则会抛出TypeError错误。 初始化装饰器:使用装饰器装饰的方法进行函数定义 ...
分类:
编程语言 时间:
2017-06-20 16:18:08
阅读次数:
217
其实很菜的哈哈#!/bin/bash
#gjgameserverstartprocedure
#xcnqq:995345781
#version2.0
PATH_DIR=/application/game/game002
prog=game002
start(){
["$EUID"!="0"]&&exit4
cd/application/game/game002/
./game002-d
echo-n$"starting$prog:"
if["$?"-ne0]
the..
分类:
其他好文 时间:
2017-06-19 22:15:10
阅读次数:
151
题目 You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concat ...
分类:
其他好文 时间:
2017-06-19 20:55:54
阅读次数:
143
Power Network Time Limit: 2000MS Memory Limit: 32768K Total Submissions: 25843 Accepted: 13488 Description A power network consists of nodes (power st ...
分类:
Web程序 时间:
2017-06-16 10:15:54
阅读次数:
143
以下内容转自http://ifeve.com/creating-and-starting-java-threads/: Java线程类也是一个object类,它的实例都继承自java.lang.Thread或其子类。 可以用如下方式用java中创建一个线程: Tread thread = new T ...
分类:
编程语言 时间:
2017-06-15 10:37:43
阅读次数:
183
今天的年会已过,仍然是空手而归,不过俺坚信能让生活稳定永远都是努力。由于隔壁组负责年会的抢红包项目,因而趁此机会把通过工具模拟高并发的知识补了补,通过和身边大师的交流,总算是对压力测试有了个简要的了解,尤其是熟悉JMeter的使用(之前还想过自己写个多线程客户端,被大师说重复造轮子不可取)。 Apa ...
分类:
其他好文 时间:
2017-06-14 16:23:32
阅读次数:
153
Description A simple cycle is a closed simple path, with no other repeated vertices or edges other than the starting and ending vertices. The length o ...
分类:
其他好文 时间:
2017-06-14 11:40:07
阅读次数:
153