上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 186 下一页
摘要: Content-Disposition https://cloud.tencent.com/document/product/436/30740 如何使文件直接在浏览器中预览,而不是下载? 您需要为该文件指定正确的 Content-Type 头部,同时 Content-Disposition 的参数 阅读全文
posted @ 2022-05-13 16:40 papering 阅读(429) 评论(0) 推荐(0) 编辑
摘要: 小结: 1、 type Any interface { } v1 := new(Any) err = json.Unmarshal([]byte(bs1), &v1) V interface{} resp.V = v1 package presentationLayer import ( "Test 阅读全文
posted @ 2022-05-13 12:54 papering 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 实践: 1、 import "encoding/json" func mapVstruct2jsonMarshal() { t := struct { A string B int32 C bool }{"a", 123, true} m := map[string]interface{}{ "A" 阅读全文
posted @ 2022-05-13 12:34 papering 阅读(54) 评论(0) 推荐(0) 编辑
摘要: int-->string strconv.Itoa(i) []byte-->string ... 阅读全文
posted @ 2022-05-13 11:16 papering 阅读(26) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/sort-colors/solution/yan-se-fen-lei-by-leetcode-solution/ 阅读全文
posted @ 2022-05-13 00:39 papering 阅读(58) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/aseY1I/solution/ 阅读全文
posted @ 2022-05-13 00:27 papering 阅读(34) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/WGki4K/solution/zhi-chu-xian-yi-ci-de-shu-zi-by-leetcode-0vrt/ 阅读全文
posted @ 2022-05-13 00:16 papering 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 记一次Redis数据库配置导致的连接数泄露的问题 - SegmentFault 思否 https://segmentfault.com/a/1190000013253988 记一次Redis数据库配置导致的连接数泄露的问题 Martin91发布于 2018-02-10 问题背景 去年圣诞节当天,突然 阅读全文
posted @ 2022-05-12 17:35 papering 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 标准化思想及组装式架构在后端BFF中的实践 - 美团技术团队 https://tech.meituan.com/2022/04/28/composable-architecture-in-bff-2022.html 1. 前言 在本地生活服务领域,面向C端的信息展示类功能存在着类生物系统的复杂性,具 阅读全文
posted @ 2022-05-12 09:13 papering 阅读(96) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/HdP5NcQIdzfznGwcHLTvMw 无锁队列的几种实现及其性能对比 原创 腾讯程序员 腾讯技术工程 2022-05-11 18:00 发表于广东 作者:juliatliu,腾讯 PCG 运营开发工程师 一、无锁队列用在什么样的场景? 当 阅读全文
posted @ 2022-05-11 20:17 papering 阅读(260) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/XvmQQ1_EtXKTm8J0k3K63Q 阅读全文
posted @ 2022-05-11 20:17 papering 阅读(62) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s/ddpi0r3Q5uonLljX1dtq2g 阅读全文
posted @ 2022-05-11 20:16 papering 阅读(43) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/w3tCBm/solution/qian-n-ge-shu-zi-er-jin-zhi-zhong-1-de-g-fkjq/ 阅读全文
posted @ 2022-05-11 20:15 papering 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/xoh6Oh/solution/zheng-shu-chu-fa-by-leetcode-solution-3572/ 阅读全文
posted @ 2022-05-11 20:11 papering 阅读(25) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/majority-element/ 阅读全文
posted @ 2022-05-11 19:54 papering 阅读(22) 评论(0) 推荐(0) 编辑
摘要: Go 高性能编程技法 - 知乎 https://zhuanlan.zhihu.com/p/482547957 1.1 优先使用 strconv 而不是 fmt 基本数据类型与字符串之间的转换,优先使用 strconv 而不是 fmt,因为前者性能更佳。 // Bad for i := 0; i < 阅读全文
posted @ 2022-05-11 11:19 papering 阅读(84) 评论(0) 推荐(0) 编辑
摘要: Linux系统目录数和文件数限制 - 走看看 http://t.zoukankan.com/zt007-p-6639322.html Linux系统目录数和文件数限制 对于系统管理员来说,了解系统的一些限制是非常有必要的,这样可以根据需要进行必要的参数配置和调整,进而实现更优的性能,对于系统设计人员 阅读全文
posted @ 2022-05-11 10:22 papering 阅读(1523) 评论(0) 推荐(0) 编辑
摘要: 最全HTTP安全响应头设置指南_语言 & 开发_Charlie Belmer_InfoQ精选文章 https://www.infoq.cn/article/SHlQeOJDEfSx*P5Cjg1s 阅读全文
posted @ 2022-05-10 13:32 papering 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 实践: 1、 w.Header().Set("Content-Type", "application/json;charset=UTF-8") // X-Content-Type-Options: nosniff 防嗅探 w.Header().Set("X-Content-Type-Options" 阅读全文
posted @ 2022-05-10 13:26 papering 阅读(508) 评论(0) 推荐(0) 编辑
摘要: Language Guide (proto3) | Protocol Buffers | Google Developers https://developers.google.cn/protocol-buffers/docs/proto3?hl=zh-cn#simple Scalar Value 阅读全文
posted @ 2022-05-10 09:32 papering 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 广告素材优选算法在内容营销中的应用实践 https://mp.weixin.qq.com/s?__biz=MzI1MzYzMjE0MQ==&mid=2247493271&idx=1&sn=6f87fd1f2f308c6296c8d58f8a072961&chksm=e9d32d75dea4a463f 阅读全文
posted @ 2022-05-10 09:30 papering 阅读(83) 评论(0) 推荐(0) 编辑
摘要: // Keep the fibbers in dedicated operating system // threads, so that this program tests coordination // between pthreads and not just goroutines. run 阅读全文
posted @ 2022-05-10 09:30 papering 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 漫画:什么是IaaS、PaaS、SaaS? https://mp.weixin.qq.com/s/CrOUswsC3j5xGBTh5zYfZg 小结: SaaS allows users to connect to and use cloud-based apps over the Internet 阅读全文
posted @ 2022-05-10 09:29 papering 阅读(77) 评论(0) 推荐(0) 编辑
摘要: https://mp.weixin.qq.com/s?__biz=Mzg5MDU5NTM1NQ==&mid=2247509474&idx=1&sn=0f9b0a52ae41c82312c80129693ea131&source=41#wechat_redirect https://mp.weixin 阅读全文
posted @ 2022-05-10 09:29 papering 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 严选采销协同的算法优化实践 https://mp.weixin.qq.com/s/lebjiGPtjTPMEY5ATYmnJA 阅读全文
posted @ 2022-05-10 09:29 papering 阅读(31) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/jian-sheng-zi-ii-lcof/ https://leetcode.cn/problems/integer-break/ 阅读全文
posted @ 2022-05-09 21:46 papering 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 一套在 Go 中优雅地传递、返回、暴露错误,同时便于回溯翻查的解决方案 - 知乎 https://zhuanlan.zhihu.com/p/414161169 https://mp.weixin.qq.com/s/rn51V4VwXYb46h8_ugafeg 3种方式!Go Error处理最佳实践 阅读全文
posted @ 2022-05-09 21:33 papering 阅读(1617) 评论(0) 推荐(0) 编辑
摘要: a 搜索 复制 阅读全文
posted @ 2022-05-08 17:38 papering 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 第n个数 https://leetcode-cn.com/problems/chou-shu-lcof/ 阅读全文
posted @ 2022-05-08 16:08 papering 阅读(25) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/nge-tou-zi-de-dian-shu-lcof/solution/jian-zhi-offer-60-n-ge-tou-zi-de-dian-sh-z36d/ 阅读全文
posted @ 2022-05-07 22:38 papering 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 81页PPT|《2022年中国工业软件研究报告》 https://mp.weixin.qq.com/s/Gf7dcJfsWGDYCTMpwYtxuA 阅读全文
posted @ 2022-05-07 22:32 papering 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 收银台前端重构实践 https://mp.weixin.qq.com/s/Ui2PT0Cg_VrPyYYuI0vRxA 阅读全文
posted @ 2022-05-07 22:13 papering 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 设计理念 | Kratos https://go-kratos.dev/docs/intro/design/ 为什么v2完全重新设计​ 以前关注过kratos项目的可能知道,Kratos的v1版本已经开源了很久,也是个较为完善的框架。那么为什么不直接基于v1继续迭代,而是要推倒重来,推出完全重新设计 阅读全文
posted @ 2022-05-07 14:18 papering 阅读(63) 评论(0) 推荐(0) 编辑
摘要: go内存地址 - 简书 https://www.jianshu.com/p/c4dd003b48d7 the-way-to-go_ZH_CN/10.2.md at master · unknwon/the-way-to-go_ZH_CN · GitHub https://github.com/unk 阅读全文
posted @ 2022-05-07 14:17 papering 阅读(59) 评论(0) 推荐(0) 编辑
摘要: the-way-to-go_ZH_CN/10.1.md at master · unknwon/the-way-to-go_ZH_CN · GitHub https://github.com/unknwon/the-way-to-go_ZH_CN/blob/master/eBook/10.1.md 阅读全文
posted @ 2022-05-07 14:17 papering 阅读(67) 评论(0) 推荐(0) 编辑
摘要: A multi-producer, multi-consumer queue. queue.py 阅读全文
posted @ 2022-05-07 09:22 papering 阅读(37) 评论(0) 推荐(0) 编辑
摘要: func reverse(a []byte) { for i, n := 0, len(a); i < n/2; i++ { a[i], a[n-1-i] = a[n-1-i], a[i] } } https://leetcode.cn/problems/rotate-image/ 阅读全文
posted @ 2022-05-07 00:12 papering 阅读(45) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/zi-fu-chuan-de-pai-lie-lcof/solution/zi-fu-chuan-de-pai-lie-by-leetcode-solut-hhvs/ 阅读全文
posted @ 2022-05-07 00:06 papering 阅读(28) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/hua-dong-chuang-kou-de-zui-da-zhi-lcof/solution/hua-dong-chuang-kou-de-zui-da-zhi-by-lee-ymyo/ 阅读全文
posted @ 2022-05-06 23:49 papering 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 原创|X侦探所事件簿|内存到哪里去了 https://mp.weixin.qq.com/s/3ofmJhRwIZD-GV8TYxVLGw 原创|X侦探所事件簿|内存到哪里去了 原创 腾讯数据库技术 腾讯数据库技术 2022-03-29 18:57 收录于合集 #MySQL13个 #内存1个 提示:公 阅读全文
posted @ 2022-05-06 16:51 papering 阅读(190) 评论(0) 推荐(0) 编辑
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 186 下一页