appium1.4,运行自动化脚本时提示 org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Command failed: "D:\Program ...
分类:
移动开发 时间:
2019-01-15 14:21:09
阅读次数:
356
Starting with a positive integer N, we reorder the digits in any order (including the original order) such that the leading digit is not zero. Return ...
分类:
其他好文 时间:
2019-01-13 14:19:23
阅读次数:
178
简介 lazyload.js用于长页面图片的延迟加载,视口外的图片会在窗口滚动到它的位置时再进行加载,这是与预加载相反的。 使用 lazyload依赖与jquery。所以先引入jquery和lazyload 1.将图片路径写入data-original属性2.给lazyload的图片增加一个名为la ...
分类:
Web程序 时间:
2019-01-12 18:30:01
阅读次数:
189
在.NetCore中默认使用DataProtection来保护数据,例如Cooike等。一般情况下DataProtection生成的密钥会被加密后存储,例如默认的文件存储 可以看到使用了Windows DPAPI加密。 但是如果更改默认设置例如使用的外部存储如redis则此时密钥默认是不加密的 微软 ...
分类:
Web程序 时间:
2019-01-12 17:58:34
阅读次数:
152
(1)通过前序列表(根左右) 和 中序列表(左跟右)来重建二叉树 思路 前序遍历 序列中,第一个数字总是二叉树的根节点。在中序遍历 序列中,根节点的值在序列的中间,左子树的节点的值位于根节点的值的左边,右子树的节点的值位于根节点的值的右边。根据二叉树的这个性质,采用递归方法可以重建一个二叉树了。 ( ...
分类:
其他好文 时间:
2019-01-11 23:14:48
阅读次数:
275
数据库的快照隔离级别(Snapshot Isolation) 转自:https://www.cnblogs.com/ljhdo/p/5037033.html 隔离级别定义事务处理数据读取操作的隔离程度,在SQL Server中,隔离级别只会影响读操作申请的共享锁(Shared Lock),而不会影响 ...
分类:
数据库 时间:
2019-01-10 19:31:38
阅读次数:
174
之前我一直使用rails搭建网站。rails与koa的基本理念很相似,都是基于中间件提供一层层的服务。所不同的是,rails有很多内置的中间件,这使得开发者只需要关注MVC模块以及页面路由。而Koa这相对灵活很多,除了nodejs提供的http模块服务,其它的中间件都需要自己添加。 如果对于网站开发 ...
分类:
其他好文 时间:
2019-01-08 21:19:47
阅读次数:
175
Given an array of characters, compress it in place. The length after compression must always be smaller than or equal to the original array. Every ele ...
分类:
其他好文 时间:
2019-01-07 22:37:06
阅读次数:
159
读书计划 每天至少读2页(即4面)。手机的话,约为12屏。 读书进度 2018-01-15: 21/807 2018-01-19: 33/807 生字 species: 物种 the Original of Species 物种起源 spice: 香辛料 sable: 貂;貂皮 figurative ...
分类:
其他好文 时间:
2019-01-04 19:41:16
阅读次数:
161
Given an array that is initially stored in one stack, sort it with one additional stacks (total 2 stacks). After sorting the original stack should con ...
分类:
其他好文 时间:
2019-01-04 14:33:09
阅读次数:
154