使用阿里云的国内镜像仓库地址,就可以快速的下载需要的文件 修改项目根目录下的文件 build.gradle : buildscript { repositories { maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/' ...
分类:
移动开发 时间:
2018-05-04 17:01:30
阅读次数:
1674
netstat命令用于显示与IP、TCP、UDP和ICMP协议相关的统计数据,一般用于检验本机各端口的网络连接情况。netstat是在内核中访问网络及相关信息的程序,它能提供TCP连接,TCP和UDP监听,进程内存管理的相关报告。 如果你的计算机有时候接收到的数据报导致出错数据或故障,你不必感到奇怪 ...
分类:
Web程序 时间:
2018-05-02 21:05:04
阅读次数:
231
Search是数据结构中最基础的应用之一了,在python中,search有一个非常简单的方法如下: False 不过这只是search的一种形式,下面列出多种形式的search用做记录: 一、顺序排序 顺着list中的元素一个个找,找到了返回True,没找到返回False False True 二 ...
分类:
编程语言 时间:
2018-05-01 15:14:41
阅读次数:
174
On September 22, 2004, Oceanic Flight 815 crashed on a mysterious island somewhere in the pacific. There actually were survivors in the crash , N surv ...
分类:
其他好文 时间:
2018-04-30 18:09:17
阅读次数:
194
前言 本篇基于Linux Kernel 2.6.30 的源代码,源码浏览地址如下:https://elixir.bootlin.com/linux/v2.6.30/source 具体内容分为: 操作系统是怎么组织进程的 进程状态如何转换(给出进程状态转换图) 进程是如何调度的 谈谈自己对该操作系统进 ...
分类:
系统相关 时间:
2018-04-30 16:36:51
阅读次数:
243
1.下载kafka-manager git clone https://github.com/yahoo/kafka-manager.git 2.配置sbt镜像仓库 因为kafka-manager是雅虎开发的,构建时需要依赖外网,下载scala运行时jar,由于网络环境不好,构建耗时长而且很有可能失 ...
分类:
其他好文 时间:
2018-04-30 13:20:38
阅读次数:
1044
在vagrant box中安装了基本的centos7的box,但是,该环境没有安装编译软件,所以要求自行安装。 1、查看群组安装的源包数量: yum group list ,搜索Development关键字: yum gropu list | grep Development ,得到: 2、安装De ...
分类:
其他好文 时间:
2018-04-29 13:31:51
阅读次数:
138
python语言是通过re模块来支持正则表达式的功能。 re模块支持: (1)多个线程共享同一个已编译的正则表达式对象。 (2)支持命名子组。 re模块的常用函数 1.match()函数和search()函数的使用。 区别:match函数从字符串的起始部分对模式进行匹配。 search函数在任意位置 ...
分类:
编程语言 时间:
2018-04-28 16:52:32
阅读次数:
140
1001. A+B Format (20) Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (u ...
分类:
其他好文 时间:
2018-04-27 13:47:16
阅读次数:
167
以types为例http://127.0.0.1:8000/api/types/ 显示type表所有数据post http://127.0.0.1:8000/api/types/ 为type表新增数据http://127.0.0.1:8000/api/types/1/ 显示type表id=1的数据p ...
分类:
其他好文 时间:
2018-04-26 14:00:37
阅读次数:
202