在注册表中,“键值项数据”可分为下面三种类型。字符串值(REG_SZ) 该值一般用来作为文件描述和硬件标志,可以是字母、数字,也可以是汉字,但它是长度固定的文本字符串,最大长度不能超过255个字符。REG文件中一般表现为:"a"="****"。 二进制值(REG_BINARY) 一般情况下,大多数硬...
分类:
其他好文 时间:
2014-07-18 15:39:40
阅读次数:
280
# find -type f -name "*.c" | xargs grep ""是你要找的文件夹;如果是当前文件夹可以省略-type f 说明,只找文件-name "*.c" 表示只找C语言写的代码,从而避免去查binary;也可以不写,表示找所有文件是你要找的某个字符串sudo find .....
分类:
系统相关 时间:
2014-07-18 15:29:57
阅读次数:
258
在配置中加上location ~ .*\.(php|php5)?$ {fastcgi_pass 127.0.0.1:9000;fastcgi_read_timeout 700;fastcgi_index index.php;include fastcgi.conf;}
分类:
Web程序 时间:
2014-07-18 15:17:43
阅读次数:
335
http://www.u3dpro.com/columns.php?action=columns Unity3D专业论坛http://game.ceeger.com/ Unity圣典http://answers.unity3d.com/index.html ...
分类:
Web程序 时间:
2014-07-18 14:20:23
阅读次数:
279
Codeforces Round #256 (Div. 2)
题目链接
A题:没什么好说的水题,判断一下两种各需要多少个,加起来看会不会超过即可
B题:首先计数字母,看b串有没有多余字符,判断掉need tree的情况,然后判断b是否能和a匹配,如果可以且长度不同,就是auto,如果不行且长度相同,就是array,否则就是both
C题:贪心,每次选择最低的去横向刷,刷完会多出几个...
分类:
其他好文 时间:
2014-07-18 11:25:01
阅读次数:
271
题意是给我们两个字符串,再在第一个字符串中找第二个,
给了我们两种方法,一:在第一个字符串删掉一些字符后得到第二个字符串;
二:在第一个字符串中改变一些字符的先后顺序得到字符串二;
如果只用第一种方法输出: automaton;
只用第二种输出:array
两种都用输出:both;
找不到输出:need tree;
直接找就行,,,,,,水
#include
#include...
分类:
其他好文 时间:
2014-07-18 11:17:05
阅读次数:
191
Given a binary tree containing digits from 0-9 only,
each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents
the number 123.
Find the to...
分类:
其他好文 时间:
2014-07-18 11:13:57
阅读次数:
204
Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth...
分类:
其他好文 时间:
2014-07-18 09:33:38
阅读次数:
194
Castle是.NET里走过了三年的开源框架,下载地址如:http://www.castleproject.org/index.html,当然如果你是从事过JAVA开发并用过spring,hibernate的话,那看这个框架应该说是很清晰.另付上在这个框架上有研究的一些Blog文章:http://t...
分类:
Web程序 时间:
2014-07-17 23:12:01
阅读次数:
346
http://blog.csdn.net/kunoy/article/details/8067801首先主要代码源自网络,对那些无私的奉献者表示感谢! 笔者对这些代码做了二次修改,并总结如下: Extjs3.x版本下拉树代码:[javascript]view plaincopyExt.ux.Tree...
分类:
Web程序 时间:
2014-07-17 22:23:23
阅读次数:
493