作者:rainoftime链接:https://www.zhihu.com/question/19918532/answer/21647195来源:知乎 类型系统的一些概念,众说纷纭,使用上也比较乱。有些东西,甚至不好严格定义。以下算学术界的一种相对“严格”的说法。1. 先定义一些基础概念Progr ...
分类:
编程语言 时间:
2017-12-08 19:27:22
阅读次数:
222
You configured the Flash Recovery Area for your database. The database instance has been startedin ARCHIVELOG mode and the LOG_ARCHIVE_DEST_1 paramete ...
分类:
其他好文 时间:
2017-12-08 14:29:53
阅读次数:
293
/** * Created by root * Description : 隐式值和隐式视图 */ object ImplicitTest { def main(args: Array[String]): Unit = { // 隐式值 implicit val str = "hello" def ... ...
分类:
其他好文 时间:
2017-12-07 21:13:50
阅读次数:
113
#构造case class,利用反射机制隐式转换 scala> import spark.implicits._ scala> val rdd= sc.textFile("input/textdata.txt") scala> case class Person(id:Int,name:String... ...
分类:
其他好文 时间:
2017-12-07 12:00:09
阅读次数:
378
IdentityServer4之Implicit(隐式许可) 参考 官方文档:3_interactive_login 、7_javascript_client 概念:隐式许可 认证服务端配置 认证服务ApiResource配置 认证服务Client配置 认证服务Startup配置 资源服务Api配置 ...
分类:
其他好文 时间:
2017-11-29 21:00:26
阅读次数:
1666
1.最近有点时间一直看元素定位的问题: 发现163邮箱登录账号密码: id=auto-id-1511926360798,是动态的,xpath定位也无效: #-*-coding:utf-8-*- from selenium import webdriverimport time options = w ...
分类:
其他好文 时间:
2017-11-29 16:23:05
阅读次数:
171
在上一篇基于OIDC的SSO的中涉及到了4个Web站点: 其中hybrid和implicit这两个站点都是具有在服务端执行代码的能力的(1,登录需要在服务端做跳转;2,登录状态写入cookie;3,通过服务端的接口接收被动的退出通知)。而js这个客户端则是一个纯粹的静态网站,那么它是如何处理登录和退 ...
分类:
Web程序 时间:
2017-11-27 13:31:51
阅读次数:
320
Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better tha... ...
分类:
编程语言 时间:
2017-11-26 11:06:10
阅读次数:
174
五、使用别名(Alias) 首先,有这样一段Java代码: Java代码 import java.util.ArrayList; import java.util.List; import com.thoughtworks.xstream.XStream; public class XStreamT ...
分类:
编程语言 时间:
2017-11-25 14:29:27
阅读次数:
205
转自:https://www.cnblogs.com/52fhy/p/5991344.html Compose是Docker的服务编排工具,主要用来构建基于Docker的复杂应用,Compose 通过一个配置文件来管理多个Docker容器,非常适合组合使用多个容器进行开发的场景。 说明:Compos ...
分类:
其他好文 时间:
2017-11-24 15:10:47
阅读次数:
156