Description
Mr.Dog was fired by his company. In order to support his family, he must find a new job as soon as possible. Nowadays, It's hard to have a job, since there are swelling numbers of the...
分类:
其他好文 时间:
2014-07-27 23:57:39
阅读次数:
630
A hard puzzle
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 28814 Accepted Submission(s): 10315
Problem Description
lcy gives a ha...
分类:
其他好文 时间:
2014-07-27 11:33:52
阅读次数:
228
制作一个系统镜像上传到/mnt/p_w_picpath目录下:
centos6.5.img$glancep_w_picpath-create–namecentos6.5–disk-format=qcow2–container-format=bare–is-public=True–file=/mnt/p_w_picpath/centos6.5.img
解释:
–nameNAME上传完镜像在openstack中显示的名称..
分类:
其他好文 时间:
2014-07-26 03:09:27
阅读次数:
636
今天略微合拢了一下笔记本,然后Ubuntu unity死掉了,Ctrl-Alt-1进入terminal, 登录后重新启动系统,发现wif不能用了。上网查了一个命令,可以检查软硬件禁用的状况:root@dean-Latitude-3330:~# rfkill list
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: dell...
分类:
其他好文 时间:
2014-07-26 01:59:26
阅读次数:
251
===== 为Xen虚拟机扩容根文件系统(LVM) =====1. 增加1个4G的映像文件# dd if=/dev/zero of=data.img bs=4k seek=1024k count=12. 更改虚拟机配置:disk = [ "tap:aio:/xen_images/xen_centos...
分类:
其他好文 时间:
2014-07-25 16:40:41
阅读次数:
536
keywords:grub1,grub2,gnome,kde,question describe:install centos7 by U disk,出现问题,解决办法:install centos7test this media &install centos7troubles shooting当...
分类:
系统相关 时间:
2014-07-25 13:55:01
阅读次数:
337
在使用novaresize去修改虚拟机的配置的时候,实际调用的是migrate的代码。在默认情况下,执行resize的时候,首先会进行磁盘disk镜像和后端镜像进行一个合并成raw,然后转换成qcow2的过程。而且会进行迁移的动作。整个过程会相当的消耗时间,而且我们一般只需要修改cpu和mem的大..
分类:
其他好文 时间:
2014-07-25 11:37:52
阅读次数:
255
因为都是中文题,题意就不写了。A、Energy Conversion这题先推断一下能量能否添加,然后再依据添加这个公式去求出一个等比公式,就能够直接求出须要添加几次了B、Disk Schedule首先轨道转移和读取数据时间肯定是要花进去的,剩下就是看转的那部分时间,从0,0開始,回到0,0,中间经过...
分类:
其他好文 时间:
2014-07-24 14:39:05
阅读次数:
247
一. redis
Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http...
分类:
其他好文 时间:
2014-07-24 10:32:58
阅读次数:
223
Nothing to hard to think. Just take care of boundary conditions.class Solution {public: string convert(string s, int nRows) { if(s.empty() |...
分类:
其他好文 时间:
2014-07-23 15:04:36
阅读次数:
227