筆記 Vue 未整理 version 套件 vetur vue2 snippets webpack -> npm install webpack -g vue -> npm install -g @vue/cli-init chrome: vue plugin
繼續閱讀Swagger2 Dependency Inject <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.
繼續閱讀RestTemplate 一般比較常用的 rest 服務,有的人自己公司可能會 base 在 OKHttp 上 包一層 HttpHelper/ HttpUtil 之類的方便使用,但在之前公司,有自己開發一個 microservice module 時 ,我一開始是選用 RestTemplate,這邊紀錄一下,未來要用時能直接隨開隨用。 //config @Configuration public class RestTemplateConfig { @Bean public RestTemplate restTemplate(ClientHttpRequestFactory factory) { return new RestTemplate(factory); } @Bean public ClientHttpRequestFactory simpleClientHttpRequestFactory() { SimpleClientHttpRequestFactory factory = new SimpleClientHttpRequestFactory(); factory.
繼續閱讀CQRS (Command Query Responsibility Segregation) Command: 命令 會對系統產生『影響』的動作 沒有『結果』回傳 Query: 查詢 不會對系統產生『影響』的動作 會回傳『結果』 CQS 原則的限制 當查詢所回傳的結果只有短暫的存在意義時便不適用 => Queue.
繼續閱讀Map Sort by value 有鑑於 Bill 上上週在刷 LC 時 題目點我!
繼續閱讀Git tag git tag deploy/{env_name}/{feature_name} git push origin deploy/{env_name}/{feature_name} git tag -d/--delete deploy/{env_name}/{feature_name} git push origin --delete deploy/{env_name}/{feature_name} git push origin :{tagname} git describe --always HEAD remote info
繼續閱讀