博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

摘要: # 资源 widget 展示: https://gallery.flutter.dev/#/ How Flutter renders Widgets https://www.youtube.com/watch?v=996ZgFRENMs # chapter2 Build a new app with 阅读全文

posted @ 2023-07-13 10:07 pencilCool 阅读(28) 评论(0) 推荐(0) 编辑

摘要: 原文: https://www.mikeash.com/pyblog/friday-qa-2014-06-06-secrets-of-dispatch_once.html 我的总结: dispatch_once_t 要线程安全 ,还要快 dispatch_once_t 读多,写少 执行 dispat 阅读全文

posted @ 2022-07-22 20:02 pencilCool 阅读(264) 评论(0) 推荐(0) 编辑

摘要: 翻译自: https://www.mikeash.com/pyblog/friday-qa-2017-10-27-locks-thread-safety-and-swift-2017-edition.html 关于锁的快速回顾 lock,mutex ,是一种确保在任何时候只有一个线程在特定的代码区域 阅读全文

posted @ 2022-07-21 22:27 pencilCool 阅读(328) 评论(0) 推荐(0) 编辑

摘要: 原文: https://mikeash.com/pyblog/objc_msgsends-new-prototype.html ##总结 : objc_msgSend 类型申明改变的原因: 让错误在编译的时候发生,而不是等到运行时。 为什么有 运行时错误 : ABI 的错配,调用方的ABI (对参数 阅读全文

posted @ 2022-06-25 10:16 pencilCool 阅读(168) 评论(1) 推荐(0) 编辑

2023年7月19日

摘要: ### tcp 三次握手为什么三次 典型场景: 1 客户端对服务器说: 大哥你好这是我的窗口大小,以及初始序号 2 服务器对客户端说: 好的老弟,这是我的窗口大小和初始序号 3 客户端对服务器说: 好的大哥 阅读全文

posted @ 2023-07-19 20:11 pencilCool 阅读(8) 评论(0) 推荐(0) 编辑

摘要: # 基本盘 ### 清华大学本科培养方案 https://www.tsinghua.edu.cn/jxjywj/bkzy2022/zxzy/36-1.pdf #### 数学学科基础课 30420405 数学分析(1) 5 10420935 数学分析(2) 5 30420424 数学分析(3) 4 2 阅读全文

posted @ 2023-07-19 18:33 pencilCool 阅读(16) 评论(0) 推荐(0) 编辑

2023年7月10日

摘要: #### 文件共享 ``` UIFileSharingEnabled LSSupportsOpeningDocumentsInPlace ``` 允许http NSAppTransportSecurity ``` NSContactsUsageDescription 请求访问通讯录 相机相册权限 N 阅读全文

posted @ 2023-07-10 09:55 pencilCool 阅读(5) 评论(0) 推荐(0) 编辑

2023年7月3日

摘要: export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH" 阅读全文

posted @ 2023-07-03 13:00 pencilCool 阅读(8) 评论(0) 推荐(0) 编辑

2023年6月22日

摘要: ![](https://img2023.cnblogs.com/blog/673662/202306/673662-20230623111954740-1379326398.jpg) ![](https://img2023.cnblogs.com/blog/673662/202306/673662- 阅读全文

posted @ 2023-06-22 08:09 pencilCool 阅读(16) 评论(0) 推荐(0) 编辑

2023年6月19日

摘要: playground https://go.dev/play/ go 语言圣经 https://golang-china.github.io/gopl-zh/ch1/ch1-01.html ### go env go env -w GO111MODULE=on go env -w GOPROXY=h 阅读全文

posted @ 2023-06-19 13:14 pencilCool 阅读(7) 评论(0) 推荐(0) 编辑

2023年5月10日

摘要: 颜色 https://codershigh.github.io/guidelines/ios/human-interface-guidelines/visual-design/color/index.html dark 模式适配 https://www.kodeco.com/10718147-sup 阅读全文

posted @ 2023-05-10 23:38 pencilCool 阅读(8) 评论(0) 推荐(0) 编辑

2023年4月19日

摘要: 给出英文各种时态的例句,每个时态三个例句,并且都和程序员有关 Simple Present: I write code every day. The programmer debugs the application. My team develops software for clients. P 阅读全文

posted @ 2023-04-19 08:32 pencilCool 阅读(93) 评论(0) 推荐(0) 编辑

2023年4月8日

摘要: 多个片段合并成一个: ffmpeg -i a.flv \ -vf "select='between(t,0,34)+between(t,170,177)+between(t,400,465)+between(t,475,603)', setpts=N/FRAME_RATE/TB" \ -af "as 阅读全文

posted @ 2023-04-08 10:46 pencilCool 阅读(72) 评论(0) 推荐(0) 编辑