一.其主要框架如下图所示: 一.其主要框架如下图所示: 二.sensor的JNI层:android_hardware_SensorManager.cpp (frameworks\base\core\jni) 注册JNI: register_android_hardware_SensorManager ...
分类:
其他好文 时间:
2020-11-27 11:50:48
阅读次数:
25
给所有link和script标签加随机版本号,方便调试样式,不用每次清缓存了; $("link,script").each(function(){ var t=Math.random().toFixed(4); /*var $tag=$(this).prop("tagName").toLowerCa ...
分类:
其他好文 时间:
2020-11-27 11:46:06
阅读次数:
19
配置远程Python解释器 选择File-->Settings-->Project: xxxx-->Project Interpreter, (xxxx是项目根目录), 然后在右边, 点击小齿轮设置, 点击"Add Remote", 勾选SSH Credentials, 配置相关信息: Host: ...
分类:
其他好文 时间:
2020-11-27 11:35:08
阅读次数:
8
Startup.cs ConfigureServices 添加配置 services.AddControllers().AddJsonOptions(options => { options.JsonSerializerOptions.Encoder = JavaScriptEncoder.Crea ...
分类:
Web程序 时间:
2020-11-27 11:34:27
阅读次数:
9
# 模板1 class LayerChart(TopLevelMixin, _EncodingMixin, core.TopLevelLayerSpec): def __init__(self, data=Undefined, layer=(), **kwargs): for spec in lay ...
分类:
编程语言 时间:
2020-11-27 11:30:17
阅读次数:
11
首先我个人接触下来的话,发现达梦数据库部署起来比较方便,部署一个完整的数据库的话,只需要短短的十分钟就可以完成调试安装。
DM数据库支持的系统平台也很完善,基本上市场上常见的系统都支持。例如Windows、Cent...
分类:
数据库 时间:
2020-11-27 11:28:13
阅读次数:
13
https://github.com/dotnet/corefx 这个是.net core的 开源项目地址 https://github.com/aspnet 这个下面是asp.net core 框架的地址,里面有很多仓库。 https://github.com/aspnet/EntityFrame ...
分类:
Web程序 时间:
2020-11-27 11:09:00
阅读次数:
7
xdebug 原理 : php 服务器为 client , phpstom 为调试服务器 获取php对应的xdebug 版本: https://xdebug.org/wizard php.ini 配置: zend_extension=xdebug.so xdebug.remote_enable=1 ...
分类:
Web程序 时间:
2020-11-27 11:05:40
阅读次数:
12
1.创建一个Core APi项目 2.引用nuget包:Swashbuckle.AspNetCore 3.注册中间件 services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new OpenApiInfo { Title = "Test API", Desc ...
分类:
其他好文 时间:
2020-11-26 15:20:28
阅读次数:
15
485转网口 485转网口 ZLAN5143D是一款专门为工业环境设计的RS485设备数据采集器/物联网网关,兼具串口服务器、Modbus网关、MQTT网关、RS485转JSON等多种功能于一体。它具有一个RS485接口和一个10M/100M以太网接口。它采用导轨型安装方式,体积小巧安装方便。采用接 ...
分类:
其他好文 时间:
2020-11-26 15:07:52
阅读次数:
6