本来就是把fragment写死在activity的xml模板里面,结果报了这个错误, Unable to start activity ComponentInfo{com.example.administrator.myapplication/com.example.administrator.my ...
分类:
移动开发 时间:
2017-12-28 21:36:21
阅读次数:
528
nginx的限流问题 http{ limit_req_zone $binary_remote_addr zone=req_one:10m rate=100r/s;server{ listen 8080;server_name localhost;location /server1/ {limit_r ...
分类:
其他好文 时间:
2017-12-28 11:55:39
阅读次数:
171
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column). If two nodes are in the sam ...
分类:
其他好文 时间:
2017-12-28 11:52:20
阅读次数:
200
Array & ArrayList String LinkedList Stack & Queue Recursion 1. Knapsack non-repeating items. Not Bug Free 思路一:最直接的recursion. Tree & Graph Binary Searc ...
分类:
其他好文 时间:
2017-12-28 11:44:16
阅读次数:
207
1.1 Confluence简介 Confluence是一个专业的企业知识管理与协同软件,也可以用于构建企业wiki。使用简单,但它强大的编辑和站点管理特征能够帮助团队成员之间共享信息、文档协作、集体讨论,信息推送。 Confluence为团队提供一个协作环境。在这里,团队成员齐心协力,各擅其能,协 ...
分类:
其他好文 时间:
2017-12-28 11:42:40
阅读次数:
293
Give a string s, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in th ...
分类:
其他好文 时间:
2017-12-27 19:40:46
阅读次数:
98
MySQL Server 有四种类型的日志——Error Log、General Query Log、Binary Log 和 Slow Query Log。 第一个是错误日志,记录mysqld的一些错误。第二个是一般查询日志,记录mysqld正在做的事情,比如客户端的连接和断开、来自客户端每条Sq ...
分类:
数据库 时间:
2017-12-27 14:03:10
阅读次数:
239
客户需求:列表勾选需要的信息,点击批量下载文件的功能。这里分享下我们系统的解决方案:先生成要下载的文件,然后将其进行压缩,生成zip压缩文件,然后使用浏览器的下载功能即可完成批量下载的需求。以下是zip工具类: 所需要的jar包: 例子中最后会压缩成一个a.zip如图: ...
分类:
编程语言 时间:
2017-12-27 11:52:11
阅读次数:
210
本文转载自:链接 Highlights Three different methods for parallel gradient boosting decision trees. My algorithm and implementation is competitve with (and in ...
分类:
其他好文 时间:
2017-12-26 21:59:07
阅读次数:
324
注册表存储结构: 整个注册表内容主要由项(键)、值(键值)构成。(通过regedit命令打开注册表) 5个根键: HKEY_CLASSES_ROOT (缩写HKCR) HKEY_CURRENT_USER (缩写HKCU) HKEY_LOCAL_MACHINE (缩写HKLM) HKEY_USERS ...