index.html<htmllang="en"ng-app="single_view">
<head>
<scriptsrc="../jslib/angular.js"></script>
<scriptsrc="../jslib/angular-route.js"></script>
<scriptsrc="app.js"></script>
</head>
<body>
<h..
分类:
Web程序 时间:
2015-06-03 19:46:24
阅读次数:
116
Given an array of integers, every element appears three times except for one. Find that single one. Note:Your algorithm should have a linear runtime c...
分类:
编程语言 时间:
2015-06-03 17:29:50
阅读次数:
136
Last three days, I want to install devstack on my virtual machine on Vmware Workstation.The VM'system is Ubuntu14.04. However,i met too many problem t...
分类:
其他好文 时间:
2015-06-03 17:16:40
阅读次数:
268
index.html<htmllang="en"ng-app="single_view">
<head>
<scriptsrc="../jslib/angular.js"></script>
<scriptsrc="../jslib/angular-route.js"></script>
<scriptsrc="app.js"></script>
</head>
<body>
<h1..
分类:
Web程序 时间:
2015-06-03 13:57:23
阅读次数:
163
slc mlc tlcSLC = Single-Level Cell ,即1bit/cell,速度快寿命长,价格超贵(约MLC 3倍以上的价格),约10万次擦写寿命 MLC = Multi-Level Cell,即2bit/cell,速度一般寿命一般,价格一般,约3000---10000次擦写...
分类:
其他好文 时间:
2015-06-03 13:34:04
阅读次数:
201
Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex...
分类:
编程语言 时间:
2015-06-03 13:27:52
阅读次数:
139
【背景】
在将某数字类型字段插入到目标端时,报错,提示类型不正确,查看数据发现确实为number,但发现为“全角”数字。
【解决】
利用函数,将“全角”转换成“半角”,使用如:to_single_byte()函数,对其转换,转换成半角后,成功存入数据库。
另外,如果遇到需要“半角”转换成“全角”的场合时,可以使用to_multi_byte()函数。
【实验】
小知识...
分类:
其他好文 时间:
2015-06-03 09:46:23
阅读次数:
166
CAS,Central Authentication Service—中央认证服务,是Yale 大学发起的一个企业级的、开源的项目,旨在为Web应用系统提供一种可靠的SSO解决方案。下面简单介绍SSO,重点介绍CAS认证过程。
一、 SSO简介
1.1 概念
SSO英文全称Single Sign On,是目前比较流行的服务于企业业务整合的解决方案之一, SSO 使得在多个应...
分类:
其他好文 时间:
2015-06-03 00:58:56
阅读次数:
153
题目要求:给出一个数组,只有一个数字出现一次,其他的都出现两次,找出那出现一次的数字,要求用线性的时间解出题目!
分析:因为题目要求的是用线性时间,所以类似于那种暴力解决的方法会超时,如下面这种:int singleNumber2(int *nums,int n)
{
int i,j;
for(i=0;i<n;i++)
{
for(j=i+1;j<n;j++)
{
if(nu...
分类:
其他好文 时间:
2015-06-02 18:03:54
阅读次数:
120
AngularJS入门 什么是AngularJSAngularJSis a modern JavaScript framework from Google commonly used to work with Single Page Applications (SPAs). AngularJS is...
分类:
Web程序 时间:
2015-06-02 16:56:10
阅读次数:
140