<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-11-23 12:00:24
阅读次数:
16
`import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.junit4.SpringJ ...
分类:
编程语言 时间:
2020-11-21 12:46:32
阅读次数:
25
我的这一篇博客是按照下面两篇博客的思路来的 语雀/不知非攻/JavaScript核心进阶/2. 作用域与作用域链 简书/csRyan/彻底理解JS的作用域链 作用域链 要了解作用域链,我们首先要了解什么是执行上下文以及什么是变量对象。 什么是执行上下文 执行上下文(Execution Context ...
分类:
其他好文 时间:
2020-11-20 11:59:57
阅读次数:
10
最近公司项目中 有需要用ElasticSearch (后续简称ES) 集成 SQL 查询功能,并可以按照请求参数动态切换目标数据源,同事找到我帮忙实现该功能,以前没做过,只好赶鸭子上架, 网上很多资料不全,瞎琢磨半天终于完成,记录了一些实现过程中踩过的坑,便于大家借鉴。 我们测试环境部署的是 Ela ...
分类:
数据库 时间:
2020-11-19 12:37:22
阅读次数:
14
配置开发环境 "scripts": { "serve": "vue-cli-service serve --mode development", "serve:test": "vue-cli-service serve --mode test", "serve:pre": "vue-cli-serv ...
分类:
其他好文 时间:
2020-11-18 12:47:07
阅读次数:
5
Cannot find current proxy: Set 'exposeProxy' property on Advised to 'true' to make it available, and ensure that AopContext.currentProxy() is invoked ...
分类:
其他好文 时间:
2020-11-18 12:32:47
阅读次数:
7
1, 下载:https://github.com/gerhardberger/electron-pdf-window 存到目录下,如d:\dev 2,用electron执行nodejs文件 electron.exe index.js index.js const { app, BrowserWind ...
分类:
Web程序 时间:
2020-11-16 13:35:15
阅读次数:
19
本文介绍Vue前端开发中require.context方法的使用技巧
分类:
其他好文 时间:
2020-11-16 13:07:41
阅读次数:
3
mongodb 官方的go驱动包 go.mongodb.org/mongo-driver 使用起来比较繁琐,最近对其进行了二次封装 github地址:https://github.com/w3liu/go-common/tree/master/store/mongo测试用例如下: func Test ...
分类:
数据库 时间:
2020-11-13 13:16:09
阅读次数:
40
FLATMAP flatMap算子和map算子很类似,不同之处在于针对每一个输入事件flatMap可以生成0个、1个或者多个输出元素。事实上,flatMap转换算子是filter和map的泛化。所以flatMap可以实现map和filter算子的功能。图5-3展示了flatMap如何根据输入事件的颜 ...
分类:
其他好文 时间:
2020-11-12 13:42:51
阅读次数:
7