http://home.cnblogs.com/group/topic/6006.html
分类:
系统相关 时间:
2014-05-12 21:59:20
阅读次数:
343
OpenWindows -> Preferences.
2.SelectjrefromInstalled JREsthen hitEdit botton on the right. 3.browse the
installed jre path for the jre home. 4....
分类:
编程语言 时间:
2014-05-12 12:29:09
阅读次数:
390
偶尔看见,贴一下编译过程需要boost和qt4(必须是动态的,静态编译的话,他的so库全部会编译为静态库……)sudo
apt-get install libboost-devqmakemake INSTALL_ROOT=/home/用户名/tools/edb install
分类:
数据库 时间:
2014-05-12 09:44:59
阅读次数:
475
1.dos工程路径下执行(c:home/trunk/src下):rubyscript/generatemigrationAddPermissionsData(名字随便起)生成时间戳文件classAddPermissionsData<ActiveRecord::Migrationdefself.upp=Permission.create({:name=>‘张三‘,:parent_id=>‘367‘,:deleted=>‘0‘,:act..
分类:
数据库 时间:
2014-05-12 03:49:00
阅读次数:
330
Ever since I heard Java 8 is going to support
lambda expressions (aka closures), I was very enthusiastic to spice my code with
such a decent and conci...
分类:
编程语言 时间:
2014-05-12 00:43:21
阅读次数:
570
产生原因:误将/home/user目录的用户变成了root,所以无法更新ICE导致开机警告解决方法:1.使用guest登录2.打开一个console3.Ctrl
+ Alt +F1 进入安全模式4.使用你的用户名登录5.sudo chown -R user:user/home/$user/.ICEa...
分类:
其他好文 时间:
2014-05-12 00:15:41
阅读次数:
459
获得临时文件的两种途径
Path.GetTempPath 方法 [C#]请参见
Path 类 | Path 成员 | System.IO 命名空间
要求
平台: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professi...
分类:
其他好文 时间:
2014-05-11 22:43:17
阅读次数:
433
1.到项目文件的proj.android目录下,编辑build_native.sh文件,指定NDK和cocos2dx路径
export NDK_ROOT=/home/liyuchen/dev/android-ndk-r9d
export NDK_MODULE_PATH=/home/liyuchen/dev/cocos2d-x-2.2.1/cocos2dx
2.执行脚本
./b...
分类:
移动开发 时间:
2014-05-11 20:09:19
阅读次数:
399
1、直接Redirect后加Controller/ActionResponse.Redirect("/User/Edit");returnRedirect("/User/Edit");returnRedirectToAction("about","Home");Response.Redirect("...
分类:
编程语言 时间:
2014-05-11 18:14:36
阅读次数:
315
1 void copyFile() 2 { 3 NSString
*home=NSHomeDirectory(); 4 NSString *path=[NSString
stringWithFormat:@"%@/desktop/oc.mp4",home]; 5 NSStr...
分类:
编程语言 时间:
2014-05-10 21:12:51
阅读次数:
368