add by zhj: 《RESTful Web Services
Cookbook》这本书详细介绍了RESTFUL
API的设计。原文:http://www.ruanyifeng.com/blog/2014/05/restful_api.html 作者:阮一峰
网络应用程序,分为前端和后端两个部分...
Given an array of integers, find two numbers such
that they add up to a specific target number.The function twoSum should return
indices of the two nu...
分类:
其他好文 时间:
2014-05-26 19:50:39
阅读次数:
314
add by
zhj:还没来得及看,有空再细看原文:https://ruby-china.org/topics/19389cache是提高应用性能重要的一个环节,写篇文章总结一下用过的各种对于动态内容的cache。文章以Nginx,Rails,Mysql,Redis作为例子,换成其他web服务器,语...
分类:
Web程序 时间:
2014-05-26 19:43:13
阅读次数:
421
1 判断数据库是否存在Sql代码 if exists (select * from
sys.databases where name = ’数据库名’) drop database [数据库名] if exists (select * from
sys.databases where name =....
分类:
数据库 时间:
2014-05-26 18:25:37
阅读次数:
312
转自:http://blog.163.com/magicc_love/blog/static/185853662201111101210847/1、安装2、注册3、配置window
----> preferences(1)配置 JDKjava--->Installed JREs --> Add --...
分类:
系统相关 时间:
2014-05-26 17:31:18
阅读次数:
557
A Stack is a data-structure that You can only add
an element to the top of the Stack, andYou can only read or remove an element
also from the top.Plea...
分类:
编程语言 时间:
2014-05-26 17:10:21
阅读次数:
540
You are given two linked lists representing two non-negative numbers. The digits are
stored in reverse order and each of their nodes contain a single digit. Add the two numbers
and return i...
分类:
其他好文 时间:
2014-05-25 21:36:52
阅读次数:
268
核心代码DAO类
package com.examp.use_SQLite.dao;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
i...
分类:
移动开发 时间:
2014-05-25 21:34:09
阅读次数:
327
package com.examp.use_SQLite.dao;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import andr...
分类:
移动开发 时间:
2014-05-25 21:29:20
阅读次数:
258
人们常说“细节决定成败”。
编码工作中,同样需要关注细节。
本文将给出3个小实例来说明编码中关注细节的重要性,同时给出作者对如何注意编码细节的一点见解(说的不对,请指正)。
例1 这个问题如此地显而易见,竟然没有被发现。
List numList = new List();
numList.Add(3);
numList.Add(1);
numList.Add(4);
numList.Ad...
分类:
其他好文 时间:
2014-05-25 21:14:17
阅读次数:
223