话说万张高楼平地起,不会走之前先学会爬吧。尤其对于我等的小菜同学来说更是这样,不管怎么先code first吧,等我等小菜们翅膀硬了才test first吧。1, 怎么运行python?先到python.org下载python的安装文件才说吧,兄弟你慢点是org不是com小心额,当然还有中文的下载链...
分类:
编程语言 时间:
2014-08-13 12:34:06
阅读次数:
217
;;?learning?The?Little?Schemer
(def?car?first)
(def?cdr?rest)
(def?cons?clojure.core/cons)
(def?eq??=)
(def?list??clojure.core/list?)
(defn?atom??[x]
??(not?(list??x)))
(defn...
分类:
其他好文 时间:
2014-08-13 10:44:55
阅读次数:
303
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2014-08-13 00:28:34
阅读次数:
324
二分查找,顾名思义就是分量分查找。采用二分法查找时,数据需是排好序的,这是使用二分查清找的前提。该算法的基本实现思路是: 1.先将数据排序 2.确定中间位置mid=(first+last)/2; 3.比较所要查找的关键字 key与中间位置的关键字的大小,如果比key和mid.k...
分类:
其他好文 时间:
2014-08-12 21:51:54
阅读次数:
328
题目参考自博客:http://blog.csdn.net/a601025382s/article/details/38517783//string &replace(iterator first0, iterator last0,const_iterator first, const_iterato...
分类:
其他好文 时间:
2014-08-12 21:43:04
阅读次数:
278
Like change page Change activity first we should create a activity ,we should extends class activity and override onCreate() , then configure informat...
分类:
移动开发 时间:
2014-08-12 18:40:24
阅读次数:
215
This shows you how to create the main window with the book’s application framework and how to render simple graphics into it.In shaders,we use #versio...
分类:
其他好文 时间:
2014-08-12 18:19:24
阅读次数:
229
前言
大家可能遇到了这样的情况,调用Camera,然后指定自定义的保存路径,结果返回的Intent为空。我们来分析一下原因。
分析
首先看Camera的部分逻辑,在源码中的Camera.java的doAttach()方法里面。
// First handle the no crop case -- just return the value. If the
// caller sp...
分类:
其他好文 时间:
2014-08-12 17:30:54
阅读次数:
276
SPA 最佳实践
SPA官方描绘的蛮完美的,但在实践中,还是有很多的坑。下面会一一展示本人在SPA实践项目中遇到的各种坑,以及解决方案。
OPTIMIZER_MODE问题
SQL在目标库实际运行时需要跟源库保持一致,以SIEBEL库为例,它都会在SESSION级别设置以下影响CBO的参数。
alter session set optimizer_mode=FIRST_ROWS_10...
分类:
其他好文 时间:
2014-08-12 17:16:24
阅读次数:
253
该项目主要应用技术为Mvc4+EF5+Code First+awesome的一些js脚本。
分类:
其他好文 时间:
2014-08-12 16:15:24
阅读次数:
197