查找jni.h 可能搜到很多,以ndk目录下的为主 导入jni.h File->Load File->Parse C Header File ida加载jni.h 出现如下错误: Error /Users/chennan/soft/app/app-debug/jni.h,27: Can't open ...
分类:
其他好文 时间:
2020-10-29 10:33:51
阅读次数:
21
Window 中杀死指定端口 cmd 命令行 taskkill Windows平台 两步方法 : 1 查询端口占用,2 强行杀死进程 netstat -aon|findstr "8080" taskkill /pid 4136-t -f 2 .直接强制杀死指定端口 taskkill /pid 413 ...
判断字符串是否在切片中 package main import "fmt" func main() { var accountArr2 = []string{"id", "name", "status", "timezone", "created_at", "updated_at", "organi ...
分类:
其他好文 时间:
2020-10-29 09:44:13
阅读次数:
16
常用的Dos命令 打开cmd的几种方式 通过window菜单,找到w分类里面的windows系统里面的命令提示符 通过windows键+R 按住shift+右键,点击powershell窗口 打开文件管理器 在目录上输入cmd加空格 Dos命令 切换系统盘 系统盘: 查看当前目录下的所有文件 dir ...
分类:
其他好文 时间:
2020-10-29 09:39:01
阅读次数:
19
#pragma execution_character_set("utf-8") #include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> int main() { cv::VideoCapture capDevice(0); ca ...
分类:
其他好文 时间:
2020-10-29 09:38:20
阅读次数:
15
1、服务器端 1 import socket,os,hashlib 2 server=socket.socket() 3 server.bind(("localhost",9999)) # 绑定套接字 4 5 server.listen() # 服务器监听 6 """ 7 FTP 流程 8 1.读取 ...
分类:
其他好文 时间:
2020-10-29 09:20:17
阅读次数:
14
输出n的阶乘#include<stdio.h>#include<Windows.h>#pragmawarning(disable:4996)intFact(intn){intret=1;for(inti=1;i<=n;i++){ret*=i;}returnret;}intmain(){intn=5;intresult=Fact(n);printf("%d\n
分类:
移动开发 时间:
2020-10-27 11:55:52
阅读次数:
37
某企业在测试环境上搭建了一套zabbix,并且通过zabbix的自动注册功能已经将几百台机器包括Window和Linux纳入监控,
现需要在生产环境上重新搭建多一套新的zabbix,需要把之前测试环境上添加的所有机器迁移到生产环境上,并且针对Linux操作系统需要在原有指标的基础上补充一些监控指标。
分类:
其他好文 时间:
2020-10-27 11:44:56
阅读次数:
27
网络上查到有两种将Json库加入到VS中的方法,我只试了一种,将Jsoncpp库源文件编译成.lib文件加入到VS中,所以下面也是记录的这种方式 1. 下载Jsoncpp库包 网址:https://github.com/open-source-parsers/jsoncpp 我下载的是svn-rel ...
分类:
Web程序 时间:
2020-10-26 11:49:29
阅读次数:
49
1、使用open内置函数打开一个文件 file:相对路径或者绝对路径 mode:文件的模式。 r 只读 w只写 b:二进制 t:以文本形式打开等等 encoding:编码方式,windows下默认为gbk 例子: 读文件的例子 file=open('./a.txt',encoding='utf8') ...
分类:
编程语言 时间:
2020-10-26 11:21:08
阅读次数:
33