在做程序开发的时候经常需要在使用命令行进行操作,dos环境本身是不支持中文的,有时候中文编码的问题就像苍蝇一样讨厌,下面提供几种常用的手段解决win7环境下中文显示乱码的问题:方法一:修改注册表:Windows
Registry Editor Version 5.00[HKEY_CURRENT_US...
分类:
其他好文 时间:
2014-05-09 11:44:50
阅读次数:
332
官方代码发短息和邮件添加MessageUI.framework 库发送信息-
(IBAction)showSMSPicker:(id)sender{ // You must check that the current device
can send SMS messages before you ...
分类:
移动开发 时间:
2014-05-08 20:26:04
阅读次数:
500
Identifying Differentially Expressed Trinity
TranscriptsOur current system for identifying differentially expressed
transcripts relies on using the Ed...
分类:
其他好文 时间:
2014-05-08 13:11:51
阅读次数:
728
1. 在Linux平台下编译安装wxWidgets和Codeblocks,搭建GUI程序开发平台
2. 编写GUI程序,检测当前计算机的配置:
1) 在工作区以适当的方式输出the description of the current platform, the amount of free memory, the current host machine's name等;
2) 在状态栏实时显示当前时间。
3. 编写GUI程序,实现一个XX信息管理系统。要求用户可以选择进行输入或输出:
1) 可以把对应信...
分类:
其他好文 时间:
2014-05-08 10:48:07
阅读次数:
283
当我们修改了frameworks后可能出现:
make: *** [out/target/common/obj/PACKAGING/checkapi-current-timestamp] 错误 38
解决办法:make update-api
在Android中添加物理按键:KEYCODE_HELP
1、Android 增加按键:
ScanCode -> KeyCodeLabel ...
分类:
移动开发 时间:
2014-05-08 04:43:52
阅读次数:
468
注:本文翻译自Google官方的Android Developers
Training文档,译者技术一般,由于喜爱安卓而产生了翻译的念头,纯属个人兴趣爱好。原文链接:http://developer.android.com/training/location/retrieve-current.htm...
分类:
移动开发 时间:
2014-05-07 21:03:26
阅读次数:
558
Spring @Transactional声明式事务管理
getCurrentSession在Spring
@Transactional声明式事务管理的配置中,hibernate.current_session_context_class=thread…这一句是不能加的…加了就会出错..那为什么不能...
分类:
编程语言 时间:
2014-05-07 17:48:14
阅读次数:
482
signal.c 代码分析笔记
int sys_sgetmask()// 获取当前进程阻塞的信号
{
returncurrent->blocked;
}
int sys_ssetmask(int newmask) //设置当前进程阻塞信号,确保SIGKILL 和SIGSTOP不被阻塞
{
int old=current->...
分类:
系统相关 时间:
2014-05-07 12:25:12
阅读次数:
486
工欲善其事,必先利其器。对IDE的熟练程度,真能影响开发效率 。
先普及下常识,以后有新的收获再补充。
最常用快捷键:
Ctrl+E Delete current line
Ctrl-Shift-Up/D Copy lines up/down
Ctrl-/ Add/remove comment lines
Alt-Shift-F Format select...
分类:
Web程序 时间:
2014-05-06 19:54:58
阅读次数:
486
这道题看似简单,其实很坑爹啊,动不动就是Time Limit Exceeded,
比如我下面这段TLE的代码,我感觉方法是对的,但是too
naive,算法复杂度到了O(N^2),自然就TLE了而且有一些小语法错误需要注意:for(runner=current+1;;)不能用>;一定所有的case都...
分类:
其他好文 时间:
2014-05-06 11:31:09
阅读次数:
405