一.Eclipse下编码的设定(在myeclipse下设定方法类似) 1、window -> Preferences -> general -> Workspace -> Text file encoding(这里是设置工作去的编码) 选择Other,将编码改变为UTF-8,这样以后新建立工程其属性 ...
分类:
Web程序 时间:
2016-08-12 11:37:12
阅读次数:
145
1.文本处理三剑客-sed#sed语法:
sed[OPTION]...{script-only-if-no-other-script}
[input-file]...sed理解:是一种流编辑器,一次处理一行内容,处理时把当前处理的行存储在临时缓存中,成为“模式空间”,接着用sed命令处理缓冲区的内容,处理完毕后吧缓冲区内容输出到屏幕接..
分类:
其他好文 时间:
2016-08-11 22:55:50
阅读次数:
301
TI-RTOS 之 事件同步(Event, 类似semaphore) Event 是类似Semaphore的存在,官方如下描述: SYS/BIOS events are a means of communication between Tasks and other threads such as ...
分类:
其他好文 时间:
2016-08-11 17:55:01
阅读次数:
739
// called when the recognition of one of gestureRecognizer or otherGestureRecognizer would be blocked by the other // return YES to allow both to reco ...
分类:
Web程序 时间:
2016-08-10 22:17:54
阅读次数:
167
35. In python, file operation syntax is similar to c. open(file,'r',……) //the first parameters is necessary, other is optional ,the second parameters ...
分类:
编程语言 时间:
2016-08-09 23:22:08
阅读次数:
278
Things You'll Need Proficiency in C++ C++ compiler Debugger and other investigative software tools 1 Understand the operator basics. The C++ operator ...
分类:
其他好文 时间:
2016-08-09 10:42:56
阅读次数:
164
1、github上下载源码;解压;如目录bootstrap 2、新建同级目录custom-bootstrap ,在该目录下新建 如下三个文件;其实就是bootstrap下面的bootstrap.less 和variables.less文件拷贝过来 改个名字(新增一个custom-other.less ...
分类:
其他好文 时间:
2016-08-08 20:59:30
阅读次数:
97
Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements ...
分类:
其他好文 时间:
2016-08-07 16:47:25
阅读次数:
125
SYNOPSIS jstack [ option ] pidclick here to see other detail If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option ...
分类:
编程语言 时间:
2016-08-05 19:40:19
阅读次数:
171
1.获取设备描述表句柄:a. hdc = BeginPaint(hwnd,&ps); //other program lines EndPaint(hwnd,&ps); BeginPaint调用使整个客户区有效(阻止WM_PAINT消息一直发送),填充 ps结构的字段,返回的设备描述句柄。使用这个句 ...
分类:
其他好文 时间:
2016-08-05 17:46:32
阅读次数:
129