背景:随笔中所应用到的代码来自于上一篇随笔,MVC&JQuery如何根据List动态生成表格,部分代码不再重复。代码如下: 1 $("#btnTan").click(function () { 2 var Array=[]; 3 var...
分类:
编程语言 时间:
2015-08-09 07:13:17
阅读次数:
138
代码using System; using System.Collections.Generic;using System.Data.SqlClient;using System.Configuration;using System.Data;namespace Common{ public ...
分类:
数据库 时间:
2015-08-09 07:13:18
阅读次数:
242
[AngularJS] 使用AngularCSS动态加载CSS前言使用AngularAMD动态加载Controller使用AngularAMD动态加载Service上列两篇文章里,介绍了如何如何使用AngularAMD来动态加载Controller与Service。本篇文章以此为基础,介绍如何使用A...
分类:
Web程序 时间:
2015-08-09 07:13:06
阅读次数:
6638
Contain Duplicate 题目要求:给定一个数组如果有重复就返回true,如果没有就返回false个人分析:这个题比剔除重复的要简单许多,只需要判断就好代码如下: public static boolean containsDuplicate(int[] nums){ if (num...
分类:
其他好文 时间:
2015-08-09 07:10:34
阅读次数:
109
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.OleDb;using System.Configuration;namespace OleDbHe...
分类:
数据库 时间:
2015-08-09 07:12:02
阅读次数:
198
碰到这个错误是在用 UIImageView 显示图片的时候。UIImage 用的是 imageNamed 方法。错误原因是打开了太多的文件。应该是太多文件的打开导致了 UIImage 的 cache 被删除使得无法获取缓存了的图片。找了很久也没找到问题,因为 imageNamed 这个方法是会缓存图...
分类:
移动开发 时间:
2015-08-09 07:10:17
阅读次数:
449
Selenium 获取 JavaScript 返回值非常简单,只需要在 js 脚本中将需要返回的数据 return 就可以,然后通过方法返回 js 的执行结果,方法源码如下所示: 1 /** 2 * Get Object of return from js 3 * 4 ...
分类:
编程语言 时间:
2015-08-09 07:10:34
阅读次数:
183
题目:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the de...
分类:
其他好文 时间:
2015-08-09 07:09:51
阅读次数:
107
这是一个回收站*{margin:0px;padding:0px}#div1{width:220px;height:220px;border:3px solid #ffff00;position:absolute;left:250px;top:0px}#p...
分类:
其他好文 时间:
2015-08-09 07:11:52
阅读次数:
150
springmvc,shiro,spring,mybatis,restful,webservice,bootstrap,html5,maven
分类:
编程语言 时间:
2015-08-09 07:11:19
阅读次数:
152
侨胞来到这人生地不熟的异国,每一步都浮现着困难。要想安定下来,一开始对绝大多数人来说都要租房子住。租房或租公寓是个大事,这也许会是一次让人既兴奋,又沮丧的经历。租房前请参考阅读下列指南,祝您找到自己满意的地方。首先要明确您的权利和责任。租住公寓,你有自己的权利,也要承担责任。因此您需要了解清楚,作为...
分类:
其他好文 时间:
2015-08-09 07:10:48
阅读次数:
173
maven搭建springmvc+spring+mybatis实例
分类:
编程语言 时间:
2015-08-09 07:09:20
阅读次数:
239
maven构建app服务:springmvc mybatis rest Webservice bootstrap整合
maven构建大型互联网企业架构:springmvc mybatis rest Webservice bootstrap
springmvc,shiro,mybatis,spri...
分类:
编程语言 时间:
2015-08-09 07:11:09
阅读次数:
205
springmvc,shiro,spring,mybatis,restful,webservice,bootstrap,html5,maven
分类:
数据库 时间:
2015-08-09 07:11:05
阅读次数:
174
-此标准仅为个人编写软件程序文档时使用,不可视为通用性标准;且为作者初次构思、内容尚未完善,其中不乏有大量不足之处,如有更具有代表性的提示可与作者联系。2015-08-02来自为知笔记(Wiz)附件列表
分类:
其他好文 时间:
2015-08-09 07:10:44
阅读次数:
105
原文地址:http://www.cnblogs.com/liubiqu/archive/2008/08/14/1267867.htmljava.lang.string.splitsplit 方法将一个字符串分割为子字符串,然后将结果作为字符串数组返回。stringObj.split([separat...
分类:
编程语言 时间:
2015-08-09 07:09:44
阅读次数:
172
2维向量如何计算与某一个交点之间的夹角,假设A,B是向量,C是他们共同连接的一个点计算出A-C-B形成的角度 我们先了解几个简单的计算: 2D向量的乘积计算 (A.x * B.x + A.y * B.y) 2D向量的取摸 开平方(A.x * A.x + A.y * A.y) ...
分类:
其他好文 时间:
2015-08-09 07:07:44
阅读次数:
141