上一页 1 ··· 131 132 133 134 135 136 137 138 139 ··· 492 下一页
摘要: You can have a untils folder under root folder, to let jest include your files, you can do: const path = require('path') module.exports = { displayNam 阅读全文
posted @ 2021-08-09 15:42 Zhentiw 阅读(43) 评论(0) 推荐(0)
摘要: Kinesis Analytics can be Data streams and Firehose as input And Analytics can use Data stream and Firehose as output FIrehose can use S3 to store data 阅读全文
posted @ 2021-08-07 16:24 Zhentiw 阅读(68) 评论(0) 推荐(0)
摘要: SAA Shared 2 MB/sec, all shards shared 2MB/s Enhanced: Per shard 2MB/sec Max retiention 365 days Can replay data same partition goes to same shard Ser 阅读全文
posted @ 2021-08-07 16:06 Zhentiw 阅读(155) 评论(0) 推荐(0)
摘要: SAA SNS can publish messages to the following endpoints: HTTP(S) SQS Lambda mobile push emails SMS SNS also has FIFO Only target can be used is SQS Ca 阅读全文
posted @ 2021-08-07 15:52 Zhentiw 阅读(59) 评论(0) 推荐(0)
摘要: SAA Max retention days 14 days Max size 256 KB Cross Account Access S3 push notification MaximumReceive API Set threshold Request Queue Response Queue 阅读全文
posted @ 2021-08-07 15:49 Zhentiw 阅读(288) 评论(0) 推荐(0)
摘要: Code: import {UnauthorizedError} from 'express-jwt' function errorMiddleware(error, req, res, next) { if (res.headersSent) { next(error) } else if (er 阅读全文
posted @ 2021-08-05 20:58 Zhentiw 阅读(98) 评论(0) 推荐(0)
摘要: Jest has a test-generation feature built-in called test.each which is great, but I don’t particularly like it’s API. Instead, we’re going to use an op 阅读全文
posted @ 2021-08-05 18:51 Zhentiw 阅读(50) 评论(0) 推荐(0)
摘要: One of the most crucial things you can do when writing tests is ensuring that the error message explains the problem as clearly as possible so it can 阅读全文
posted @ 2021-08-05 18:41 Zhentiw 阅读(37) 评论(0) 推荐(0)
摘要: For example, you have an object `A`, you want to extend it and modify some prop; then create a new interface B: export interface B extends Omit<A, 'x' 阅读全文
posted @ 2021-08-05 17:58 Zhentiw 阅读(109) 评论(0) 推荐(0)
摘要: SAA Here's a quick cheat-sheet to remember all these services: EMR (Elastic Map Reduce): Big Data / Hadoop / Spark clusters on AWS, deployed on EC2 fo 阅读全文
posted @ 2021-08-05 01:52 Zhentiw 阅读(81) 评论(0) 推荐(0)
上一页 1 ··· 131 132 133 134 135 136 137 138 139 ··· 492 下一页