下面介绍下如何在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-value数据库.我们可以对其中的key设置一个过期时间,相关命令如下: 1.在创建一个key value 的时候同时设置过期时间 比如: set key1 value1 EX 60 表示: 我们想要将这个 key value 放到red...
分类:
其他好文 时间:
2014-10-16 15:15:13
阅读次数:
435
/** * 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
/** * 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
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
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.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
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,就得谈以下几个问题
为什么会出现新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
题意 一只狗要逃离迷宫 可以往上下左右4个方向走 每走一步耗时1s 每个格子只能走一次且迷宫的门只在t时刻打开一次 问狗是否有可能逃离这个迷宫
直接DFS 直道找到满足条件的路径 或者走完所有可能路径都不满足
注意剪枝 当前位置为(r,c) 终点为(ex,ey) 剩下的时间为lt 当前点到终点的直接距离为 d=(ex-r)+(ey-c) 若多走的时间rt=lt-d
...
分类:
其他好文 时间:
2014-10-12 22:07:58
阅读次数:
249