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 ...
分类:
其他好文 时间:
2014-06-28 10:45:34
阅读次数:
225
1、单一职责原则的核心思想 一个类应该有且只有一个变化的原因。 2、为什么要引入单一职责原则 单一职责原则将不同的职责分离到单独的类,每一个职责都是一个变化的中心。当需求变化时,这个变化将通过更改职责相关的类来体现。如果一个类拥有多于一个的职责,则这些职责就耦合到在了一起,那么就会有多于一...
分类:
其他好文 时间:
2014-06-26 00:48:00
阅读次数:
241
數碼單鏡頭反光DSLR(Digital Single Lens Reflex)照相機,簡稱數碼單反相機。在這種系統中,反光鏡和棱鏡的獨到設計使得攝影者可以從取景器中直接觀察到通過鏡頭的影像。單鏡頭反光照相機的構造圖中可以看到,光線透過鏡頭到達反光鏡後,折射到上面的對焦屏並結成影像,透過接目鏡和五棱鏡...
分类:
其他好文 时间:
2014-06-26 00:22:42
阅读次数:
221
最近开发实现了那种点击增加按钮就会多出一栏的效果,但是当每栏的输入框的数量比较多的时候,后台参数的接受就是个问题,不过现在问题总算解决了,用List集合去接受页面数组的方式,具体实现如下: 实现的思路: 首先,要把传递的每栏参数变成每个对象,例如:昵称,用户名,密码就是一个user类的属性;...
分类:
Web程序 时间:
2014-06-22 12:59:52
阅读次数:
267
Football
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2769
Accepted: 1413
Description
Consider a single-elimination football tournament involving 2n t...
分类:
其他好文 时间:
2014-06-22 11:58:17
阅读次数:
270
Toast can show the help/prompts to user. There have five effect of toast as bellow:
1.default effect:
code:
Toast.makeText(getApplicationContext(), "默认Toast样式",
Toast.LENGTH_SHORT).sho...
分类:
移动开发 时间:
2014-06-22 11:35:38
阅读次数:
500
本文http://blog.csdn.net/svitter
user.sql:
-- phpMyAdmin SQL Dump
-- version phpStudy 2014
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2014 年 06 月 21 日 17:42
-- 服务器版本: 5.5.38
-- PHP...
分类:
数据库 时间:
2014-06-22 11:20:09
阅读次数:
313
##1.邮箱注册这里需要扩展User,两种解决办法,1,注册时将email字段内容赋给username,这种瞒天过海型的,另一种就是扩展user,这里介绍django1.5的扩展方法。**1.setting配置** AUTH_USER_MODEL = 'manager.MyUser' ...
分类:
其他好文 时间:
2014-06-22 11:02:42
阅读次数:
288
There are two types of Standby databases:
1, Physical standby database
block-for-block basis
the physically identical with the primary database
user recovery technology
2, Logical standby databa...
分类:
其他好文 时间:
2014-06-22 08:35:53
阅读次数:
355
elasticsearch Faceted search Multi tenancy Geo spatial search...
分类:
其他好文 时间:
2014-06-22 06:37:41
阅读次数:
245