Web App、Hybrid App以及Native App、Light App...
分类:
移动开发 时间:
2015-03-18 23:26:23
阅读次数:
392
今天使用Navicat连接Oracle数据库,报了下面的这个错误:“ORA-12737 Instant Client Light:unsupported server character set ZHS16GBK”
从这个错误上看,可以知道是客户端不支持服务器端的字符集造成的,但是修改服务器端的字符集是不现实的,那我们只能从客户端找原因了。我们知道Navicat连接Oracle使用的是OCI方式...
分类:
数据库 时间:
2015-03-18 12:28:23
阅读次数:
159
import java.util.concurrent.*;import java.util.*;public class TestGreenhouseScheduler {private volatile boolean light = false;private volatile boolean...
分类:
其他好文 时间:
2015-03-17 10:23:03
阅读次数:
167
styles.xml中提示如下错误,这是版本问题。error: Error retrieving parent for item: No resource found that matches the given name'Theme.AppCompat.Light'.解决方法:在Eclipse中打...
分类:
移动开发 时间:
2015-03-17 00:40:50
阅读次数:
132
styles.xml中提示如下错误,这是版本问题。error: Error retrieving parent for item: No resource found that matches the given name'Theme.AppCompat.Light'.解决方法:在Eclipse中打...
分类:
移动开发 时间:
2015-03-15 21:10:32
阅读次数:
199
MVC即视图(V),控制器(C),模型(M)。 工作流程:1,View 传送指令到 Controller,2,Controller 完成业务逻辑后,要求 Model 改变状态3,Model 将新的数据发送到 View,用户得到反馈backbone就是一款优秀的前端MVC模式的框架MVP就是将MVC中...
分类:
Web程序 时间:
2015-03-14 09:30:14
阅读次数:
162
Many people don't understand how the WPF layout system works, or how that knowledge can help them in their projects. I intend to shine a little light ...
Problem Description
There are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1< k<= n) is the light k-1.At time of 0, some of them turn on, and oth...
分类:
其他好文 时间:
2015-03-12 22:36:28
阅读次数:
189
给定一个大数,分解质因数,每个质因子的个数为e1,e2,e3,……em,
则结果为((1+2*e1)*(1+2*e2)……(1+2*em)+1)/2.
//light oj 1236 大数分解素因子
#include
#include
#include
#include
#include
#include
#include
#include
#...
分类:
其他好文 时间:
2015-03-11 23:31:15
阅读次数:
373
MVVM 模式便是使用的是数据绑定基础架构。它们可以轻松构建UI的必要元素。MVVM 模式和MVC 模式一样,主要目的是分离视图(View)和模型(Model),有几大优点1. 低耦合。视图(View)可以独立于Model变化和修改,一个ViewModel可以绑定到不同的"View"上,当View变...
分类:
其他好文 时间:
2015-03-11 19:03:22
阅读次数:
127