在gradle里设置databinding dataBinding{ enabled = true}在布局文件里 <?xml version="1.0" encoding="utf-8"?><layout xmlns:android="http://schemas.android.com/apk/r ...
分类:
移动开发 时间:
2021-03-18 13:59:30
阅读次数:
0
看看我 select (select '<>' from Table for xml path(''),TYPE).value('.','NVARCHAR(MAX)') ...
分类:
数据库 时间:
2021-03-17 15:10:52
阅读次数:
0
一、火焰图的生成。 1、采集原始CPU消耗数据:perf record -e cpu-clodk -g -p 3578 -o perf.data, 统计大概1-2分钟,ctrl+c中断即可。 2、使用perf script工具分析perf.data文件:perf script -i perf.dat ...
分类:
其他好文 时间:
2021-03-17 15:10:21
阅读次数:
0
解决:在 router 文件夹的 index.js 下 routes: [...], scrollBehavior (to, from, savedPosition) { return { x: 0, y: 0 } } ...
分类:
其他好文 时间:
2021-03-17 15:07:42
阅读次数:
0
Remove Duplicates from Sorted List 2 删除排序链表中的重复元素 Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only d ...
分类:
编程语言 时间:
2021-03-17 15:07:16
阅读次数:
0
import numpy as np import nvector as nv # 基于 geopandas 取 postgis数据 sql = 'SELECT * FROM node_table' g_out = gpd.read_postgis(sql=sql, con=pgisCon, geo ...
分类:
其他好文 时间:
2021-03-17 14:58:34
阅读次数:
0
response.setHeader("Cache-Control","no-cache"); This is used to prevent the browser from caching your dynamic content generated by a JSP or Servlet. Y ...
分类:
系统相关 时间:
2021-03-17 14:45:16
阅读次数:
0
备份 对于 服务器“WIN-XXXXX”失败。 (Microsoft.SqlServer.SmoExtended) 其他信息: System.Data.SqlClient.SqlError: 无法打开备份设备 'D:\beif.bak'。出现操作系统错误 5(拒绝访问。)。 (Microsoft.S ...
分类:
数据库 时间:
2021-03-17 14:43:21
阅读次数:
0
当在创建日志表,想生成一个永远不会重复的序列号做唯一键值,来保证每次日志记录都不会被覆盖。 有两种方式,一种带日期的方式,一种是纯GUI ID,参考如下: 1. data: lv_timestamp type timestampl, lv_time_c(30) type c, lv_date typ ...
分类:
其他好文 时间:
2021-03-17 14:41:40
阅读次数:
0
call和apply的应用场景: 判断数据类型: Object.prototype.toString用来判断类型再合适不过,借用它我们几乎可以判断所有类型的数据: function isType(data, type) { const typeObj = { '[object String]': ' ...
分类:
移动开发 时间:
2021-03-17 14:28:08
阅读次数:
0