安卓11有权限要求,以下方法管用 //跳转到相机 private void showCamera() { File fileDir = new File(Environment.getExternalStorageDirectory(),"Pictures"); if (!fileDir.exist ...
分类:
移动开发 时间:
2021-06-02 14:56:05
阅读次数:
0
现在我们从源码来分析(一)中所涉及的东西 提问 问一下自己想从源码中知道什么, 带着目的去看源码才容易搞懂. 从下述的代码中发现定义了一个Function的Bean和在yaml中定义了definition, 那么这两个定义的作用是什么呢? Function是怎么样去绑定、注册的呢? 带着问题我们就可 ...
分类:
编程语言 时间:
2021-06-02 14:52:40
阅读次数:
0
新建 axios.js 放入libs目录下 import qs from 'qs'; // create an axios instance const service = axios.create({ baseURL: process.env.VUE_APP_BASE_API, // url = ...
分类:
移动开发 时间:
2021-06-02 14:43:30
阅读次数:
0
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev ...
分类:
其他好文 时间:
2021-06-02 14:41:17
阅读次数:
0
#include <sys/socket.h> #include <sys/wait.h> #include <netinet/in.h> #include <netinet/tcp.h> #include <sys/epoll.h> #include <sys/sendfile.h> #inclu ...
分类:
编程语言 时间:
2021-06-02 14:40:56
阅读次数:
0
一.typeof 检测数据类型 关键字:typeof.检测数据类型。 <script type="text/javascript" > console.log(typeof "今天是5/28"); console.log(typeof 12); console.log(typeof Infinity ...
分类:
编程语言 时间:
2021-06-02 14:26:05
阅读次数:
0
Linux系统可以通过top命令查看系统的CPU、内存、运行时间、交换分区、执行的线程等信息。通过top命令可以有效的发现系统的缺陷出在哪里。是内存不够、CPU处理能力不够、IO读写过高。 回到顶部 一、top选项 使用语法:top -hv | -abcHimMsS -d delay -n iter ...
分类:
系统相关 时间:
2021-06-02 14:25:14
阅读次数:
0
--check dataguard status select process,status,group#,sequence# from v$managed_standby select * from v$archived_log order by thread#, sequence#; selec ...
分类:
数据库 时间:
2021-06-02 14:24:58
阅读次数:
0
某些场景下并不需要打开SELinux,也就是SELinux设为Permissive,但如果程序设计不符合SELinux sepolicy, 日志中会频繁打印 如下类似avc: denied的log [ 24.018396] type=1400 audit(1622165470.867:666): a ...
分类:
移动开发 时间:
2021-06-02 14:11:59
阅读次数:
0
我这里的是dataguard环境,我尝试将从库删除进行重新配置,下面是报错个解决办法: [oracle@18c_single ~]$ dbca -silent -deleteDatabase -sourceDB ora18c[FATAL] [DBT-10201] Delete database op ...
分类:
其他好文 时间:
2021-06-02 14:09:20
阅读次数:
0