You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2016-11-29 22:49:35
阅读次数:
202
1、request.setCharacterEncoding()是设置从request中取得的值或从数据库中取出的值的编码 2.response.setContentType指定 HTTP 响应的编码,同时指定了浏览器显示的编码. 3.response.setCharacterEncoding设置H ...
分类:
其他好文 时间:
2016-11-29 13:41:43
阅读次数:
186
首先,Java中的getResourceAsStream有以下几种: 1. Class.getResourceAsStream(String path) : path 不以’/'开头时默认是从此类所在的包下取资源,以’/'开头则是从ClassPath根下获取。其只是通过path构造一个绝对路径,最终 ...
分类:
编程语言 时间:
2016-11-29 07:22:22
阅读次数:
267
给定一个排序链表,删除所有重复的元素每个元素只留下一个。 样例 给出 1->1->2->null,返回 1->2->null 给出 1->1->2->3->3->null,返回 1->2->3->null 分析:先开始的时候是想着head 和head->next作为基准 但其实pre和cur更合适 ...
分类:
编程语言 时间:
2016-11-28 23:47:37
阅读次数:
248
NET WebApi 文档Swagger中度优化 本文版权归博客园和作者吴双本人共同所有,转载和爬虫请注明原文地址: www.cnblogs.com/tdws 写在前面 在后台接口开发中,接口文档是必不可少的。在复杂的业务当中和多人对接的情况下,简单的接口文档又不能满足需求,试想你的单应用后台有几十 ...
分类:
Windows程序 时间:
2016-11-28 23:24:53
阅读次数:
1453
代码段 /// <summary>/// DataTable转换成Excel文档流,并输出到客户端/// </summary>/// <param name="table"></param>/// <param name="response"></param>/// <param name="fil ...
分类:
其他好文 时间:
2016-11-28 15:43:16
阅读次数:
320
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping yo ...
分类:
其他好文 时间:
2016-11-28 09:26:28
阅读次数:
185
iconfont网站 http://www.iconfont.cn(推荐) http://fontello.com/ http://fontawesome.io/ https://icomoon.io/ 最近的项目使用了图标库,使我对小小的图标有了更深一步的认识。刚开始项目使用了fontawesom ...
分类:
其他好文 时间:
2016-11-27 19:55:27
阅读次数:
170
近日,遇到一个Dialog半透明背景消失的问题,背景需求是自定义Dialog实现警告提示框:
// 初始化警告弹出框
alertDialog = new EmpAlertView(cont...
分类:
移动开发 时间:
2016-11-27 14:31:15
阅读次数:
279