首先来看段测试代码 public class TestInstanceof{ public static void main(String[] args){ int a = 1; if(a instanceof String){ System.out.println("a instanceof St ...
分类:
编程语言 时间:
2019-08-20 12:43:36
阅读次数:
80
接下来我们来分析一下uboot的编写过程: 从 lib/compilation.sh 89开始阅读: 89-112行,主是是进行uboot源代码的目录 cache/sources/u-boot-am335x/ti-u-boot-2017.01 ,获取uboot的版本信息,找到交叉编译工具链,并导出至 ...
分类:
其他好文 时间:
2019-08-20 10:27:39
阅读次数:
128
容器的命令选项选项描述-i,--interactive交互式-t,--tty分配一个伪终端-d,--detach运行容器到后台-e,--env设置环境变量-p,--publishlist发布容器端口到主机-P,--publish-all发布容器所有EXPOSE的端口到宿主机随机端口--namestring指定容器名称-h,--hostname设置容器主机名--ipstring指定容器IP,只能用于
分类:
其他好文 时间:
2019-08-19 15:59:00
阅读次数:
86
[TOC]SpringCloudGateway监控端点说到监控,就应该能想到SpringBootActuator。而SpringCloudGateway基于Actuator提供了许多的监控端点。只需要在项目中添加spring-boot-starter-actuator依赖,并将gateway端点暴露,即可获得若干监控端点。配置示例:management:endpoints:web:exposure
分类:
编程语言 时间:
2019-08-18 22:11:07
阅读次数:
104
B. Divisiblity of Differences You are given a multiset of n integers. You should select exactly k of them in a such way that the difference between an ...
分类:
其他好文 时间:
2019-08-18 17:18:05
阅读次数:
94
大致流程如下: 在您的原生 Android 应用中启用 WebView 调试;在Chrome DevTools中调试WebView。 通过 chrome://inspect 访问已启用调试的 WebView 列表。 调试 WebView 与通过远程调试调试网页相同。 配置 WebViews 进行调试 ...
分类:
移动开发 时间:
2019-08-16 20:33:10
阅读次数:
348
很多开发者希望Android播放端实现视频窗口的放大缩小功能,为此,我们做了个简单的demo,通过播放端回调RGB数据,直接在上层view操作处理即可,Github:https://github.com/daniulive/SmarterStreaming 无视频无真相:http://www.iqi ...
分类:
移动开发 时间:
2019-08-16 12:01:20
阅读次数:
320
编辑 /etc/ssh/ssh_config 添加以下设置可解决这个问题: ...
分类:
系统相关 时间:
2019-08-14 23:35:21
阅读次数:
128
一、函数 1.函数的定义: 用来执行某些特定功能的代码,为了减少重复使用代码,需要的时候直接调用。 2.函数的创建: function 函数名(参数变量列表){ 函数体 return 返回值; } 函数名:根据功能来自己定义的名称; 参数:传入函数内的变量;这里的参数是形参(形式参数),可以给形参赋 ...
分类:
Web程序 时间:
2019-08-14 17:20:17
阅读次数:
91