typescript-exercises(七)
若我会见到你,事隔经年。我如何和你招呼,以眼泪,以沉默。——《春逝》 题目: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125/*Intro: Filtering was completely removed from the project. It turned out that this feature was just not needed for the end-user and we spent a lot of time just because our offi...
typescript-exercises(六)
请热爱劳动,即使不是靠它吃饭,也可以为了身体的缘故而爱它,它可以增进身心健康,免除怠惰之累。——潘恩 题目: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384/*Intro: Filtering requirements have grown. We need to be able to filter any kind of Persons.Exercise: Fix typing for the filterPersons so that it can filter users and return User[] when personType='user' and return Admin[] when personType='admin'...
typescript-exercises(五)
一次冒险,胜过一千个安逸的日子。——保罗·科埃略《韦罗妮卡决定去死》 题目: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108/*Intro: Time to filter the data! In order to be flexible we filter users using a number of criteria and return only those matching all of the criteria. We don't need Admins yet, we only filter Users.Exercise: Without du...
typescript-exercises(四)
取悦于人并不困难,问题只是你是否能够了解别人的喜恶心理。——卡耐基 题目: 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970/*Intro: As we introduced "type" to both User and Admin it's now easier to distinguish between them. Once object type checking logic was extracted into separate functions isUser and isAdmin - logPerson function got new type errors.Exercise: Figure out how to help TypeScript understand types i...
typescript-exercises(三)
青年人的教育是国家的基石。——富兰克林 题面: 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970/*Intro: Since we already have some of the additional information about our users, it's a good idea to output it in a nice way.Exercise: Fix type errors in logPerson function. logPerson function should accept both User and Admin and should output relevant information according to the input: occupation for User an...
typescript-exercises(二)
亲善产生幸福,文明带来和谐。——雨果 题目: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566/*Intro: All 2 users liked the idea of the community. We should go forward and introduce some order. We are in Germany after all. Let's add a couple of admins. Initially, we only had users in the in-memory database. After introducing Admins, we need to fix the types so that everything works well together.Exercise: Type &q...
typescript-exercises(一)
你要克服的是你的虚荣心、炫耀欲,你要对付的是你时刻想要出风头的小聪明。——毛姆 题目: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104/*Welcome to: ................................................................ . . . #################### #################### E . . ####################...
Apache Kyuubi
求学的三个条件是:多观察、多吃苦、多研究。——加菲劳 文档: Quick Start — Apache Kyuubi GitHub: https://github.com/apache/kyuubi Apache Kyuubi 是一个分布式多租户网关,用于在数据仓库和 Lakehouse 上提供无服务器 SQL。 Kyuubi 通过 Thrift JDBC/ODBC 接口提供纯 SQL 网关,供最终用户使用预编程和可扩展的 Spark SQL 引擎操作大规模数据。这种“开箱即用”的模型最大限度地减少了最终用户在客户端使用 Spark 的障碍和成本。在服务器端,Kyuubi服务器和引擎的多租户架构为管理员提供了实现计算资源隔离、数据安全、高可用性、高客户端并发等的方法。 类似 HiveServer2 的 API 多租户 Spark 支持 以无服务器方式运行 Spark Kyuubi 的目标是让anyone可以轻松高效地使用 Spark(也许很快还有其他引擎),并方便用户像处理普通数据一样处理大数据。这里, anyone意思是用户不需要有 Spark 技术背...
一个自带流程设计器的工作流引擎warmflow
你与别人花费一样的时间,因为别人用心,而你吊儿郎当,所以到了最后检验成果的时候,别人成功,而你除了赔了时间之后,一无所得。——飞行员舒克 一个自带流程设计器的工作流引擎终于迎来了这个激动人心的版本1.3.0,不需要在为引入设计器而烦恼了,按照以下前四点,可以快速接入业务系统,下面介绍如何使用设计器 1. 引入依赖<dependency> <groupId>io.github.minliuhua</groupId> <artifactId>warm-flow-plugin-ui-sb-web</artifactId> <version>1.3.0</version> </dependency> 2. 后端放行部分路径 1、这两个路径需要放行,否则无法访问,/warm-flow-ui/**, /warm-flow/** 2、以下是spring-security放行配置示例 @Bean protected SecurityFilterC...
AjPlus Captcha
如同明日将死那样生活,如同永远不死那样求知。——甘地 行为验证码(滑动拼图、点选文字),前后端(java)交互,包含h5/Android/IOS/flutter/uni-app的源码和实现 github: https://github.com/anji-plus/captcha 在线文档:https://ajcaptcha.beliefteam.cn/captcha-doc/简介 AJ-Captcha行为验证码,包含滑动拼图、文字点选两种方式,UI支持弹出和嵌入两种方式。后端提供Java实现,前端提供了php、angular、html、vue、uni-app、flutter、android、ios等代码示例。 1 在线体验在线体验暂时下线 2 功能概述 2.1 组件介绍 行为验证码采用嵌入式集成方式,接入方便,安全,高效。抛弃了传统字符型验证码展示-填写字符-比对答案的流程,采用验证码展示-采集用户行为-分析用户行为流程,用户只需要产生指定的行为轨迹,不需要键盘...
