Create a Simple API Using Django REST Framework in Python WHAT IS AN API API stands for application programming interface. API basically helps one web ...
NS_ASSUME_NONNULL_BEGIN @interface Robot : NSObject @property (copy,readonly) NSString *name; - (nullable instancetype)initWithName:(NSString *)name; ...
分类:
移动开发 时间:
2019-11-05 13:48:00
阅读次数:
93
private Button button; private final CharSequence[] items = { "北京", "上海", "广州" }; @Override protected void onCreate(Bundle savedInstanceState) { super... ...
分类:
移动开发 时间:
2019-11-04 19:36:32
阅读次数:
265
lambda得表达式是被逼出来的(python);语法超级简单 匿名类: 类没有名字 必须实现一个接口;可以直接new,new后面紧跟着类体 类体里面得代码只能使用一处(只能在这一个地方使用) 最终执行的是接口中的抽象方法 满足以下几个条件: 接口必须有一个注解:@FunctionalInterfa ...
分类:
其他好文 时间:
2019-11-04 17:41:06
阅读次数:
73
1. Before push image to Docker Hub, register an account in https://hub.docker.com/ 2.Input "docker login" in the docker command line interface and inp ...
分类:
其他好文 时间:
2019-11-04 17:17:35
阅读次数:
88
1)dao层 package cn.spring.transaction.dao; public interface MoneyDao { //加钱的方法 void addMoney(double money); //减钱的方法 void subMoney(double money); } 代码实现 ...
分类:
其他好文 时间:
2019-11-04 16:02:09
阅读次数:
111
1.计算机组成 2.开发接口标准 ABI--(Application Binary Interface) ABI描述了应用程序与OS之间的底层接口,允许编译好的目标代码在使用兼容ABI的系统中无需改动就能运行。 API--(Application Programming Interface) API ...
分类:
系统相关 时间:
2019-11-04 13:42:10
阅读次数:
107
mybatis-spring 可以为我们做什么 mybatis框架已经很不错了,它把配置和执行sql的通用过程抽象出来。只要你符合mybatis框架的要求,首先有正确的配置,然后有model,interface层,sql语句,还有bean定义让interface和sql关联起来,那么当你执行inte ...
分类:
编程语言 时间:
2019-11-04 13:26:03
阅读次数:
120
默认已安装Prometheus服务,服务地址:192.168.56.200 一、获取交换机snmp信息 snmp服务IP(交换机IP):172.20.2.83 snmp community:dfetest 二、部署 snmp_exporter 2.1 下载snmp_exporter 下载snmp_e ...
分类:
其他好文 时间:
2019-11-04 11:32:02
阅读次数:
334
第一步·:配置IP地址 第二步:interface ethernet 端口 port link-type access port default vlan(X) 使主机与交换机S3700连接在同一个局域网 第三步:测试是否联通其他主机 ...
分类:
其他好文 时间:
2019-11-03 01:40:38
阅读次数:
86