本月博客排行
-
第1名
龙儿筝 -
第2名
lerf -
第3名
fantaxy025025 - johnsmith9th
- zysnba
- xiangjie88
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
gashero - wy_19921005
- vipbooks
- benladeng5225
- e_e
- wallimn
- javashop
- ranbuijj
- fantaxy025025
- jickcai
- gengyun12
- zw7534313
- qepwqnp
- 解宜然
- ssydxa219
- zysnba
- sichunli_030
- sam123456gz
- arpenker
- 龙儿筝
- tanling8334
- kaizi1992
- gaojingsong
- xpenxpen
- jh108020
- wiseboyloves
- ganxueyun
- xyuma
- xiangjie88
- wangchen.ily
- Jameslyy
- luxurioust
- lemonhandsome
- jbosscn
- mengjichen
- zxq_2017
- lzyfn123
- nychen2000
- forestqqqq
- wjianwei666
- ajinn
- zhanjia
- Xeden
- hanbaohong
- java-007
- 喧嚣求静
- mwhgJava
- kingwell.leng
最新文章列表
SICP学习笔记 2.3.2 实例:符号求导
练习2.56
(define (deriv exp var)
(cond ((number? exp) 0)
((variable? exp)
(if (same-variable? exp var) 1 0))
((sum? exp)
(make-sum (deriv (addend exp) var)
(deriv (augend ...
SICP学习笔记 2.3.1 引号
练习2.53
(a b c)
((george))
((y1 y2))
(y1 y2)
#f
#f
(red shoes blue socks)
练习2.54
(define (equal? a b)
(cond ((and (null? a) (null? b)) true)
((null? a) false)
...
SICP学习笔记 2.2.4 实例:一个图形语言
练习2.44
(define (up-split painter n)
(if (= n 0)
painter
(let ((smaller (up-split painter (- n 1))))
(below painter (beside smaller smaller)))))
练习2.45
...
HttpClient https双向验证
已经发布的准备要测试的https服务:
package com.abin.lee.https;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServle ...
SICP学习笔记 2.2.3 序列作为一种约定的接口
练习2.33
;; map过程即为使用过程p作用x, 然后再合并作用y后的结果
(define (map p sequence)
(accumulate (lambda (x y) (cons (p x) y)) '() sequence))
;; append过程为合并两个列表, 则初始值为空表, 要传入的列表为枚举两个参数列表的元素组成的列表
(define ( ...
extjs动态方法调用
var navigate = function(panel, direction){
// This routine could contain business logic required to manage the navigation steps.
// It would call setActiveItem as needed, manage navigation bu ...
SICP学习笔记 2.2.2 层次性结构
练习2.24
;; 嵌套结构的list
1 ]=> (list 1 (list 2 (list 3 4)))
;Value : (1 (2 (3 4)))
*
/ \
1 *
/ \
2 *
/ \
3 4
练习2.25
;; (1 3 (5 7) 9)
1 ]=> (defi ...
SICP学习笔记 2.2.1 序列的表示
练习2.17
;; 直接利用已经实现的list-ref和length过程即可
(define (last-pair items)
(if (null? items)
(display "null")
(list-ref items (- (length items) 1))))
练习2.18
;; 翻 ...
iphone之僵尸模式,打印错误信息
在xcode里,依次点击 Product -> edit scheme
左侧第二个标签 ran XXXX.app
右侧窗口 对应于“Environment Varibales” 增加以下两行
NSZombieEnabled YES
CFZombieLevel YES
如何实现点击UIWebView中链接调用Safari打开目标链接
-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
{
NSURL *requestURL =[ [ request URL ] retain ];
i ...
了解 uri, content provide,包括 data android:host,android:scheme(转)
了解 uri, content provide,包括 data android:host,android:scheme(转)
Content Provider这个东西在Android平台上是最常用的共享数据的方法(似乎应用程序之间共享数据也只有这种方法吧,待求证)。虽然常用,但是这个东 西要理解透彻还是要先掌握一些基础的。URI就是Content Provider(简称CP)的基础。我们要标识一个 ...
ios应用如何打开外部应用
Launching Your Own Application via a Custom URL Scheme
Posted on December 14, 2008 by Rodney Aiglstorfer in Cocoa
Tweet
One of the coolest features of the iPhone SDK is an application’s ability to “b ...