#mkdir /mnt/ISO#mount -o loop /root/CentOS-6.4-x86_64-bin-DVD1.iso /mnt/ISO/#mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_ba...
分类:
其他好文 时间:
2014-07-25 14:24:31
阅读次数:
235
A run loop for a given thread will wait until one or more of its input sources has some data or event, then fire the appropriate input handler(s) to p...
分类:
其他好文 时间:
2014-07-24 17:15:40
阅读次数:
301
疯狂的暑假学习之 汇编入门学习笔记 (十四)—— 直接定址表
参考: 《汇编语言》 王爽 第16章
1. 描述单元长度的标号
普通的标号:a,b
assume cs:code
code segment
a:db 1,2,3,4,5,6,7,8
b:dw 0
start:
mov si,offset a
mov di,offset b
mov ah,0
mov cx,8
s:
mov al,cs:[si]
add cs:[di],ax
inc si
loop s
mov...
分类:
其他好文 时间:
2014-07-24 10:42:58
阅读次数:
235
因为到公司做新的项目,把eclipse,tomcat,Apache全部换成公司指定的版本。然后把各项东西配好搭建起,从SVN上down下项目以后,开始随便打开几个文件看。然后悲剧就发生了,十次打开有八次都直接报Unhandled event loop exception PermGen space的错误,尤其是打开xml,js的时候,或者多开两个文件就直接闪退,查error log就是permge...
分类:
系统相关 时间:
2014-07-24 10:26:34
阅读次数:
261
<?php $ltime=time()-86400*3; ?> {pc:get sql="select * FROM? v9_news where inputtime>$ltime order by id desc"? num="13" page="$page" return="data"} {loop $data $n $r} <li><a target="_blank" href=...
分类:
数据库 时间:
2014-07-22 00:15:35
阅读次数:
252
{pc:get sql="SELECT * FROM v9_news WHERE catid IN (61,62,63,64,65) order by id DESC" num="10"? return="data" } {loop $data $n $r} ?<LI><SPAN><a href="{$CATEGORYS[$r[catid]][url]}">[{$CATEGORYS...
分类:
其他好文 时间:
2014-07-21 14:08:55
阅读次数:
246
使用mount挂载ubuntu虚拟机所在的img文件的时候,执行: “sudo mount -o loop xxx.img /mnt/xxx”, 系统提示: “mount: you must specify the filesystem type” 加上”-t ext3″后仍然报错: mount? : wron...
分类:
其他好文 时间:
2014-07-21 10:27:09
阅读次数:
325
本人Eclipse版本是”eclipse-jee-kepler-SR2-win32-x86_64“ ? ? ? ?昨天因为换电脑,所以重装了一下软件,装好eclipse之后eclipse是可以使用的(换电脑之前也一直是用这个版本)。后来又装了其他一些软件, ...
分类:
编程语言 时间:
2014-07-21 10:14:06
阅读次数:
386
这道题目和分成两块的partition的扩展,例如有一堆0 1 2 数字组成的数组,要分成 00 00 11 1 1 222 2这种顺序的。
利用lumoto版的partition可以很好的解决,比hoare好多了,而且直接利用loop invariant,变成i j k三个指针,[low,i]=0 [i+1,j]=1, [j+1,k-1]=2, 里面如果新来2的话,直接k++,
...
分类:
其他好文 时间:
2014-07-20 10:47:16
阅读次数:
239
---------------loop循环定义变量--------------------declare cursor c1 is select * from emp;# rec emp%rowtype;# i numeber:=1; # v_count number;begin# select count(*) into v_count from emp;#(1) open c1; loop...
分类:
数据库 时间:
2014-07-20 00:33:20
阅读次数:
334