IPC不是Android所特有的,Android中最有特色的IPC方式是Binder。而日常开发中涉及到的知识:AIDL,插件化,组件化等等,都离不开Binder。由此可见,IPC是挺重要的。 ...
分类:
其他好文 时间:
2020-02-27 12:57:52
阅读次数:
66
题目 统计一个数字在排序数组中出现的次数。 示例 1: 输入: nums = [5,7,7,8,8,10], target = 8 输出: 2 示例?2: 输入: nums = [5,7,7,8,8,10], target = 6 输出: 0 来源:力扣(LeetCode) 链接:https://l ...
分类:
编程语言 时间:
2020-02-26 01:50:32
阅读次数:
96
MySQL语句 [TOC] SQL语句是结构化的查询语言,mysql接口程序只负责接受sql,传送给sql层 SQL语句的种类: DDL:数据库 定义语言 DCL:数据库 语言(grant revoke) DML:数据 操作语言(update delete insert) DQL:数据 语言(sho ...
分类:
数据库 时间:
2020-02-25 09:24:57
阅读次数:
89
1. curl post jsonrequest:curl http://127.0.0.1:9098/hello -X POST -H 'Content-Type: application/json' -d '{ "username": "zhang_san", "password": "md5( ...
分类:
Web程序 时间:
2020-02-24 13:29:22
阅读次数:
104
Titer Source Codes lnk: https://github.com/zhangsaithu/titer 函数: collections.namedtuple()函数:https://www.cnblogs.com/jiangbingyang/p/7455853.html numpy ...
分类:
其他好文 时间:
2020-02-22 19:50:56
阅读次数:
79
前面和大家聊了如何使用Azure Monitor对服务器的CPU资源进行监控,从而确保在出现CPU使用率过高时,我们可以第一时间对其进行处理,来确保系统可以平稳运行。但是大家要知道,除了CPU资源以外还有很多项指标会影响我们系统的运行状态,比如我们今天要和大家聊得内存资源。
分类:
其他好文 时间:
2020-02-21 22:35:06
阅读次数:
85
第4章-7 统计学生平均成绩与及格人数 a=eval(input()) b=list(map(int,input().split())) sum=sum(b) c=[i for i in b if i>=60] count=len(c) print('average = %.1f'%(sum/a)) ...
分类:
编程语言 时间:
2020-02-17 13:56:19
阅读次数:
454
1、Centos(我这里使用的是CentOS7)下yum命令即可方便的完成安装 $ sudo yum install subversion # 测试安装是否成功 $ svnserve --version 2、建立版本库 创建svn数据目录(subversion默认是把/var/svn作为数据根目录的 ...
分类:
其他好文 时间:
2020-02-15 23:22:10
阅读次数:
87
ApplicationContext ApplicationContext的主要实现类是ClassPathXmlApplicationContext和FileSystemXmlApplicationContext,前者默认从类路径加载配置文件,后者默认从文件系统中装载配置文件。 Applicaton ...
分类:
移动开发 时间:
2020-02-15 15:17:31
阅读次数:
82
curl -s https://zhangguanzhang.github.io/bash/pull.sh | bash -s -- gcr.io/google_containers/kube-apiserver-amd64:v1.11.3 参考: https://www.ilanni.com/?p... ...
分类:
其他好文 时间:
2020-02-15 09:45:06
阅读次数:
84