上一页 1 ··· 122 123 124 125 126 127 128 129 130 ··· 492 下一页
摘要: const b = true const c = false let object = { a: 1, ...(b ? {b: 2}: {}), ...(c ? {c: 3}: {}) }; console.log(object) // { a: 1, b: 2 } 阅读全文
posted @ 2022-03-28 13:51 Zhentiw 阅读(30) 评论(0) 推荐(0)
摘要: CloudFront Path Patterns You can define Behaviors to server different Origin for differnet request. For example: Set Behavior if match *.jpg redirect 阅读全文
posted @ 2022-03-28 01:53 Zhentiw 阅读(610) 评论(0) 推荐(0)
摘要: Need to enable custom domain name and encryption in transit for an application running behind an Application Load Balancer? Use AWS Route 53 to create 阅读全文
posted @ 2022-03-28 01:24 Zhentiw 阅读(59) 评论(0) 推荐(0)
摘要: If we want ALB only accpet traffic from CloudFront, NOT from public www. Then we can add a customer head in CloudFront. In ALB, we set conditional rul 阅读全文
posted @ 2022-03-26 22:56 Zhentiw 阅读(82) 评论(0) 推荐(0)
摘要: import { json } from "remix"; import path from "path"; import fs from "fs/promises"; import parseFrontMatter from "front-matter"; import invariant fro 阅读全文
posted @ 2022-03-26 01:45 Zhentiw 阅读(111) 评论(0) 推荐(0)
摘要: Relational database running on MySQL must be migrated to AWS and must be highly avaiable? Use RDS MySQL and conigure a multi-AZ standby node for HA. A 阅读全文
posted @ 2022-03-20 04:12 Zhentiw 阅读(97) 评论(0) 推荐(0)
摘要: const getGlobalThis = () => { if (typeof self !== 'undefined') return self if (typeof window !== 'undefined') return window if (typeof global !== 'und 阅读全文
posted @ 2022-03-14 15:16 Zhentiw 阅读(39) 评论(0) 推荐(0)
摘要: import React from "react"; import { motion } from "framer-motion"; const svgVariants = { start: { opacity: 0, pathLength: 0 }, finished: { opacity: 1, 阅读全文
posted @ 2022-03-11 03:45 Zhentiw 阅读(58) 评论(0) 推荐(0)
摘要: CloudTrail You can use CloudTrail to stream log into CloudWatch Logs Then in the CloudWatch, you can setup Metric Filters based on certain condition, 阅读全文
posted @ 2022-03-04 16:41 Zhentiw 阅读(45) 评论(0) 推荐(0)
摘要: SQL injection (SQLi) is a vulnerability that allows the attacker to make arbitrary queries to an an application’s SQL database. Depending on circumsta 阅读全文
posted @ 2022-02-23 20:01 Zhentiw 阅读(54) 评论(0) 推荐(0)
上一页 1 ··· 122 123 124 125 126 127 128 129 130 ··· 492 下一页