Enumeration a = request.getParameterNames();while (a.hasMoreElements()) { String buf = a.nextElement().toString(); System.out.println(buf + ":" + requ... ...
分类:
其他好文 时间:
2017-01-09 11:15:11
阅读次数:
153
数据库表里面字段的值想用另一种命名形式展示,如1是 是,2是 否 解决方法: 用到formatter,{field: 'params', title: '参数', width: 100, sortable: true, align: 'left', hidden: true},{field: 'ty... ...
分类:
其他好文 时间:
2017-01-09 11:14:03
阅读次数:
181
1.函数定义的格式: Lua使用function定义函数,语法如下: function function_name (arc) --arc表示参数列表,函数的参数列表可以为空 --body end 上面的语法等价于: function_name function_name (arc) --body ...
分类:
其他好文 时间:
2017-01-09 11:11:24
阅读次数:
252
随笔分类 - Redis Redis官网提供了很多开源的C#客户端: Nhiredis , ServiceStack.Redis , StackExchange.Redis 等。其中ServiceStack.Redis应该算是比较流行的。它提供了一整套从Redis数据结构都强类型对象转换的机制并将对 ...
分类:
其他好文 时间:
2017-01-09 11:12:16
阅读次数:
245
数据库BTree索引、Hash索引、Bitmap位图索引的优缺点 (2016-01-05 17:13:40) 转载▼ 数据库BTree索引、Hash索引、Bitmap位图索引的优缺点 转载▼ 标签: 数据库 索引 mysql oracle 分类: IT 数据库 索引 mysql oracle htt ...
分类:
其他好文 时间:
2017-01-09 11:10:32
阅读次数:
319
DevOps - Development And Operations 研发运维一体化 ...
分类:
其他好文 时间:
2017-01-09 11:10:57
阅读次数:
185
先决条件 安装Docker engine 使用yum 进行安装, 先update一下: 添加一个docker的yum源, 如果这里不添加而是使用默认的源的话很可能安装的不是最新版本的Docker: 接下来我们就要进行安装了 启用Docker服务 至此Docker的安装就已经完成了, 查看下Docke ...
分类:
其他好文 时间:
2017-01-09 11:08:05
阅读次数:
605
对于 B-tree 和 hash 数据结构的理解能够有助于预测不同存储引擎下使用不同索引的查询性能的差异,尤其是那些允许你选择 B-tree 或者 hash 索引的内存存储引擎。 B-Tree 索引的特点 B-tree 索引可以用于使用 =, >, >=, <, <= 或者 BETWEEN 运算符的 ...
分类:
其他好文 时间:
2017-01-09 11:07:14
阅读次数:
197
--------------------------------阿里云解决方案-----------------------------------一.漏洞描述Redis因配置不当可以导致未授权访问,被攻击者恶意利用。当前流行的针对Redis未授权访问的一种新型攻击方式,在特定条件下,如果Redis... ...
分类:
其他好文 时间:
2017-01-09 11:06:40
阅读次数:
214
1 首先jsp页面 点击模板下载,会自动下载模板excel,效果如下 让我们看源码: 1 jsp页面 <div class="tab-pane" id="profile"> <input type="button ...
分类:
其他好文 时间:
2017-01-09 11:08:00
阅读次数:
322
上周写了一个简单的IO口翻转的程序,但是很奇怪,在FPGA板子上怎么也跑不起来。 后面发现问题可能出在延时函数上。 while(--t)在有些编译中无法正确编译--t,编译器认为这样是可以优化的(这个是我们老大给出的可能回答)。所以它们就对它进行了优化。其实具体原因我也不是很清楚。 后面换成下面这种 ...
分类:
其他好文 时间:
2017-01-09 11:06:41
阅读次数:
177
<div class="inputFileWrapper"> <label for="inputFile"> <input type="file" id="inputFile"/> <span class="custorm-style"> <span class="left-button">上传头像 ...
分类:
其他好文 时间:
2017-01-09 11:04:13
阅读次数:
178
Uncaught TypeError: Cannot read property 'style' of undefined 分析:列表配置 columnDefs 列数不匹配来自为知笔记(Wiz) ...
分类:
其他好文 时间:
2017-01-09 11:01:45
阅读次数:
158
默认 IntelliJ IDEA 是没有开启自动 import 包的功能。 勾选标注 1 选项,IntelliJ IDEA 将在我们书写代码的时候自动帮我们优化导入的包,比如自动去掉一些没有用到的包。 勾选标注 2 选项,IntelliJ IDEA 将在我们书写代码的时候自动帮我们导入需要用到的包。 ...
分类:
其他好文 时间:
2017-01-09 10:59:57
阅读次数:
539
条码标签代表的是产品的特性等,具有相当的精确性,所以需要保证它的正确性。而使用BarTender软件,可以帮助小伙伴将设计的条码标签内容锁定,保护它而不被人改动。下面,小编就教教大家如何实现BarTender锁定内容,不让信息被篡改。 ...
分类:
其他好文 时间:
2017-01-09 10:57:07
阅读次数:
220
Given an array nums of integers and an int k, partition the array (i.e move the elements in "nums") such that: All elements < k are moved to the left ...
分类:
其他好文 时间:
2017-01-09 10:56:08
阅读次数:
162
归属组件: 或归属组件: $(function(){ $('#belongWidget').combobox({ valueField:'id', textField:'widgetName', url:'${requestContext.contextPath... ...
分类:
其他好文 时间:
2017-01-09 10:56:27
阅读次数:
140