这是一篇Dr. Dobb's Journal对STL之父stepanov的采访。文中数次提到STL的基本思想、语言的特性、编程的一些根本问题等,非常精彩。这篇文章让我想去拜读下stepanov的大作《Elements of Programming》了。原文链接:http://www.stepanov...
分类:
其他好文 时间:
2014-07-19 15:27:45
阅读次数:
352
如果需要定位一组对象,需要使用以下方法,会返回一个listfind_elements_by_namefind_elements_by_xpathfind_elements_by_link_textfind_elements_by_partial_link_textfind_elements_by_t...
分类:
其他好文 时间:
2014-07-19 00:22:25
阅读次数:
163
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-07-18 18:17:46
阅读次数:
290
Ctrl+1 快速修复Ctrl+D 删除当前行Ctrl+/ 注释当前行,再按则取消注释 (对java代码有效)Ctrl+M 切换窗口的大小Ctrl+I 格式化激活的元素Format Active Elements。Ctrl+Shift+/ 自动注释代码Ctrl+Shift+\ 自动取消已经注释的代码...
分类:
系统相关 时间:
2014-07-18 15:38:37
阅读次数:
304
In an attempt to remove duplicate elements from list, I go to the lengths to take advantage of methods in the java api. After investiagting the document of java api, the result is so satisfying that...
分类:
编程语言 时间:
2014-07-18 14:02:00
阅读次数:
282
一、源码编译
1.1 so预编译LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libAppArea
LOCAL_SRC_FILES :=libAppArea.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL...
分类:
移动开发 时间:
2014-07-18 11:21:37
阅读次数:
319
花一天半的时间解决客户端连接服务端的oracle数据库,无法连接问题。ORA-01034: ORACLE not available(Oracle 不存在),ORA-27101: shared memory realm does not exist分析:前几天还可以连接数据库,但是昨...
分类:
数据库 时间:
2014-07-17 23:04:46
阅读次数:
2871
LOCAL_PATH:=$(callmy-dir)include$(CLEAR_VARS)#编译库的名称LOCAL_MODULE:=cocos2dcpp_shared#编译库的文件名LOCAL_MODULE_FILENAME:=libcocos2dcpp#包含的源文件LOCAL_SRC_FILES:=hellocpp/main.cpp\../../Classes/AppDelegate.cpp\../../Classes/Card.cpp\../../Classes/Ga..
分类:
移动开发 时间:
2014-07-17 19:33:26
阅读次数:
286
昨晚配置完成office web apps 2013的外部网络访问之后,今天发现了一个很奇怪的问题,就是IE 11不支持文档在线浏览,找了很多方法,打补丁什么的,都不管用,最后在预览文件的页面,看到标签,里面有一句代码:
我把他改成了
结果就搞定了
页面地址:C:\Program Files\Common Files\Microsoft Shared\Web Server Ex...
分类:
移动开发 时间:
2014-07-17 19:27:31
阅读次数:
262
问题
方法的思想
The idea is to check elements in a way that’s reminiscent of movements of a caterpillar.
The caterpillar crawls through the array. We remember the front and back positions of the
caterp...
分类:
其他好文 时间:
2014-07-17 19:22:33
阅读次数:
322