ref: http://www.lintcode.com/en/problem/coins-in-a-line/ There are n coins in a line. Two players take turns to take one or two coins from right side ...
分类:
其他好文 时间:
2016-11-05 07:43:06
阅读次数:
256
#仅安装keystoneneutron,用于调试neutron
[[local|localrc]]
SKIP_EPEL_INSTALL=True
#PIP_GET_PIP_URL="http://local_ip/get-pip.py"
DOWNLOAD_DEFAULT_IMAGES=False
#IMAGE_URLS="http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
IMAGE_URLS="ht..
分类:
其他好文 时间:
2016-11-05 03:19:32
阅读次数:
235
1.1 忘记用户密码的解决办法 普通用户,直接用root超级管理员登录进去修改密码就可以了,但是如果root密码丢失了,怎么办呢? 1.1.1 msyqld_saft方式找回密码 停止mysql:service mysqld stop; 安全模式启动:mysqld_safe –skip-grant- ...
分类:
数据库 时间:
2016-11-04 09:36:36
阅读次数:
240
1:命令行 $mvn install -Dmaven.test.skip = true 2:配置文件 <project> [...] <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId> ...
分类:
系统相关 时间:
2016-11-04 01:38:04
阅读次数:
310
mysql(mariadb)忘记登陆密码,提示如下[root@localhost~]#mysql-uroot-p
Enterpassword:
ERROR1045(28000):Accessdeniedforuser‘root‘@‘localhost‘(usingpassword:YES)2.停止mysql[root@localhost~]#systemctlstopmariadb3.使用--skip-grant-tables连接mysql,此时mysql不能..
分类:
数据库 时间:
2016-11-03 19:21:49
阅读次数:
226
koahub-skip koahub skip middleware koahub skip Conditionally skip a middleware when a condition is met. Install npm i koahub-skip --save Usage With ex ...
分类:
Web程序 时间:
2016-11-03 14:04:48
阅读次数:
178
A simple math.. take care of data overflow though. ...
分类:
其他好文 时间:
2016-10-31 12:46:43
阅读次数:
141
A Simple Nim Problem Description Two players take turns picking candies from n heaps,the player who picks the last one will win the game.On each turn ...
分类:
其他好文 时间:
2016-10-29 19:35:39
阅读次数:
312
yum install vsftpd -yyum install pam* db4* --skip-broken –y 创建并生成vsftpd 数据库文件vi /etc/vsftpd/ftpusers.txt,内容如下:第一行为FTP 虚拟用户,登录用户名,第二行为密码,第三行为用户名,依次类推。w ...
分类:
其他好文 时间:
2016-10-29 01:24:46
阅读次数:
178
流:一组有序的数据序列。 1、输入流 所有输入流都是抽象类InputStream或抽象类Reader的子类。 方法:read()、mark()、reset()、skip()、markSupport()、close() 2、输出流 所有输出流都是抽象类OuputStream或抽象类Writer的子类 ...
分类:
其他好文 时间:
2016-10-27 13:26:33
阅读次数:
193