首页 > 2015年02月07日 > 全部分享
Android UI组件之EditText 实现网站注册效果的校验
时间过得太快,还没有什么感觉就到周末了,人生五十载,如梦亦如幻。不过我还没那么老。前两天曾说过,如果需要实现输入IP的功能,那么我们可以整一个自定义控件,然后对他进行事件监听,巴拉巴拉一大堆,好不容易做完了。后来想想,这是为了符合我们平常在PC上的习惯而去自定义的。那么如果只是单纯的为了输入一个.....
分类:移动平台   时间:2015-02-07 18:49:21    收藏:0  评论:0  赞:0  阅读:426
获取JAVA[WEB]项目相关路径的几种方法
在jsp和class文件中调用的相对路径不同。在jsp里,根目录是WebRoot 在class文件中,根目录是WebRoot/WEB-INF/classes 当然你也可以用System.getProperty("user.dir")获取你工程的绝对路径。如下为在Jsp,Servlet,Java中详细...
分类:编程语言   时间:2015-02-07 18:49:11    收藏:0  评论:0  赞:0  阅读:224
LeetCode 032 Longest Valid Parentheses
题目描述:Longest Valid ParenthesesGiven a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses s...
分类:其他   时间:2015-02-07 18:49:01    收藏:0  评论:0  赞:0  阅读:323
LeetCode 037 Sudoku Solver
题目要求:Sudoku SolverWrite a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character'.'.You may assume tha...
分类:其他   时间:2015-02-07 18:48:51    收藏:0  评论:0  赞:0  阅读:304
周记 2015.02.07
1.关闭页面:window.close();2. union和union all的区别是,union会自动压缩多个结果集合中的重复结果,而union all则将所有的结果全部显示出来,不管是不是重复。3. union 和 union all都可以将多个结果集合并,而不仅仅是两个,你可以将多个结果集串...
分类:其他   时间:2015-02-07 18:48:41    收藏:0  评论:0  赞:0  阅读:328
《信息系统项目管理师教程》读书笔记—第一章 绪论
1.1 什么是项目1.1.1 项目的定义项目(Project)是为提供某项独特的产品、服务或成果所进行的临时的一次性努力。项目的特点:(1)临时性(2)独特的产品、服务或成果(3)渐进明细(Progressive Elaboration)1.1.2 信息系统项目的特点典型的信息系统项目有如下特点:目...
分类:其他   时间:2015-02-07 18:48:31    收藏:0  评论:0  赞:0  阅读:424
UNIX环境高级编程第二版勘误errata
http://www.apuebook.com/errata2e.html Welcome to the web site dedicated to the support of the second edition of Advanced Programming in the UNIX® Envi...
分类:其他   时间:2015-02-07 18:48:21    收藏:0  评论:0  赞:0  阅读:289
poj3675 求多边形与圆的面积交
题意:给出多边形的顶点坐标、圆的圆心坐标和半径,求面积交sol:又是模板题啦= =注意poj的C++好像认不出hypot函数,要稍微改写一下。hypot(double x,double y):即返回sqrt(x*x+y*y)的值 1 #include 2 #include 3 #include...
分类:其他   时间:2015-02-07 18:48:11    收藏:0  评论:0  赞:0  阅读:305
LeetCode 033 Search in Rotated Sorted Array
题目要求:Search in Rotated Sorted ArraySuppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 ...
分类:其他   时间:2015-02-07 18:47:51    收藏:0  评论:0  赞:0  阅读:259
常用到jq的ajax
1.jq 中的 ajax$(document).ready(function(){ $("#result").bind("input propertychange",function(){ $.ajax({ ...
分类:Web开发   时间:2015-02-07 18:47:41    收藏:0  评论:0  赞:0  阅读:249
Minigui3.0 自定义遥控输入引擎
minigui
分类:其他   时间:2015-02-07 18:47:21    收藏:0  评论:0  赞:0  阅读:260
WebService简单实现
1. WebService SOAP、WSDL、UDDISOAP(Simple Object Access Protocal,简单对象访问协议),是在分散或在分布式环境中交换信息的简单协议。WSDL(Web Services Description Language,Web服务描述语言) 对WebS...
分类:Web开发   时间:2015-02-07 18:47:01    收藏:0  评论:0  赞:0  阅读:239
npm 常用命令
npm install xxx 安装模块npm install xxx@1.1.1 安装1.1.1版本的xxxnpm install xxx -g 将模块安装到全局环境中。npm ls 查看安装的模块及依赖npm ls -g 查看全局安装的模块及依赖npm uninstall xxx (-g) 卸载...
分类:其他   时间:2015-02-07 18:46:51    收藏:0  评论:0  赞:0  阅读:181
Redis 集群方案- 主从切换测试
大约一年多前,公司同事开始使用Redis,不清楚是配置,还是版本的问题,当时的Redis经常在使用一段时间后,连接爆满且不释放。印象中,Redis 2.4.8以下的版本由于设计上的主从库同步问题,就会导致整个问题,不知是否确为这个Bug所致。但从那以后,我就很少敢去尝试使用Redis。曾想转投Mon...
分类:其他   时间:2015-02-07 18:46:41    收藏:0  评论:0  赞:0  阅读:401
HFS - 简单的将个人电脑变服务器!
网络硬盘HTTP File Server(HFS)是我目前所知道的最简便的P2P文件分享方式,只一个大小为559KB的单文件绿色软件(hfs.exe)就可以在瞬间不经过任何系统设置将一台普通的联网个人电脑变成一台类似FTP服务器,只不过文件的链接形式是以“http://”开头,并非“ftp://”开...
分类:其他   时间:2015-02-07 18:46:31    收藏:0  评论:0  赞:0  阅读:439
使用nodejs调用微信发送红包
前置条件:申请微信发送红包的账户及其权限 依赖 blueimg-md5和 xmlreader 库 /common/weixin.js 源码/** * Created by chent696 on 2015/2/7./common/weixin.js *//* 拼接微信红包xml串 *//*se...
分类:微信   时间:2015-02-07 18:46:24    收藏:0  评论:0  赞:0  阅读:527
ORM PetaPoco 框架的 CRUD 操作
PetaPoco 的查询操作 public IEnumerable GetAll(string sqlString, object[] obj) { try { IEnumerable target; ...
分类:其他   时间:2015-02-07 18:46:14    收藏:0  评论:0  赞:0  阅读:387
[原]编译Android源码过程中遇到的问题
编译Android源码的过程参考Android官网介绍:1、下载Android源码的步骤:https://source.android.com/source/downloading.html2、编译Android源码的步骤:https://source.android.com/source/buil...
分类:移动平台   时间:2015-02-07 18:46:02    收藏:0  评论:0  赞:0  阅读:332
JS 基础学习随想
2012年就已经接触过了js,给我的印象:这是一门谈不上复杂的语言.大概这就是所谓的学的越浅,用的越少,觉得自己会的东西好像得更多吧!开始做基础练习题的时候觉得好像都十分简单.可是后来在做到对象数组的部分还是遇到了问题,接着发现自己其实并不非常了解js.首先来说说我在codefordream基础学习...
分类:Web开发   时间:2015-02-07 18:45:52    收藏:0  评论:0  赞:0  阅读:307
Bestcoder BestCoder Round #28 A Missing number(查找缺失的合法数字)
Problem DescriptionThere is a permutation without two numbers in it, and now you know what numbers the permutation has. Please find the two numbers it...
分类:其他   时间:2015-02-07 18:45:23    收藏:0  评论:0  赞:0  阅读:340
1187条   上一页 1 ... 14 15 16 17 18 ... 60 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!