今天要用yum安装软件,于是yum install ***,但是报错,错误如下:There was a problem importing one of the Python modules required to run yum. The error leading to this problem...
分类:
其他好文 时间:
2014-07-07 14:55:42
阅读次数:
350
1.输出数组的结构:bool print_r(数组);$arr=array('jack','mike','tom');print_r($arr);//Array ( [0] => jack [1] => mike [2] => tom ) 2.如何声明二位数组?$arr=array('name'=>...
分类:
Web程序 时间:
2014-07-02 22:32:42
阅读次数:
333
Spring中通过Propagation来设置事务的传播属性的,在这个属性中提供了我们其中关于事务传播的特性:1.PROPAGATION_REQUIRED:支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。 2.PROPAGATION_SUPPORTS:支持当前事务,如果当前没有事务...
分类:
编程语言 时间:
2014-07-02 22:05:35
阅读次数:
207
如果你能理解下面代码的运行结果,应该就算理解闭包的运行机制了。
var name = "tom";
var myobj = {
name: "jackson",
getName: function () {
return function () {
return this.name;
...
分类:
编程语言 时间:
2014-07-02 09:25:07
阅读次数:
230
Idiomatic Phrases Game
Time Limit: 2 Seconds Memory Limit: 65536 KB
Tom is playing a game called Idiomatic Phrases Game. An idiom consists of several Chinese characters and has a certain me...
分类:
其他好文 时间:
2014-07-02 08:11:52
阅读次数:
167
错误信息及出现情景:
在export环境变量LD_PRELOAD=$XTERN_ROOT/dync_hook/interpose.so后,再运行amplxe-gui,出现上述错误。新增的动态链接库对VTune的libstdc++.so.6提出了高版本的要求。VTune 2013 updated 17的libstdc++.so.6版本为libstdc++.so.6.0.12,如果运行以下命令:
...
分类:
编程语言 时间:
2014-07-02 07:11:42
阅读次数:
339
用户配置目录:/etc/vsftpd/user.d为每个用户建立配置文件比如:#/etc/vsftpd/user.d/Tom编辑Tom文件,加入以下内容local_root=/home/hyq/ftp/tom#Endvi /etc/vsftpd/vsftpd.conf加上以下几行:chroot_li...
分类:
其他好文 时间:
2014-07-01 00:47:01
阅读次数:
278
形式上:先加入两个包log4j-1.2.17.jarslf4j-log4j12-1.5.8.jar,然后再加上一个log4j的配置文件,log4j.properties,这个配置文件的样例可以在hibernate包里的project/etc/下找到如何理解?hibernate包lib/required下有一个slf4j-api-1.5.8.jar是一个日志系统的接口,上面的lo..
分类:
系统相关 时间:
2014-06-30 16:01:08
阅读次数:
464
题目
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operations permitte...
分类:
其他好文 时间:
2014-06-30 00:46:38
阅读次数:
262
成都传智播客——全面剖析Activity全集:
课程介绍:
Activiti是Tom Baeyens团队离开JBoss之后,加入Alfresco公司的全新产品。Activiti的前身是JBPM4,继承了jbpm4的所有优点,同时将其发扬光大。Activiti底层的API与Jbpm4的API相似程序也达60%以上,特别是service提供的接口,都是在Jbpm4上提供扩展,这样使得熟悉j...
分类:
其他好文 时间:
2014-06-29 23:34:47
阅读次数:
297