码迷,mamicode.com
首页 >  
搜索关键字:ex    ( 2448个结果
VS2013中Extjs的智能感知
下面介绍下如何在VS2013中实现Extjs的智能提示。新建一个项目,如图所示:在自己的js脚本目录中,把ext-all-dev.js文件复制过来。然后创建自己的js脚本文件。这里是test.js。然后在test.js文件头部加入:/// 如果ext-all-dev.js不在本目录,那么要补全ex....
分类:Web程序   时间:2014-10-16 15:43:52    阅读次数:230
redis key的过期机制
redis是一个 高性能的key-value数据库.我们可以对其中的key设置一个过期时间,相关命令如下: 1.在创建一个key value 的时候同时设置过期时间 比如: set key1 value1 EX 60 表示: 我们想要将这个 key value 放到red...
分类:其他好文   时间:2014-10-16 15:15:13    阅读次数:435
java 检查抛出的异常是否是要捕获的检查性异常或运行时异常或错误
/** * Return whether the given throwable is a checked exception: * that is, neither a RuntimeException nor an Error. * @param ex the t...
分类:编程语言   时间:2014-10-16 06:49:52    阅读次数:259
java 判断是不是检查性异常
/** * Return whether the given throwable is a checked exception: * that is, neither a RuntimeException nor an Error. * @param ex the t...
分类:编程语言   时间:2014-10-16 06:16:22    阅读次数:207
Clink(Powerful Bash-style command line editing )
Powerful Bash-style command line editing for cmd.ex 一个类似linux的bash的cmd插件。 我们可以在windows 下的cmd.exe? 支持c-a c-e c-b c-f a-b a-f.... 点击clink.bat以后,在运行 clink autorun -i 下次运行...
分类:其他好文   时间:2014-10-14 23:18:49    阅读次数:299
oracle中触发器报错:未找到数据
selectts.tbcxsxintoparam_timeLimitfromwinf_sv_ex_hybs_tbcxsqtswherets.sblsh=:new.sblshandts.xh=:new.xh;如果未找到任何记录,后面加一句Exceptionwhenno_data_foundthenparam_timeLimit:=0;即可;
分类:数据库   时间:2014-10-14 21:36:49    阅读次数:188
datatable1.9 与datatable1.10取数据区别
本人也是摸索datatable1.10的新用法,在下面的代码中如有错误,欢迎提出。。 1.10与1.9区别官方网址说明:http://www.datatables.net/upgrade/1.10 我们之间看代码。先看1.9的写法: $(document).ready(function() { var table, _qData;         table = $('#ex...
分类:其他好文   时间:2014-10-14 16:04:48    阅读次数:265
Leetcode: Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.Valid operators are +, -, *, /. Each operand may be an integer or another ex...
分类:其他好文   时间:2014-10-14 09:49:07    阅读次数:219
说说nio
既然说到了nio,就得谈以下几个问题 为什么会出现新io,"旧io"有什么问题吗? ok,一步一步来,先给大家看几个例子: 1单线程的服务器程序 import java.net.*; import java.io.*; public class SocketServiceTest { public static void main(String[] args) throws Ex...
分类:其他好文   时间:2014-10-13 18:27:57    阅读次数:403
ZOJ 2110 Tempter of the Bone(条件迷宫DFS,HDU1010)
题意  一只狗要逃离迷宫  可以往上下左右4个方向走  每走一步耗时1s  每个格子只能走一次且迷宫的门只在t时刻打开一次  问狗是否有可能逃离这个迷宫 直接DFS  直道找到满足条件的路径  或者走完所有可能路径都不满足 注意剪枝  当前位置为(r,c)  终点为(ex,ey) 剩下的时间为lt  当前点到终点的直接距离为  d=(ex-r)+(ey-c)   若多走的时间rt=lt-d ...
分类:其他好文   时间:2014-10-12 22:07:58    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!