摘要: 编译配置插件:maven-compiler-plugin <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <!-- 常用配置示例、说明 --> <c 阅读全文
posted @ 2020-03-03 13:35 飞_2016 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 解锁小米手机 http://www.miui.com/unlock/done.html 加锁 fastboot.exe oem lock 阅读全文
posted @ 2020-02-26 15:59 飞_2016 阅读(169) 评论(0) 推荐(0) 编辑
摘要: [TOC] 安装破解 todo 开启代理 代理配置 ssl配置 可以屏蔽本地的请求 证书安装 录制请求过滤 阅读全文
posted @ 2020-02-21 09:57 飞_2016 阅读(88) 评论(0) 推荐(0) 编辑
摘要: ```javapackage akka;import akka.actor.typed.*;import akka.actor.typed.javadsl.*;import java.util.UUID;public class JavaAkkaTest { public static void main(String[] args) { ActorRef mainApp = ActorS... 阅读全文
posted @ 2019-12-09 15:56 飞_2016 阅读(483) 评论(0) 推荐(0) 编辑
摘要: [TOC] 概念: Session is a virtual user’s state. 格式: Map[String, Any] 存入数据 通过 Feeders 从响应中提取数据并保存(如 http check 中的 saveAs) 通过 Session API 手动注入 示例:todo 取得数据 阅读全文
posted @ 2019-12-04 14:37 飞_2016 阅读(503) 评论(0) 推荐(0) 编辑
摘要: 返回值类型可以不指定,建议指定 Trait 特质 Traits 封装了方法和变量,和 Interface 相比,它的方法可以有实现,这一点有点和抽象类定义类似; Scala 中类继承为单一继承,但是可以和多个 Trait 混合,这些 Trait 定义的成员变量和方法也就变成了该类的成员变量和方法; 阅读全文
posted @ 2019-12-03 14:15 飞_2016 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 底层类型 scala.Null 和 scala.Nothing 类 Null 代表 null 引用。它是所有引用类(每个由 AnyRef 派生的类)的子类,但是 Null 和值类型不兼容。(任何引用类都可以赋值为 null,但是值类型不能赋值为 null) Nothing 类型是所有其他类的子类,然 阅读全文
posted @ 2019-12-03 14:10 飞_2016 阅读(111) 评论(0) 推荐(0) 编辑
摘要: ```scala package day05 object Demo { def main(args: Array[String]): Unit = { // 原则上 Scala 的函数调用中可以省略所有的空括号。 "hello".length() "hello".length } } // Scala 也允许你使用 var 关键字来定义参数化成员变量,使用 var 定义的成员变量,可以重新赋值 阅读全文
posted @ 2019-12-03 09:20 飞_2016 阅读(110) 评论(0) 推荐(0) 编辑
摘要: ```scala package day04 import java.io.{File, PrintWriter} class Demo(desc: String) { override def toString: String = desc } object Demo { def main(args: Array[String]): Unit = { val d = new Demo("Scal 阅读全文
posted @ 2019-12-02 19:56 飞_2016 阅读(124) 评论(0) 推荐(0) 编辑
摘要: ```scalaimport io.gatling.commons.validation._import io.gatling.core.check.Validatorimport io.gatling.core.Predef._import io.gatling.http.Predef.{http, _}import scala.concurrent.duration._class DemoSi... 阅读全文
posted @ 2019-11-22 14:53 飞_2016 阅读(531) 评论(0) 推荐(0) 编辑