上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 497 下一页
摘要: ### Create a docker file 1. Cd to the project: `cd widget-factory-inc/` 2. create a dockerfile: `vim dockerfile` ```bash FROM httpd:2.4 RUN apt update 阅读全文
posted @ 2023-01-31 19:57 Zhentiw 阅读(158) 评论(0) 推荐(0)
摘要: Union type: function runGenerator(generator: { run: () => string } | (() => string)) { if (typeof generator 'function') { return generator(); } return 阅读全文
posted @ 2023-01-31 19:36 Zhentiw 阅读(40) 评论(0) 推荐(0)
摘要: TypeScript 5.0 now allows JSDoc to declare overloads with a new @overload tag. Each JSDoc comment with an @overload tag is treated as a distinct overl 阅读全文
posted @ 2023-01-30 15:50 Zhentiw 阅读(173) 评论(0) 推荐(0)
摘要: https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#exhaustive-switch-case-completions In the example code: type HasNames = { na 阅读全文
posted @ 2023-01-30 15:47 Zhentiw 阅读(81) 评论(0) 推荐(0)
摘要: Configuration and Installation Obtain the Azure login credentials: az login Copy the code provided by the command. Open a browser and navigate to http 阅读全文
posted @ 2023-01-29 20:28 Zhentiw 阅读(75) 评论(0) 推荐(0)
摘要: The following code import { expect, it } from 'vitest'; import { Equal, Expect } from '../helpers/type-utils'; export interface Cache<T> { get: (key: 阅读全文
posted @ 2023-01-29 20:14 Zhentiw 阅读(34) 评论(0) 推荐(0)
摘要: Storing Container Data in AWS S3 Introduction Using Docker volumes is the preferred method of storing container data locally. Volume support is built 阅读全文
posted @ 2023-01-28 17:37 Zhentiw 阅读(240) 评论(0) 推荐(0)
摘要: import { expect, it } from "vitest"; import { Equal, Expect } from "../helpers/type-utils"; function youSayGoodbyeISayHello(greeting: unknown) { retur 阅读全文
posted @ 2023-01-27 19:49 Zhentiw 阅读(36) 评论(0) 推荐(0)
摘要: Introduction Docker volumes is the preferred method of storing container data locally. Volume support is built directly into Docker, making it an easy 阅读全文
posted @ 2023-01-27 04:35 Zhentiw 阅读(178) 评论(0) 推荐(0)
摘要: Storing data within a container image is one option for automating a container with data, but it requires a copy of the data to be in each container y 阅读全文
posted @ 2023-01-27 02:43 Zhentiw 阅读(95) 评论(0) 推荐(0)
上一页 1 ··· 82 83 84 85 86 87 88 89 90 ··· 497 下一页