import osdef tree(top): for path, names, fnames in
os.walk(top): for fname in fnames: yield os.path.join(path, fname) for name
in...
分类:
编程语言 时间:
2014-05-09 23:49:35
阅读次数:
367
java
-Djava.library.path=/usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/sigar
-jar /usr/local/lib/ruby/gems/1.8/gems/sharp_office-1.0.1/ext/...
分类:
其他好文 时间:
2014-05-09 23:46:06
阅读次数:
265
必须要保证运行环境高于编译环境1.编译器的环境设置单击项目右键-> Properties
->Java Compiler ->5或6如果编译器的环境高于运行时环境会报错。2.运行环境的设置项目右键à Build path
->Configure Build path ->Libraries ->选中...
分类:
编程语言 时间:
2014-05-09 23:28:16
阅读次数:
385
大家都喜欢用hell world来写第一个程序,python这里也写一个!
直接输入print"hello world"然后运行就ok啦,是不是很简单? 你确实没看错真的这么简单。
当然你可以也在cmd下面进行运行,前提是你配置了系统环境变量,(直接把python的安装路径添加到path里...
分类:
编程语言 时间:
2014-05-09 20:22:11
阅读次数:
322
一,针对每个情景模式的默认值修改:1,默认铃声是统一在alps/build/target/product/core.mk文件中设置,其中ro.config.notification_sound表示通知的默认铃声,ro.config.ringtone表示语音来电和视频来电的铃声,若希望语音来电和视频来...
分类:
其他好文 时间:
2014-05-09 19:30:59
阅读次数:
282
本人于去年十月份开始接收游戏元数据管理系统的开发,下面就把使用的技术总结一下:
由于元数据数据库比较多,链接频繁会影响效率,所以我们使用了facebook开源的Thrift,服务端使用C++,客户端链接使用python和php,由于我主要做php,下面是Thrift的php客户端入口文件:
<?php
#Thrift Lib Path Root
$GLOBALS['THRIFT_ROOT']=...
分类:
其他好文 时间:
2014-05-09 14:00:16
阅读次数:
332
Path Sum IGiven a binary tree and a sum,
determine if the tree has a root-to-leaf path such that adding up all the values
along the path equals the gi...
分类:
其他好文 时间:
2014-05-09 13:21:59
阅读次数:
320
1、build.xml中新建targer如下: 2、ant
debug环境配置如下,运行3、运行结果logApache Ant version 1.7.1 compiled on June 27 2008Setting
r...
分类:
其他好文 时间:
2014-05-09 09:11:47
阅读次数:
472
完成了一个脚本,find.sh如果希望可以再linux系统中任何位置都可以执行该脚本,可以执行下面操作1. chmod 775 find.sh
给该脚本增加可执行权限2. export PATH=$PATH:存放该脚本的路径
分类:
系统相关 时间:
2014-05-09 08:16:43
阅读次数:
498
一、问题
用XCODE5新建工程,COPY老工程代码,编译出现以下错误:
ARC forbids explicit message send of 'release'
二、解决
工程-->"Build Settings"-->找到Objective-C Automatic Reference Counting项-->将它的值设置为NO。
再次编...
分类:
其他好文 时间:
2014-05-09 06:23:39
阅读次数:
285