vault backup: 2024-02-17 23:06:48

This commit is contained in:
2024-02-17 23:06:48 +08:00
parent e8b081471f
commit 758fec56e6
29 changed files with 61 additions and 1236 deletions

View File

@@ -1,54 +0,0 @@
- Python 頻譜辨識
- [python nn 聲音辨識 -1 傅立葉轉換](https://xiang1023.blogspot.com/2017/09/python-ann-1.html)
- [使用Python和Keras建立簡單語音識別引擎_51CTO系統頻道 - MdEditor](https://www.gushiciku.cn/pl/pJUm/zh-tw)
- [Day 25自動語音識別(Automatic Speech Recognition) -- 觀念與實踐 - iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天](https://ithelp.ithome.com.tw/articles/10195763)
- [利用python实现语音文件的特征提取 - 知乎](https://zhuanlan.zhihu.com/p/228399174)
- [Python干货如何使用Python对音频进行特征提取 - 知乎](https://zhuanlan.zhihu.com/p/268292831)
- [GitHub - bishoph/sopare: Real time sound pattern recognition in Python for Raspberry/Banana Pi.](https://github.com/bishoph/sopare)
- [home of bishoph | Smarthome, speech recognition, voice control, Raspberry Pi and more](http://www.bishoph.org/)
- 有趣的framework有python搞定前端、後端[Introduction | Pynecone](https://pynecone.io/docs/getting-started/introduction)
- [GitHub - pynecone-io/pynecone: 🕸 Web apps in pure Python 🐍](https://github.com/pynecone-io/pynecone)
- [如何在 Windows 11 中初始化一個 Pynecone 專案與設定 VSCode 的開發環境 - Soft & Share](https://softnshare.com/pyneconevscode/)
- 可以分享主題
- 消失的現金感
- [推薦閱讀0460 <嵌入式金融大衝擊>-讓支付消彌於購物流程中,不備感知其存在... - YouTube](https://www.youtube.com/watch?v=0JvYuECa0qI)
- 孔乙己現象
- [全像素自动对焦AF技术 | 手机图像传感器 | 技术 | Sony Semiconductor Solutions Group](https://www.sony-semicon.com/cn/technology/mobile/autofocus.html?fbclid=IwAR360lvn6Ze-25ym468iL7C5gfIs52uKf-AanQ5RAfoLI9dKtmrUf9zvCu8)
- Embedded Python
- [1. Embedding Python in Another Application — Python 3.11.3 documentation](https://docs.python.org/3/extending/embedding.html)
- [pyinstaller打包的exe太大你需要嵌入式python玄学 探索篇 - 知乎](https://zhuanlan.zhihu.com/p/77338198)
- [pyinstaller打包的exe太大你需要嵌入式python玄学 拓展篇 - 知乎](https://zhuanlan.zhihu.com/p/77317765)
- [pyinstaller打包的exe太大你需要嵌入式python玄学 GCC篇 - 知乎](https://zhuanlan.zhihu.com/p/82287516)
- [pyinstaller打包的exe太大你需要嵌入式python玄学 充实篇 - 知乎](https://zhuanlan.zhihu.com/p/83302212)
- QChart 3D
- [Qt Data Visualization 5.15.13](https://doc.qt.io/qt-5/qtdatavisualization-index.html)
- [Creating Interactive 3D Plots in Matplotlib](https://medium.com/data-science-365/creating-interactive-3d-plots-in-matplotlib-7200e7514fec)
- [Scatter Example | Qt Data Visualization 5.15.13](https://doc.qt.io/qt-5/qtdatavisualization-scatter-example.html)
- [Surface Example | Qt Data Visualization 5.15.13](https://doc.qt.io/qt-5/qtdatavisualization-surface-example.html)
- Shutterstock/Adobe 可以用的 tag
- 植物
- plant, Nature, Growth, Green, Renewal, Beauty, Harmony, Freshness, Resilience, Prosperity, Health, Warmth, Mystery, Life, Elegance, Spirituality, Purity, Smile
- 蔥花
- onion, chopped green onion, courage, hope, new beginnings, spring
- 檸檬
- lemon, freshness, brightness, purity
-
- flower, blossom, beauty, happiness, passion, background, nature, spring, vitality
- 紫籐
- wisteria, platonic, romance, playfulness
- 玫瑰
- friendship, warmth, happiness, jealousy, romance, beauty, admiration
- 櫻花
- cherry blossom, purity, love, samurai, japan, energy
- 楓葉
- maple, Canada, freedom, peace, respect, autumn, happiness, luck, endurance, diversity, sprout, japanese maple, Acer palmatum akane
- 徐大的face detection
- https://drive.google.com/drive/folders/1PLZck76JYv4SRp0Qm2FUpDSZllfLf3pQ?usp=drive_link
- https://docs.opencv.org/3.4/db/d28/tutorial_cascade_classifier.html

View File

@@ -1,358 +0,0 @@
# ME
## 一般
- [ ] 深入Android programming
- 參考:[Modern Android App Development in 2023 | by Jorge Luis Castro Medina | Medium](https://devjorgecastro.medium.com/modern-android-app-development-in-2023-ff445d3652b4)
- [ ] 課程:[Android Compose 教學課程  |  Android Developers](https://developer.android.com/jetpack/compose/tutorial?hl=zh-tw)
- [ ] [適用於 Android 開發人員的 Jetpack Compose  |  Android Developers](https://developer.android.com/courses/jetpack-compose/course?hl=zh-tw)
- [ ] [Getting Started with CameraX](https://developer.android.com/codelabs/camerax-getting-started#1)
- [ ] 想買定焦鏡
- [ ] [XF18mmF2 R](https://www.fujifilm.com.tw/personal/digitalcamera/fujinon_lens_xf18mmf2_r/index.html)
- 公司貨 $18000[FUJINON XF18mm F2 R 鏡頭 - PChome 24h購物](https://24h.pchome.com.tw/prod/ABAQ07-A69947577)
- 水貨 $11200[Fujifilm XF 18mm F2.0 R 平行輸入 - 相機王](https://www.bigcamera.com.tw/goods_view.php?no=862&fbclid=IwAR0rTbVxJqn64l_2hR2HKsqSQSMQDsLyJDQkS3DzqVvFdJM_DJaEdWhEQ9U)
- [ ] [XF33mmF1.4 R LM WR](https://www.fujifilm.com.tw/personal/digitalcamera/fujinon_lens_xf50mmf2_r_wr/index.html)
- 公司貨 $23300[FUJIFILM XF 33mm F1.4 R LM WR 鏡頭 公司貨 - PChome 24h購物](https://24h.pchome.com.tw/prod/DGBSCP-A900C02AM)
- 水貨 $22000[數位達人-平輸 富士 Fujifilm XF 33mm F1.4 R LM WRFUJI 定焦大光圈](https://www.easyps.com.tw/product.php?m=0&s=0&t=0&id=8677&view=pc)
- [ ] [XF56mmF1.2 R WR](https://www.fujifilm.com.tw/personal/digitalcamera/xf56mmf12-r-wr/index.html)
- 公司貨 $31900[FUJIFILM XF 56mm F1.2 R WR 鏡頭 公司貨 - PChome 24h購物](https://24h.pchome.com.tw/prod/DGBS1F-A900FLVTD)
- 公司貨 $29500[數位達人-公司貨 FUJIFILM XF 56mm F1.2 R WR / 富士 FUJI 56mm F1.2 II 二代鏡](https://www.easyps.com.tw/product.php?m=133&s=0&t=0&id=9143)
- 水貨 $28000[數位達人-平輸 FUJIFILM XF 56mm F1.2 R WR / 富士 FUJI 56mm F1.2 II 二代鏡](https://www.easyps.com.tw/product.php?m=&s=&id=8687)
- 其他選擇
- Viltrox 33mm F1.4
- Tokina 33mm F1.4
- Viltrox 75mm F1.2 PRO
- 相機
- [ ] X-H2
- [ ] 水貨 $58100[Fujifilm X-H2S Body單機身平行輸入 - 相機王](https://www.bigcamera.com.tw/goods_view.php?no=7690)
- [ ] 公司貨 $61900[富士 FUJIFILM X-H2 單機身 公司貨 - PChome 24h購物](https://24h.pchome.com.tw/prod/DGBQ7H-A900FLI6L)
- [ ] 公司貨 $68000[數位達人-公司貨 FUJIFILM X-H2S 單機身](https://www.easyps.com.tw/product.php?id=8715)
- [x] 賣照片 ✅ 2023-03-18
- 賣照片網站介紹:[【賣照片賺錢】9大平台比較 被動收入行情及成功的6個技巧Masablog](https://masablog.tw/stockphoto/photo-sale/)
- [【簡單】Adobe Stock賣照片 被動收入賺錢的方法公開Masablog](https://masablog.tw/stockphoto/adobe-stock-contributor/)
- [【Shutterstock賺錢】如何賣照片影片 審核技巧和收入行情公開Masablog](https://masablog.tw/stockphoto/shutterstock-contributor/)
- [ ] (CPP) A log class
- [ ] 寫筆記時,讓書不會闔上
- [ ] 補充英格蘭與蘇格蘭的歷史
- [ ] 把RxKotlin讀完
- [ ] [Branchless C++](https://www.youtube.com/watch?v=g-WPhYREFjk) 🛫 2022-06-20 📅 2022-07-04
- BLOG
- [ ] C++ 完美轉發? 🛫 2022-06-22
- [C++11 | Perfect Forwarding std::forward 完美轉發你的需求](https://tjsw.medium.com/%E6%BD%AE-c-11-perfect-forwarding-%E5%AE%8C%E7%BE%8E%E8%BD%89%E7%99%BC%E4%BD%A0%E7%9A%84%E9%9C%80%E6%B1%82-%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90-f991830bcd84)
- [ ] `std::reference_wrapper` 🛫 2022-06-27
- [std::ref 用法與範例 | ShengYu Talk](https://shengyu7697.github.io/std-ref/)
- [multithreading - C++ reference wrapper as function argument - Stack Overflow](https://stackoverflow.com/questions/70516557/c-reference-wrapper-as-function-argument)
- [c++ - Why does passing object reference arguments to thread function fails to compile? - Stack Overflow](https://stackoverflow.com/questions/8299545/why-does-passing-object-reference-arguments-to-thread-function-fails-to-compile)
- [ ] [shared_from_this | C++ 從入門到入土](https://chenlen.com/tag/shared_from_this/) 🛫 2022-10-26
- 試試看
- [ ] [將照片隱藏在另一張照片中](https://avestura.dev/blog/hide-a-photo-inside-another-photo) 🛫 2022-07-06
- [ ] Qt static build 🛫 2022-07-06
- [Qt 静态编译(5.15.2 MinGW 32-bit) - 掘金](https://juejin.cn/post/7104467894004711454)
- [Qt最新版5.14在Windows环境静态编译安装和部署的完整过程 VS 2019-Qt static link build Windows 32 bit/64 bit_淡竹云开的博客-CSDN博客](https://blog.csdn.net/zhangpeterx/article/details/105099003)
- [ ] 筆記[MIPI](https://www.wpgdadatong.com/cn/blog/detail/42156) 🛫 2022-09-14 📅 2022-09-15
- [ ] 學習Vue.js[簡介 - Training | Microsoft Learn](https://learn.microsoft.com/zh-tw/training/modules/vue-get-started/1-introduction) 🛫 2022-09-26 📅 2022-10-03
- [ ] 給小孩看
- [ ] [(1) 問對問題,讓你省時不費力|【一天聽一點#1377】 - YouTube](https://www.youtube.com/watch?v=Nl4ij-csjHo)
- [ ] [學霸們的秘密《Make It Stick》文森說書 - YouTube](https://www.youtube.com/watch?v=k-MOeKIkvfs)
### Done
#### 2023
- 等到貨
- [x] 靴子維修 ✅ 2023-02-23
- [x] Red Wing Iron Ranger 馴鞋 ✅ 2023-02-23
- [x] X-T5 皮套 ✅ 2023-02-12
- [x] W235 副廠電池、充電器、快門鈕 ✅ 2023-02-12
- [x] Sandisk 128GB SDXC ✅ 2023-02-12
- [x] Bellroy Tech Kit Compact ✅ 2023-02-08
- [x] 手機殼 ✅ 2023-02-06
- [x] GK ✅ 2023-02-02
- [x] 收納袋 ✅ 2023-02-03
- [x] 行李箱輪子螺絲 ✅ 2023-02-03
- [x] 沃坦 Easy Rider 維修 ✅ 2023-02-08
- [x] 沃坦 Pilot 10L + 配件包 ✅ 2023-02-04
#### 2022
- BLOG
- [x] 好用的`std::optional` 🛫 2022-07-06 ✅ 2022-07-26
- [x] 作筆記C++17 - share_ptr ✅ 2022-06-06
- [x] 作筆記C++17 - R value reference與std::move ✅ 2022-06-09
- [x] 作筆記C++17 - Lambda ✅ 2022-06-15
- [x] 蝦皮出貨 🛫 2022-07-05 📅 2022-07-05 ✅ 2022-07-05
- [x] 買了[犀牛盾保護殼](https://rhinoshield.tw/7402335/checkouts/102a2052c0db062baf35874a97e7f334/thank_you),等到貨 🛫 2022-09-13 📅 2022-09-16 ✅ 2022-09-19
## 話題
### Youtube 好賺嗎?
- [方脸说B站停更潮来临都是资本的问题业内人士来聊聊背后的深层原因 - YouTube](https://www.youtube.com/watch?v=6khhFnDQ8V4)
- [20萬訂閱YouTuber「1個月賺多少錢」 她公開收入:答案是會餓死](https://udn.com/news/story/121591/7089485)
- [Youtube收益怎麼算了解YT營利如何計算和查看方式](https://gooptions.cc/youtube%E6%94%B6%E7%9B%8A%E6%80%8E%E9%BA%BC%E7%AE%97/)
- 重點
- Billibilli UP主停更風潮
- CPM
- YT TWNT$60
- YT USA: USD$5
- Billibilli: RMB$0.75
- 造夢
- 頭部、中腰部、長尾
- 簽約金
- 為什麼 Billibilli 不好了?
- 中美貿易戰
- 2022年虧損67億人民幣
- 2021年虧損55億人民幣
- 因為「穫客成本 > 客單價」
- 買 server
- 要分成
- 買版權
- 買頻寬
## 下載漫畫
- 下載漫畫 🛫 2022-10-01 📅 2022-10-07
- [x] [幽默大師(1986-2000) : 幽默大師 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/20778.htm) ✅ 2023-03-08
- [x] [世界建築史 : 王瑞珠 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/20718.htm) ✅ 2023-03-08
- [x] [機動戰士高達MSV-R虹霓的真‧松永 : 矢立肇 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/17168.htm) ✅ 2023-03-08
- [x] [14歲 : 楳圖一雄 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50187.htm)
- [x] [2.5次元的誘惑 : 橋本悠 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/13451.htm) ✅ 2022-10-05
- [x] [Basilisk甲賀忍法帖 : 山田風太郎 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10077.htm) ✅ 2022-10-05
- [x] [FIRE PUNCH炎拳 : 藤本樹 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/22941.htm) ✅ 2022-10-05
- [x] [JOJO的奇妙冒險1-5部 : 荒木飛呂彥 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50015.htm) ✅ 2022-10-25
- [x] [JOJO的奇妙冒險-石之海(全彩版) : 荒木飛呂彥 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/12617.htm) ✅ 2023-01-15
- [x] [JOJO的奇妙冒險第6部石之海 : 荒木飛呂彥 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50016.htm) ✅ 2022-10-25
- [x] [JOJO的奇妙冒險第7部飆馬野郎 : 荒木飛呂彥 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50017.htm) ✅ 2022-10-25
- [x] [JOJO的奇妙冒險第8部JOJO利昂 : 荒木飛呂彥 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50018.htm) ✅ 2022-10-25
- [x] [MONSTER-怪物- : 浦沢直樹 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50009.htm) ✅ 2022-10-25
- [x] [Origin原型機 : Boichi [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/52937.htm) ✅ 2022-10-25
- [x] [一拳超人 : 村田雄介 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50002.htm) ✅ 2022-11-02
- [x] [七大罪 : 鈴木央 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10255.htm) ✅ 2022-11-27
- [x] [三國演義 : 羅貫中 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50210.htm) ✅ 2022-11-27
- [x] [月亮的距離 : 太田垣康男 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10702.htm) ✅ 2022-10-25
- [x] [宇宙兄弟 : 小山宙哉 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10208.htm) ✅ 2022-11-27
- [x] [死亡筆記(全彩版) : 大場鶇 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/22924.htm) ✅ 2023-01-15
- [x] [色慾禁咒 : 高橋脩 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/17866.htm) ✅ 2022-10-25
- [x] 卷 04 ✅ 2022-10-25
- [x] [攻殼機動隊 : 士郎正宗 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10074.htm) ✅ 2022-11-27
- [x] [咒術廻戰 : 芥見下々 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/52985.htm) ✅ 2022-11-27
- [x] 10 ✅ 2022-11-27
- [x] 11 ✅ 2022-11-27
- [x] 12 ✅ 2022-11-27
- [x] 13 ✅ 2022-11-27
- [x] 東京都立咒術高等專門學校 01 ✅ 2022-11-27
- [x] [阿波羅登月 : 馬特·菲奇 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/26605.htm) ✅ 2022-11-02
- [x] [烙印勇士(台版) : 三浦建太郎 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/23324.htm) ✅ 2022-10-25
- [x] [特殊性癖 : 倉戸みと [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/26570.htm) ✅ 2022-11-02
- [x] [寄生獸(完全版) : 岩明均 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10348.htm) ✅ 2022-11-02
- [x] [殺戮都市(全彩版) : 奧浩哉 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/24090.htm) ✅ 2023-01-15
- [x] [第一神拳 : 森川讓次 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10937.htm) ✅ 2022-11-27
- [x] [終末的後宮 : LINK [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/11126.htm) ✅ 2022-12-14
- [x] [最高機密 : 清水玲子 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50104.htm) ✅ 2022-10-25
- [x] [棋魂 : 小畑健 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10137.htm) ✅ 2023-01-15
- [x] [進擊的巨人 : 諫山創 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10184.htm) ✅ 2023-01-15
- [x] [銀河騎士傳 : 貳瓶勉 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/51287.htm) ✅ 2022-11-27
- [x] [戰國鬼才傳 : 山田芳裕 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/11094.htm) ✅ 2022-11-27
- [x] [機動戰士高達THUNDERBOLT : 太田垣康男 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10322.htm) ✅ 2022-11-27
- [x] [歷史之眼 : 岩明均 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10561.htm) ✅ 2023-01-15
- [x] [鋼之鍊金術師 : 荒川弘 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10058.htm) ✅ 2022-12-14
- [x] [頭文字D : 重野秀一 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10194.htm) ✅ 2023-01-15
- [x] [龍珠(全彩海南版) : 鳥山明 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/20027.htm) ✅ 2023-01-15
- [x] [獵人HUNTER x HUNTER : 富堅義博 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10233.htm) ✅ 2023-01-16
- [x] [爆漫王 : 小畑健 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10138.htm) ✅ 2023-01-16
- [x] [驀然回首 : 藤本樹 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/20250.htm) ✅ 2022-10-25
- [x] [艾爾登法環: 黃金樹之路 : 飛田ニキイチ [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/26585.htm) ✅ 2022-11-27
- [x] [連褲襪 : 岡田和人 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/12152.htm) ✅ 2022-12-14
- [x] [亞人 : 櫻井畫門 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10256.htm) ✅ 2023-01-16
- [x] [浪客劍心(完全版) : 和月伸宏 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10055.htm) ✅ 2022-12-14
- [x] [今際之國的闖關者 : 麻生羽呂 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50065.htm) ✅ 2022-11-27
- [x] [MY HOME HERO : 山川直輝 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/53317.htm) ✅ 2022-12-14
- [x] [機動戰士高達Moon : 虎哉孝征 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/23690.htm) ✅ 2022-12-14
- [x] [性食鬼 : 稻光伸二 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/15609.htm) ✅ 2023-01-15
- [x] [小森食光 : 五十嵐大介 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/16872.htm) ✅ 2022-12-14
- [x] [化物語 : 大暮維人 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/12030.htm) ✅ 2023-01-16
- [x] [不道德公會 : 河添太一 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/13642.htm) ✅ 2023-01-16
- [x] [巴突克戰舞 : 迫稔雄 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/13542.htm) ✅ 2023-01-16
- [x] [露出導演 : 甜米らくれ [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/22545.htm) ✅ 2023-01-16
- [x] [暗金醜島君 : 真鍋昌平 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10560.htm) ✅ 2023-01-16
- [x] [非典範佳偶的××需求 : 萩原ケイク [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/27909.htm) ✅ 2023-01-16
- [x] 幫老婆下載漫畫 🛫 2022-11-22 📅 2022-11-24 ✅ 2022-11-02
- [x] [鑽石王牌 : 寺嶋裕二 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50051.htm) ✅ 2022-10-26
- [x] [夫婦以上,戀人未滿。 : 金丸祐基 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/14775.htm) ✅ 2022-10-26
- [x] [晨曦公主 : 草凪みずほ [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10292.htm) ✅ 2022-10-26
- [x] [默不作聲的溺愛管理癖 : 柑奈まち [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/22523.htm) ✅ 2022-10-26
- [x] [輕松愛你 : 北川美幸 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/26999.htm) ✅ 2022-10-26
- [x] [鋼之鍊金術師(東立) : 荒川弘 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/17626.htm) ✅ 2022-10-26
- [x] [羽柴君的逃愛marrige事情 甜心darling今天也在說謊 : 綾戸アスコ [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/26943.htm) ✅ 2022-10-26
- [x] [醫龍 : 乃木坂太郎 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/10126.htm) ✅ 2022-10-26
- [x] [鬥破蒼穹 : 知音 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/15021.htm) ✅ 2022-10-26
- [x] [大小姐和看門犬 : はつはる [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/15414.htm) ✅ 2022-10-26
- [x] [被戀之窪君奪走了第一次 : 美麻りん [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/20891.htm) ✅ 2022-10-26
- [x] [玻璃假面 : 美內鈴惠 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/11170.htm) ✅ 2022-10-26
- [x] [高嶺與花 : 師走ゆき [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/11866.htm) ✅ 2022-10-26
- [x] [銀色舞台 : 北川美幸 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/50444.htm) ✅ 2022-10-26
- [x] [少帥你老婆又跑了 : iCiyuan動漫 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/15129.htm) ✅ 2022-10-26
- [x] [暗夜的神話 : 風間宏子 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/22174.htm) ✅ 2022-10-26
- [x] [你是我的戀愛之外 : ももしろ [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/16731.htm) ✅ 2022-10-26
- [x] [絕對戀愛命令 : 遠山繪麻 [Kindle漫畫|epub漫畫] [mox.moe]](https://mox.moe/c/11268.htm) ✅ 2022-10-26\
- [x] [血十字](https://www.manhuaren.com/search?title=AVATAR&language=1&f=2) ✅ 2023-08-15
- [ ] [血十字第一卷漫画_0连载中_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-diyijuan/)
- [ ] [血十字:不祥之地 起源漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-qiyuan/)
- [ ] [血十字不祥之地漫画_7连载中_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi/)
- [ ] [血十字:不祥之地 序章漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-xuzhang/)
- [ ] [血十字愿你在此漫画_1连载中_血十字願你在此在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-yuannizaici/)
- [ ] [血十字:不祥之地 五指血盟漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-wuzhixuemeng/)
- [ ] [血十字:不祥之地 猶大的山羊漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-yaodadeshanyang/)
- [ ] [血十字:不祥之地 決裂漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-juelie/)
- [ ] [血十字:不祥之地 尼古丁鎮漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-nigudingzhen/)
- [ ] [活死人之夜漫画_17连载中_阿努比斯之夜 食肉者之夜 Night of the Living Dead Night of the Flesh Eaters在线漫画_漫画人](https://www.manhuaren.com/manhua-huosirenzhiye/)
- [ ] [血十字:不祥之地 日本之旅漫画_1已完结_在线漫画_漫画人](https://www.manhuaren.com/manhua-xueshizi-buxiangzhidi-ribenzhilv/)
## 想買
### Gundam 模型
- [x] [(預售中)和模線 1/100 零非系列 諸神之熵 雷神 (組裝模型)](https://www.shop2000.com.tw/gk8u8o/product/p45270354?fr1=) ✅ 2022-12-21
- [x] [(預售中)(MBG_023)1/100 鋼彈MK-II本體](https://www.shop2000.com.tw/gk8u8o/product/p37949500?fr1=) ✅ 2022-12-21
- [x] [(預售中)(AOK_020)1/100 超絕MEGA火箭巨砲[漫畫版]](https://www.shop2000.com.tw/gk8u8o/product/p40093896?fr1=) ✅ 2022-12-21
- [x] [正版授權 創模玩 魔動王 超級魔動火王 (組裝模型)](https://www.shop2000.com.tw/gk8u8o/product/p41248360?fr1=) ✅ 2022-12-21
- [x] [MG 1/100 鐵血的孤兒 巴巴托斯 獵魔鋼彈 第4形態](https://www.shop2000.com.tw/gk8u8o/product/p34759732?fr1=) ✅ 2022-12-21
- [ ] [(預售中)(MBG_030)1/100 高出力型戰國異端 改套](https://www.shop2000.com.tw/gk8u8o/product/p43823972) 🛫 2022-12-12 🔽
- [ ] [(預售中)(SS_052)1/100 鋼彈七號機/FA裝備 改套 + ABS翻件骨架](https://www.shop2000.com.tw/gk8u8o/product/p43411695) 🛫 2022-12-12 🔽
- [x] [(預售中)(SS_022)1/100 重型突擊步槍](https://www.shop2000.com.tw/gk8u8o/product/p36397468) 🔽 🛫 2022-12-12 ✅ 2022-12-21
- [ ] [(FM_007)1/100 ZZ鋼彈 改套](https://www.shop2000.com.tw/gk8u8o/product/p35641545) 🛫 2022-12-12 🔽
- [ ] [工業齒輪●MG 1/100 RX 78 - GP 02A GK套件](https://www.shop2000.com.tw/carpolylee/product/p28970206) 🛫 2022-12-12 🔽
- [ ] [(現貨中)(YJ_009)1/100 百式突擊裝備型 改套](https://www.shop2000.com.tw/gk8u8o/product/p35560073) 🛫 2022-12-14 🔽
- [ ] [(現貨中)(YJ_015)1/100 指揮官型薩克II 改套](https://www.shop2000.com.tw/gk8u8o/product/p36649258) 🛫 2022-12-14 🔽
- [x] [(預售中)(B_1331)1/100 基拉德卡 改套(2022.12.2](https://www.shop2000.com.tw/gk8u8o/product/p45137684) 🔽 🛫 2022-12-14 ✅ 2022-12-21
- [ ] [工業齒輪●MG 1/100 RX 78 - GP 02A GK套件](https://www.shop2000.com.tw/carpolylee/product/p28970206)
- Hi-Nu
- [x] [(預售中)(YJ_008)1/100 Hi-Nu鋼彈 改套](https://www.shop2000.com.tw/gk8u8o/product/p35298492) 🔼 🛫 2022-12-12 ✅ 2022-12-20
- [ ] [(預售中)(FM_003)1/100 Hi-Nu鋼彈 改套](https://www.shop2000.com.tw/gk8u8o/product/p35085330) 🛫 2022-12-12 🔽
- [ ] [(預售中)(AOK_010)1/100 Hi-Nu鋼彈 改套](https://www.shop2000.com.tw/gk8u8o/product/p40093662) 🛫 2022-12-12 🔽
- Nu
- [ ] [(預售中)(YJ_021)1/100 Nu鋼彈 改套 GK,樹脂模型](https://www.shop2000.com.tw/gk8u8o/product/p39801855) 🛫 2022-12-12 🔽
- [ ] [(預售中)(FM_014)1/100 Nu鋼彈 改套](https://www.shop2000.com.tw/gk8u8o/product/p43041559) 🛫 2022-12-12 🔽
- [x] [(預售中)(T51_014)1/00 Nu鋼彈 改套 GK,樹脂模型](https://www.shop2000.com.tw/gk8u8o/product/p38658127) 🔼 🛫 2022-12-12 ✅ 2022-12-20
# WORK
## Logitech
### RobotRunQA
- [x] 檢查Amily的test task 🛫 2022-05-30 📅 2022-06-03 ✅ 2022-06-06
- 改進RobotRunQA report
- TT
- [x] 在測試項目的主欄位上顯示resolution, format, fps 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-09
- [x] 在測試項目的主欄位上顯示test time 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-09
- [x] test config 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-09
- [x] Remove log file, only keep err file. 🛫 2022-06-14 📅 2022-06-17 ✅ 2022-06-15
- [x] 在 image 上加一個「另開視窗」的link 🛫 2022-06-14 📅 2022-06-17 ✅ 2022-06-15
- TestAllFormatsVTF
- [x] 在測試細項表格上顯示詳細說明 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-07
- [x] Show "VideoFormats: "MaxFpsMaxResolutionOnly" to outside, let user understand the test purpose. 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-08
- [x] List max fps of all resolution of all format on side bar of section 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-08
- [x] Show all items if user tests "all fps" 🛫 2022-06-14 📅 2022-06-17 ✅ 2022-06-24
- [x] Pass的標準應該是「FrameRateIsNotZero」而不是「有preview就好」 🛫 2022-06-14 📅 2022-06-17 ✅ 2022-06-15
- TestGpsDiff
- [x] List all format 🛫 2022-06-06 📅 2022-06-10 ✅ 2022-06-10
- MISC
- [x] 請在測試報告的最前面加入目前測試平台的資訊、電腦名稱Windows 版本 🛫 2022-06-24 ✅ 2022-06-24
- 例如: Station2Windows 10, Version XXXX Station6Windows 11, Version XXXX。因為最近Project team 有要求要提出幾個主要平台的測試結果。 我們目前的報告需要能看出在哪一個平台測試。
- 3A test(AWB, AE, AF)
- [ ] 報告要寫出3A的數值minimum是多少maximum是多少
- AWB
- [x] Test "auto" ability 🛫 2022-06-14 📅 2022-06-24 ✅ 2022-07-05
- [ ] 分10步做逐步測試 🛫 2022-07-08
- [ ] 在開始測試前先抓一張initial圖 🛫 2022-07-08
- [ ] 比較auto圖跟initial圖有沒有一樣 🛫 2022-07-08
- AE
- [x] Test "auto" ability 🛫 2022-06-14 📅 2022-06-24 ✅ 2022-07-05
- [ ] 分10步做逐步測試 🛫 2022-07-08
- [ ] 在開始測試前先抓一張initial圖 🛫 2022-07-08
- [ ] 比較auto圖跟initial圖有沒有一樣 🛫 2022-07-08
- AF
- [x] Test "auto" ability 🛫 2022-06-14 📅 2022-06-24 ✅ 2022-07-05
- [ ] 分10步做逐步測試 🛫 2022-07-08
- [ ] 在開始測試前先抓一張initial圖 🛫 2022-07-08
- [ ] 比較auto圖跟initial圖有沒有一樣 🛫 2022-07-08
- Zoom
- [x] 新增zoom測試從1x - 4.8x 分10步測試測試在zoom之後抓一張圖判斷AF是否有作用先不用判斷pass/fail 🛫 2022-07-08 ✅ 2022-08-15
### Tiny
#### Done
- [x] Fix VCDroidTester2 crash problem 🛫 2022-09-12 📅 2022-09-16 ✅ 2022-09-19
- [x] Forward HDMI-in audio to built-in speaker 🛫 2022-09-28 📅 2022-10-04 ✅ 2022-10-06
- 用AudioTrack可以從buffer來播放錄下來的PCM
- [Android音频开发之AudioTrack](https://www.jianshu.com/p/c67fd0c2b379)
- [深入剖析Android音频之AudioTrack](https://blog.csdn.net/yangwen123/article/details/39989751)
### Sentinel
#### Done
- [x] [BER test of RAW mode](https://jira.logitech.com/browse/VC-76934) 🛫 2022-09-13 📅 2022-09-16 ✅ 2022-09-22
- [x] Waiting for Jeming to assign a guy to build image for dump RAW 🛫 2022-09-15 📅 2022-09-19 ✅ 2022-09-15
- [x] 在Camera App不關閉的情況持續測試MIPI BER 🛫 2022-09-16 📅 2022-09-13 ✅ 2022-09-19
- [x] 量測一個round要多久時間 🛫 2022-09-16 📅 2022-09-13 ✅ 2022-09-19
- Dump fps 約33
- Test fps 約9
- [x] Commit code 🛫 2022-09-20 📅 2022-09-20 ✅ 2022-09-22
- [x] Write document 🛫 2022-09-20 📅 2022-09-20 ✅ 2022-09-22
### SentinelIQ
#### Done
- [x] RegionA rectangle can be at any position 🛫 2022-06-20 ✅ 2022-07-22
- [x] Load engineer's config 🛫 2022-06-20 ✅ 2022-07-25
- [x] RegionB的crop也要存圖 🛫 2022-07-08 ✅ 2022-07-22
- [x] Refine HTML report 🛫 2022-07-22 📅 2022-07-25 ✅ 2022-07-25
- Ask MTK on [Jira](https://jira.logitech.com/browse/VC-67420)
- [x] Why cannot use image reader if ROI is enabled? ✅ 2022-08-08
- **2022-8-8 update**: Use image reader will use capture path rather than preview path, and ROI doesn't support capture path.
- [x] Current image was rotated and doesn't keep the aspect ratio ✅ 2022-07-22
- [x] Release lastest version to Lesley 🛫 2022-08-08 📅 2022-08-11 ✅ 2022-08-15
- [x] Sort Logitech's device in front of list 🛫 2022-11-16 📅 2022-11-23 ✅ 2022-11-17
- [x] Region A support "Keep aspect ratio" 🛫 2022-11-16 📅 2022-11-23 ✅ 2022-11-29
- [x] Region B support "Keep aspect ratio" 🛫 2022-11-16 📅 2022-11-23 ✅ 2022-11-29
- [x] Region C should keep aspect ratio of crop of region B 🛫 2022-11-16 📅 2022-11-23 ✅ 2022-11-29
- [x] Always scale region B to 16:9 🛫 2022-11-16 📅 2022-11-23 ✅ 2022-11-17
### VCDroidTester2
- [x] [Support Tiny HDMI-IN audio](https://jira.logitech.com/browse/VC-83800) 🛫 2022-09-27 📅 2022-09-30 ✅ 2022-11-16
- [ ] [Recorder audio file, and can playback for audio file](https://jira.logitech.com/browse/VC-80990) 🛫 2022-09-27 📅 2022-10-07
### CameraView
- [ ] 用 OpenCL 來實現 YUY2 to RGB24 🛫 2023-04-17 ^fce519
- [ ] 用 OpenCL 來實現 NV12 to RGB24 🛫 2023-04-17 ^cb68ca
- [x] Cameraview 裡的"Comment: " 多增加幾各字元數 ✅ 2023-04-17
# 有興趣
## 買書清單
- [ ] [論傑作 ——拒絕平庸的文學閱讀指南|讀書共和國網路書店](https://www.bookrep.com.tw/?md=gwindex&cl=book&at=bookcontent&id=15017)
- [ ] [增壓的 Python讓程式碼進化到全新境界 (Supercharged Python: Take Your Code to the Next Level) | 天瓏網路書店](https://www.tenlong.com.tw/products/9789865024055)
- [ ] [架構模式|使用 Python (Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices) | 天瓏網路書店](https://www.tenlong.com.tw/products/9789865025960)
- [ ] [博客來-軟體預先架構之美學](https://www.books.com.tw/products/0010322321)
- [ ] [程序員的數學3 : 線性代數 | 天瓏網路書店](https://www.tenlong.com.tw/products/9787115417749)
- [ ] [圖解:機率‧統計【全新修訂版】 | 天瓏網路書店](https://www.tenlong.com.tw/products/9789864590681)
# Expired TODOs
```tasks
not done
due before today
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```
# All TODOs
```tasks
not done
path does not include 2021
path does not include 2022/01
path does not include 2022/02
path does not include 2022/03
path does not include 2022/04
path does not include 02. PARA/04. Archives歸檔
path does not include 001. Kong
group by folder
group by filename
group by heading
```

View File

@@ -1,8 +0,0 @@
| STOCK | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|:-----:|:---:|:---:|:---:|:---:|:---:|:---:| ---:|:---:|:---:|:---:|:---:|:---:|:---:|
| 0050 | 6 | | | ✓ | | | | | ✓ | | | | |
| 0056 | 3 | | ✓ | | | ✓ | | | ✓ | | | ✓ | |
| 00878 | 3 | | | ✓ | | | ✓ | | | ✓ | | | ✓ |
| 00919 | 3 | ✓ | | | ✓ | | | ✓ | | | ✓ | | |
| 00929 | 1 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |

View File

@@ -1,152 +0,0 @@
`````col
````col-md
# Anki
```tracker
searchType: frontmatter
searchTarget: anki
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: Anki
startDate: 2023-01-01
month:
startWeekOn: 'Mon'
color: steelblue
```
```tracker
searchType: frontmatter
searchTarget: anki
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
```
````
````col-md
# 讀書(技術)
```tracker
searchType: frontmatter
searchTarget: readingSkill
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: 讀書(技術)
startDate: 2023-01-01
month:
startWeekOn: 'Mon'
color: steelblue
```
```tracker
searchType: frontmatter
searchTarget: readingSkill
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
```
````
````col-md
# 讀書(休閒)
```tracker
searchType: frontmatter
searchTarget: readingCasual
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: 讀書(休閒)
startDate: 2023-01-01
month:
startWeekOn: 'Mon'
color: steelblue
```
```tracker
searchType: frontmatter
searchTarget: readingCasual
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
```
````
````col-md
# 跑步
```tracker
searchType: frontmatter
searchTarget: 跑步
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: 跑步
startDate: 2023-01-01
month:
startWeekOn: 'Mon'
color: steelblue
```
```tracker
searchType: frontmatter
searchTarget: 跑步
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
```
````
`````
----------------------------------------
`````col
````col-md
# 啞鈴
```tracker
searchType: frontmatter
searchTarget: 啞鈴
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: 啞鈴
startDate: 2023-01-01
bar:
title: 啞鈴
yAxisLabel: Count
yMin: 0
barColor: darkolivegreen
```
```tracker
searchType: frontmatter
searchTarget: 啞鈴
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
```
````
````col-md
# 伏地挺身
```tracker
searchType: frontmatter
searchTarget: 伏地挺身
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
datasetName: 伏地挺身
startDate: 2023-01-01
bar:
title: 伏地挺身
yAxisLabel: Count
yMin: 0
barColor: darkolivegreen
```
```tracker
searchType: frontmatter
searchTarget: 伏地挺身
folder: 01. 個人/01. Daily
dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))'
summary:
template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)"
````
`````

View File

@@ -1,126 +0,0 @@
{
"nodes":[
{"type":"text","text":"我2022-9-27","id":"8232346391140437","x":-1079,"y":-137,"width":250,"height":60},
{"type":"text","text":"C++20","id":"07b64a3105041306","x":-334,"y":-669,"width":250,"height":50},
{"type":"text","text":"Android Programming","id":"13028d1d9cb7e70c","x":-334,"y":-566,"width":250,"height":60},
{"type":"text","text":"演算法","id":"27f735ab5bd9d56c","x":-334,"y":-476,"width":250,"height":60},
{"type":"text","text":"軟體架構","id":"ff9f8c87397a5e44","x":-334,"y":-378,"width":250,"height":60},
{"type":"text","text":"Vue.js","id":"ae5f93219ece359b","x":-334,"y":-769,"width":250,"height":50},
{"type":"text","text":"應該要學","id":"2d2161fe047cac50","x":-768,"y":-137,"width":250,"height":60},
{"type":"text","text":"AI相關","id":"d9b996843cc8f6c3","x":-334,"y":-137,"width":250,"height":60},
{"type":"text","text":"個人興趣","id":"50f321b538e38c5e","x":-768,"y":97,"width":250,"height":60},
{"type":"text","text":"專業","id":"f17f38b9d6e2aae8","x":-768,"y":-378,"width":250,"height":60},
{"type":"text","text":"二戰","id":"7cdfddbc592fb976","x":-332,"y":97,"width":250,"height":60},
{"type":"text","text":"坦克","id":"ba2e6dfbf0b018f7","x":-334,"y":205,"width":250,"height":60},
{"type":"text","text":"鋼彈","id":"27c4635483fa50a8","x":-332,"y":321,"width":250,"height":60},
{"type":"text","text":"- [C++ 代碼整潔之道](https://www.tenlong.com.tw/products/9787111621904?list_name=srh)\n- [C++ 併發處理實戰 2/e](https://www.tenlong.com.tw/products/9786263240032?list_name=srh)","id":"b8ecffec538cc89b","x":21,"y":-669,"width":329,"height":50},
{"type":"text","text":"- [學對之路: Kotlin Android APP 開發](https://camp.litotom.com/courses/enrolled/677957)\n - 要用羅技帳號登入","id":"646dea0ec9486131","x":21,"y":-566,"width":329,"height":60},
{"type":"text","text":"- [無瑕的程式碼-整潔的軟體設計與架構篇](https://www.tenlong.com.tw/products/9789864342945?list_name=srh)\n- [深入淺出設計模式 2/e](https://www.tenlong.com.tw/products/9789865029364?list_name=srh)","id":"dbb9ae6023d3cd2f","x":21,"y":-378,"width":329,"height":60},
{"type":"text","text":"- [電腦視覺機器學習實務|建立端到端的影像機器學習](https://www.tenlong.com.tw/products/9786263242074)\n- [Automata Theory: inside a RegExp machine | Udemy](https://www.udemy.com/course/automata-theory-building-a-regexp-machine/?src=sac&kw=automata+theory%3A+inside)","id":"c53c3c405c571ca0","x":21,"y":-137,"width":329,"height":60},
{"type":"text","text":"- [金魚都能懂的 CSS 必學屬性](https://www.tenlong.com.tw/products/9789864348824?list_name=srh)\n- [Vue.js+Bootstrap Web開發案例教程](https://www.tenlong.com.tw/products/9787115577528)","id":"f172ad1d423ccc88","x":21,"y":-769,"width":329,"height":50},
{"type":"text","text":"運動","id":"931925cdcc425dc0","x":-1440,"y":-378,"width":250,"height":60},
{"type":"text","text":"運動傷害","id":"eec58a4500b9d802","x":-1820,"y":-476,"width":250,"height":60},
{"type":"text","text":"核心肌群","id":"fc869f5d08613732","x":-1820,"y":-378,"width":250,"height":60},
{"type":"file","file":"05. 資料收集/仰臥起坐.md","id":"645767a0e18ca5d5","x":-2360,"y":-566,"width":400,"height":147},
{"type":"file","file":"05. 資料收集/核心肌群訓練.md","id":"663b352b41b00633","x":-2360,"y":-378,"width":400,"height":138},
{"type":"text","text":"成長","id":"b1ff5874070eeadb","x":-1440,"y":-77,"width":250,"height":60},
{"type":"text","text":"心態","id":"f8889b1a258c7b3f","x":-1820,"y":-77,"width":250,"height":60},
{"type":"file","file":"05. 資料收集/成長型心態.md","id":"1836cdbd827047b6","x":-2360,"y":-79,"width":400,"height":62},
{"type":"file","file":"05. 資料收集/固定型心態.md","id":"3797d1198e584f7d","x":-2360,"y":35,"width":400,"height":62},
{"type":"text","text":"攝影","id":"be860644690c0263","x":-332,"y":440,"width":250,"height":60},
{"type":"text","text":"影像處理","id":"5919d111dcb02304","x":-334,"y":-880,"width":250,"height":60},
{"type":"text","text":"Focus","id":"112819cf7e9a22aa","x":21,"y":-880,"width":250,"height":60},
{"type":"text","text":"MTF","id":"ed96b3a955b6768f","x":393,"y":-1000,"width":250,"height":60},
{"type":"text","text":"- [Understanding resolution and MTF](http://www.normankoren.com/Tutorials/MTF.html)","id":"62d511dbd53b3496","x":840,"y":-1000,"width":400,"height":60},
{"type":"text","text":"- [Get In Focus Pixels of an Image](https://stackoverflow.com/questions/60872630/get-in-focus-pixels-of-an-image)","id":"dbac04b951e3e6b3","x":518,"y":-880,"width":367,"height":60},
{"type":"text","text":"- [Sharpness: What is it and How it is Measured | Imatest](https://www.imatest.com/docs/sharpness/)","id":"fa303a2f59b0bdd6","x":518,"y":-777,"width":367,"height":58},
{"type":"text","text":"Sobel","id":"e73f454ec3318832","x":393,"y":-1220,"width":250,"height":60},
{"type":"text","text":"Canny","id":"81f1c4f6c3dde7b6","x":393,"y":-1130,"width":250,"height":60},
{"type":"text","text":"laplacian","id":"ba7ee301fac56669","x":393,"y":-1320,"width":250,"height":60},
{"type":"text","text":"Edge Detection","id":"81de6f53741ae7ca","x":21,"y":-1220,"width":250,"height":60},
{"type":"file","file":"attachments/Pasted image 20230426214323.png","id":"20113f6da0cdb4b0","x":1007,"y":520,"width":400,"height":165},
{"type":"text","text":"AE","id":"f6e11dc6cbc3ab74","x":61,"y":440,"width":250,"height":60},
{"type":"text","text":"AF","id":"ed7cae00c8ddfed9","x":61,"y":543,"width":250,"height":60},
{"type":"text","text":"AWB","id":"9571a479273bddf4","x":61,"y":655,"width":250,"height":60},
{"type":"text","text":"- [3A Algorithms in Digital Cameras](https://gimoonnam.github.io/imageprocessing/3A-initiation/)","id":"ce25fa289e427d34","x":562,"y":840,"width":445,"height":50},
{"type":"text","text":"反差對焦Contrast Focus","id":"234919b1acd694ba","x":562,"y":543,"width":325,"height":60},
{"type":"text","text":"- [自動對焦理論](http://rportal.lib.ntnu.edu.tw:8080/server/api/core/bitstreams/d3f31673-172c-49ac-b47c-06931bd0ed29/content)","id":"28036f306bf5b5f6","x":560,"y":320,"width":327,"height":63},
{"type":"file","file":"05. 資料收集/峰值對焦.md","id":"ca93aab6995e455e","x":560,"y":440,"width":327,"height":60},
{"type":"text","text":"Qt","id":"7ecb9e12196d7237","x":-334,"y":-1600,"width":250,"height":60},
{"type":"text","text":"5.15 LTS","id":"f832dbda3c5f8e34","x":21,"y":-1600,"width":250,"height":60},
{"type":"text","text":"[QRect](https://doc.qt.io/qt-5/qrect.html)","id":"17165ac0dc91f0a7","x":393,"y":-1602,"width":250,"height":60},
{"type":"text","text":"[QRubberBand](https://doc.qt.io/qt-5/qrubberband.html#Shape-enum)","id":"017c3bd002923bbe","x":393,"y":-1700,"width":250,"height":54},
{"type":"text","text":"[QChartView](https://doc.qt.io/qt-5/qchartview.html#chart)","id":"6d60432027ad4f6e","x":393,"y":-1800,"width":250,"height":60},
{"type":"text","text":"[QChart](https://doc.qt.io/qt-5/qchart.html#plotArea-prop)","id":"5382a3dc54276d9e","x":715,"y":-1800,"width":250,"height":60},
{"type":"text","text":"[QAbstractAxis](https://doc.qt.io/qt-5/qabstractaxis.html)","id":"01fff1f07f99fe22","x":715,"y":-1900,"width":250,"height":60},
{"type":"text","text":"[QAbstractSeries](https://doc.qt.io/qt-5/qabstractseries.html)","id":"7d7f8e9ea9ddf9fa","x":715,"y":-2000,"width":250,"height":60},
{"type":"text","text":"[QValueAxis](https://doc.qt.io/qt-5/qvalueaxis.html)","id":"1953b2681d3e9658","x":1040,"y":-1900,"width":250,"height":60},
{"type":"text","text":"休閒","id":"77fd0dd2e866f92b","x":-1440,"y":261,"width":250,"height":60},
{"type":"file","file":"00. Inbox/想吃的餐廳.md","id":"78aecf8a41813312","x":-1820,"y":261,"width":260,"height":60},
{"type":"file","file":"00. Inbox/景點收集.md","id":"9dc3a935da290059","x":-1820,"y":381,"width":260,"height":59},
{"id":"5a6a6d56f4c1a9b9","x":393,"y":-1900,"width":250,"height":60,"type":"text","text":"[QCursor](https://doc.qt.io/qt-5/qcursor.html)"}
],
"edges":[
{"id":"76f8d12f48e8637f","fromNode":"8232346391140437","fromSide":"right","toNode":"f17f38b9d6e2aae8","toSide":"left"},
{"id":"834f33cb87166ad7","fromNode":"8232346391140437","fromSide":"right","toNode":"2d2161fe047cac50","toSide":"left"},
{"id":"24292cd833fd7e38","fromNode":"ae5f93219ece359b","fromSide":"right","toNode":"f172ad1d423ccc88","toSide":"left"},
{"id":"666397c92259284c","fromNode":"07b64a3105041306","fromSide":"right","toNode":"b8ecffec538cc89b","toSide":"left"},
{"id":"d141d9983fcd396a","fromNode":"13028d1d9cb7e70c","fromSide":"right","toNode":"646dea0ec9486131","toSide":"left"},
{"id":"34d23d3c49f1ad75","fromNode":"ff9f8c87397a5e44","fromSide":"right","toNode":"dbb9ae6023d3cd2f","toSide":"left"},
{"id":"51030c2f1fac6d8b","fromNode":"d9b996843cc8f6c3","fromSide":"right","toNode":"c53c3c405c571ca0","toSide":"left"},
{"id":"4e89ed924910db91","fromNode":"8232346391140437","fromSide":"right","toNode":"50f321b538e38c5e","toSide":"left"},
{"id":"f4e5acd3c0065397","fromNode":"50f321b538e38c5e","fromSide":"right","toNode":"7cdfddbc592fb976","toSide":"left"},
{"id":"3e09fc3a021d8c31","fromNode":"50f321b538e38c5e","fromSide":"right","toNode":"ba2e6dfbf0b018f7","toSide":"left"},
{"id":"cb525fba30d8b76e","fromNode":"50f321b538e38c5e","fromSide":"right","toNode":"27c4635483fa50a8","toSide":"left"},
{"id":"b2c95101d7125f30","fromNode":"2d2161fe047cac50","fromSide":"right","toNode":"d9b996843cc8f6c3","toSide":"left"},
{"id":"da09fb754fbd4ada","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"ae5f93219ece359b","toSide":"left"},
{"id":"f5d0c0c9399739ff","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"07b64a3105041306","toSide":"left"},
{"id":"4981805876ff4e40","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"13028d1d9cb7e70c","toSide":"left"},
{"id":"bd747e7bf80b1dc9","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"27f735ab5bd9d56c","toSide":"left"},
{"id":"c6f499657f78a666","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"ff9f8c87397a5e44","toSide":"left"},
{"id":"29645b8aeb3fac38","fromNode":"fc869f5d08613732","fromSide":"left","toNode":"663b352b41b00633","toSide":"right"},
{"id":"07c4d7cd98ecca3e","fromNode":"eec58a4500b9d802","fromSide":"left","toNode":"645767a0e18ca5d5","toSide":"right"},
{"id":"b42408810d4b9e4d","fromNode":"931925cdcc425dc0","fromSide":"left","toNode":"fc869f5d08613732","toSide":"right"},
{"id":"c3829cc593b58396","fromNode":"931925cdcc425dc0","fromSide":"left","toNode":"eec58a4500b9d802","toSide":"right"},
{"id":"d8e4dad316eaf79c","fromNode":"8232346391140437","fromSide":"left","toNode":"931925cdcc425dc0","toSide":"right"},
{"id":"645fb6187c4cf640","fromNode":"f8889b1a258c7b3f","fromSide":"left","toNode":"1836cdbd827047b6","toSide":"right"},
{"id":"0ed9a61572fa370f","fromNode":"f8889b1a258c7b3f","fromSide":"left","toNode":"3797d1198e584f7d","toSide":"right"},
{"id":"2c8af8ce4864191e","fromNode":"b1ff5874070eeadb","fromSide":"left","toNode":"f8889b1a258c7b3f","toSide":"right"},
{"id":"1952ad7da3ef49b4","fromNode":"8232346391140437","fromSide":"left","toNode":"b1ff5874070eeadb","toSide":"right"},
{"id":"b8a695d2bca2afa7","fromNode":"50f321b538e38c5e","fromSide":"right","toNode":"be860644690c0263","toSide":"left"},
{"id":"ec0c56c28f138c53","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"5919d111dcb02304","toSide":"left"},
{"id":"8b968e05d070b0f2","fromNode":"5919d111dcb02304","fromSide":"right","toNode":"112819cf7e9a22aa","toSide":"left"},
{"id":"1e07c572a56c18a1","fromNode":"112819cf7e9a22aa","fromSide":"right","toNode":"dbac04b951e3e6b3","toSide":"left"},
{"id":"c8498d1655a4a67e","fromNode":"112819cf7e9a22aa","fromSide":"right","toNode":"fa303a2f59b0bdd6","toSide":"left"},
{"id":"72ef95a6efc02d31","fromNode":"112819cf7e9a22aa","fromSide":"right","toNode":"ed96b3a955b6768f","toSide":"left"},
{"id":"1d50c0592ac9d84d","fromNode":"ed96b3a955b6768f","fromSide":"right","toNode":"62d511dbd53b3496","toSide":"left"},
{"id":"417c7ae02f0dd162","fromNode":"234919b1acd694ba","fromSide":"right","toNode":"20113f6da0cdb4b0","toSide":"left"},
{"id":"0ce61a93f39b4558","fromNode":"112819cf7e9a22aa","fromSide":"right","toNode":"234919b1acd694ba","toSide":"left"},
{"id":"5ee6ff6ec8762989","fromNode":"5919d111dcb02304","fromSide":"right","toNode":"81de6f53741ae7ca","toSide":"left"},
{"id":"333d4e784b6f9f64","fromNode":"81de6f53741ae7ca","fromSide":"right","toNode":"81f1c4f6c3dde7b6","toSide":"left"},
{"id":"75cd58caf7537ba3","fromNode":"81de6f53741ae7ca","fromSide":"right","toNode":"e73f454ec3318832","toSide":"left"},
{"id":"f4e50ee8cc01fe4f","fromNode":"81de6f53741ae7ca","fromSide":"right","toNode":"ba7ee301fac56669","toSide":"left"},
{"id":"13a1696377b4c78d","fromNode":"ed7cae00c8ddfed9","fromSide":"right","toNode":"ca93aab6995e455e","toSide":"left"},
{"id":"14941b6cdaa2cb15","fromNode":"ed7cae00c8ddfed9","fromSide":"right","toNode":"234919b1acd694ba","toSide":"left"},
{"id":"91adb9e7dd9cba00","fromNode":"be860644690c0263","fromSide":"right","toNode":"f6e11dc6cbc3ab74","toSide":"left"},
{"id":"0aec9fc33dbff5c1","fromNode":"be860644690c0263","fromSide":"right","toNode":"ed7cae00c8ddfed9","toSide":"left"},
{"id":"4d145961d3857ba1","fromNode":"be860644690c0263","fromSide":"right","toNode":"9571a479273bddf4","toSide":"left"},
{"id":"54c164561f365662","fromNode":"f6e11dc6cbc3ab74","fromSide":"right","toNode":"ce25fa289e427d34","toSide":"left"},
{"id":"287ba3409c034442","fromNode":"ed7cae00c8ddfed9","fromSide":"right","toNode":"ce25fa289e427d34","toSide":"left"},
{"id":"550e5aec429bbb2a","fromNode":"9571a479273bddf4","fromSide":"right","toNode":"ce25fa289e427d34","toSide":"left"},
{"id":"9fac82a8db8a5be0","fromNode":"ed7cae00c8ddfed9","fromSide":"right","toNode":"28036f306bf5b5f6","toSide":"left"},
{"id":"e99fcbdc2ad21425","fromNode":"7ecb9e12196d7237","fromSide":"right","toNode":"f832dbda3c5f8e34","toSide":"left"},
{"id":"4e53ab8e3f5f1b51","fromNode":"f832dbda3c5f8e34","fromSide":"right","toNode":"6d60432027ad4f6e","toSide":"left"},
{"id":"4790600777e7de5d","fromNode":"f832dbda3c5f8e34","fromSide":"right","toNode":"017c3bd002923bbe","toSide":"left"},
{"id":"a372aed4c8d00e32","fromNode":"f832dbda3c5f8e34","fromSide":"right","toNode":"17165ac0dc91f0a7","toSide":"left"},
{"id":"d062f09a8e03ee3d","fromNode":"6d60432027ad4f6e","fromSide":"right","toNode":"7d7f8e9ea9ddf9fa","toSide":"left"},
{"id":"a41609c480b3d154","fromNode":"6d60432027ad4f6e","fromSide":"right","toNode":"01fff1f07f99fe22","toSide":"left"},
{"id":"aed1db37db8b533c","fromNode":"6d60432027ad4f6e","fromSide":"right","toNode":"5382a3dc54276d9e","toSide":"left"},
{"id":"de4745569af749fb","fromNode":"01fff1f07f99fe22","fromSide":"right","toNode":"1953b2681d3e9658","toSide":"left"},
{"id":"ed06555a89b495c1","fromNode":"f17f38b9d6e2aae8","fromSide":"right","toNode":"7ecb9e12196d7237","toSide":"left"},
{"id":"b4137acd223c4ed7","fromNode":"77fd0dd2e866f92b","fromSide":"left","toNode":"78aecf8a41813312","toSide":"right"},
{"id":"7e8bd2b6c216747f","fromNode":"77fd0dd2e866f92b","fromSide":"left","toNode":"9dc3a935da290059","toSide":"right"},
{"id":"9c836b1e2a00526a","fromNode":"8232346391140437","fromSide":"left","toNode":"77fd0dd2e866f92b","toSide":"right"},
{"id":"6f5e3036401cbfce","fromNode":"f832dbda3c5f8e34","fromSide":"right","toNode":"5a6a6d56f4c1a9b9","toSide":"left"}
]
}

View File

@@ -8,7 +8,9 @@
{"id":"dd89a32995de8e4a","type":"text","text":"# 參考\n- [Tweak CPU Power Elegantly on Windows - kkocdko's blog](https://kkocdko.site/post/202110041950)\n- [Powersetting.h header - Win32 apps | Microsoft Learn](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/)","x":460,"y":200,"width":435,"height":180},
{"id":"154d88218d26f035","type":"text","text":"[PowerWriteACValueIndex](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powerwriteacvalueindex)\n```c\nPowerWriteACValueIndex(NULL, scheme, \n &GUID_PROCESSOR_SETTINGS_SUBGROUP,\n &GUID_PROCESSOR_THROTTLE_MAXIMUM, percent);\n```","x":460,"y":-255,"width":429,"height":151},
{"id":"bb0881e617ca2f52","type":"text","text":"[PowerGetActiveScheme](https://learn.microsoft.com/en-us/windows/win32/api/powersetting/nf-powersetting-powergetactivescheme)\n```c\nGUID guid, *scheme = &guid; PowerGetActiveScheme(NULL, &scheme);\n```","x":502,"y":-460,"width":346,"height":125},
{"id":"1b7a2018be9a2542","type":"text","text":"- [[設定CPU Power mode]]","x":80,"y":35,"width":250,"height":60}
{"id":"1b7a2018be9a2542","type":"text","text":"- [[設定CPU Power mode]]","x":80,"y":35,"width":250,"height":60},
{"id":"034536d7a91d7b62","x":-100,"y":320,"width":133,"height":60,"type":"text","text":"工具設定"},
{"id":"197b4dc40754a989","x":-201,"y":460,"width":335,"height":211,"type":"text","text":"- [[Chrome]]\n- [[freefilesync]]\n- [[Obsidian]]\n- [[SublimeText]]\n- [[vim]]\n- [[Visual Studio Code]]\n- [[Windows 11 重灌]]\n- [[Windows Terminal]]"}
],
"edges":[
{"id":"5c4879a42c2db8ac","fromNode":"d34f3157e07cb50d","fromSide":"top","toNode":"0138bfb5c46d71f1","toSide":"bottom"},
@@ -16,6 +18,8 @@
{"id":"f60c6e07e0ef6a98","fromNode":"c276871e8748cbfe","fromSide":"bottom","toNode":"b89cd7d463506018","toSide":"top"},
{"id":"7fada69bb11ae874","fromNode":"154d88218d26f035","fromSide":"bottom","toNode":"c276871e8748cbfe","toSide":"top"},
{"id":"d4c1beba2bea0171","fromNode":"bb0881e617ca2f52","fromSide":"bottom","toNode":"154d88218d26f035","toSide":"top","label":"SchemeGuid"},
{"id":"7000cd2de2280a0a","fromNode":"1b7a2018be9a2542","fromSide":"right","toNode":"e724a0b36766d3a9","toSide":"left"}
{"id":"7000cd2de2280a0a","fromNode":"1b7a2018be9a2542","fromSide":"right","toNode":"e724a0b36766d3a9","toSide":"left"},
{"id":"82d29d89f73fd716","fromNode":"d34f3157e07cb50d","fromSide":"bottom","toNode":"034536d7a91d7b62","toSide":"top"},
{"id":"035012a29ceb315e","fromNode":"034536d7a91d7b62","fromSide":"bottom","toNode":"197b4dc40754a989","toSide":"top"}
]
}

View File

@@ -0,0 +1,22 @@
## Cache to Ramdisk
1. 關閉 Chrome
2. 開啟檔案總管至以下路徑:`%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default`
3. 刪除 Cache 資料夾
4. 用管理員權限開啟 cmd
5. 輸入以下指令以建立 Symbolic Link: `mklink /d "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\Cache\" "R:\TEMP\Chrome\"`
6. (Optional) 如果有多個使用者的話: `mklink /d "%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Profile 1\Cache\" "R:\TEMP\Chrome\"`
## 網站黑名單
- 用[uBlacklist](https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe)來阻擋不想要的網站
- uBlacklist 也可以設定黑名單,推薦黑名單:
- [danny0838/content-farm-terminator at gh-pages](https://github.com/danny0838/content-farm-terminator/tree/gh-pages)
- [標準內容農場清單](https://danny0838.github.io/content-farm-terminator/files/blocklist/content-farms.txt)
- [類內容農場清單](https://danny0838.github.io/content-farm-terminator/files/blocklist/nearly-content-farms.txt)
- [社群內容農場清單](https://danny0838.github.io/content-farm-terminator/files/blocklist/sns-content-farms.txt)
- [假新聞網站清單](https://danny0838.github.io/content-farm-terminator/files/blocklist/fake-news.txt)
- [詐騙網站清單](https://danny0838.github.io/content-farm-terminator/files/blocklist/scam-sites.txt)
- [cobaltdisco/Google-Chinese-Results-Blocklist: 我终于能用谷歌搜中文了……](https://github.com/cobaltdisco/Google-Chinese-Results-Blocklist)
- [中文搜索结果黑名单](https://raw.githubusercontent.com/cobaltdisco/Google-Chinese-Results-Blocklist/master/uBlacklist_subscription.txt)
### 參考
- [效率封殺 Google 搜尋裡面的垃圾結果與內容農場 | jkgtw's blog ](https://www.jkg.tw/p3525/)

View File

@@ -0,0 +1,275 @@
---
tags:
aliases:
date: 2022-05-26
time: 14:51:12
description:
---
## YAML front matter
官方說明:[YAML front matter - Obsidian Help](https://help.obsidian.md/Advanced+topics/YAML+front+matter)
目前使用的front matter是[[front matter]]。
## 自動產生時間日期
Obsidian在抽入template的時候可以使用`{{date}}`來表示日期,用`{{time}}`來表示時間。
### `{{date}}` & `{{time}}`
`{{date}}`產生的時間格式為`2022-05-26`可以使用參數來更改格式例如不要讓月份與日期自動補0可以用`{{date:YYYY-M-D}}`
時間也一樣,`{{time}}`產生的格式為`14:48:45`,也有其他參數來變更格式,其他更詳細參考[Moment.js | Docs](https://momentjs.com/docs/#/displaying/)。
## Customize CSS
路徑是`<valut_name>\.obsidian\snippets\obsidian.css`
Obsidian預設定義了很多CSS class只要更改這些class就可以定義自己喜歡的外觀。
- [Obsidian自定义样式修改教程 - 知乎](https://zhuanlan.zhihu.com/p/373888121)
- [obsidian-css-snippets](https://github.com/Dmytro-Shulha/obsidian-css-snippets/tree/master/Snippets)
- [使用 CSS 代码片段增强 Obsidian 视觉效果(一) | ReadingHere](https://www.readinghere.com/blog/using-css-snippets-to-enhance-obsidian-visuals-cn/)
## My CSS
The CSS content:
```css
/*************************************************************
* Headers
*/
.cm-header-1, .markdown-preview-section h1 {
color: #081f37;
}
.cm-header-2, .markdown-preview-section h2 {
color: #1e549f;
}
.cm-header-3, .markdown-preview-section h3 {
color: #2e79ba;
}
.cm-header-4, .markdown-preview-section h4 {
color: #5fc9f3;
}
.cm-header-5, .markdown-preview-section h5 {
color: #415865;
}
.cm-header-6, .markdown-preview-section h6 {
color: #7a9eb1;
}
/*************************************************************
* List
*/
.cm-list-1 {
font-family: Cascadia Code;
}
.cm-list-2 {
font-family: Cascadia Code;
}
.cm-list-3 {
font-family: Cascadia Code;
}
.cm-list-4 {
font-family: Cascadia Code;
}
.cm-list-5 {
font-family: Cascadia Code;
}
span.cm-formatting-list-ul {
visibility: hidden !important;
}
span.cm-formatting-list-ul:after {
content: '• '; /* ITS theme; for Blue Topaz */
margin-left: -12px;
color: var(--accent); /* ITS theme; for Blue Topaz --text-normal */
visibility: visible !important;
}
ol {
font-family: Cascadia Code;
padding-inline-start: 2.5rem;
}
ul {
font-family: Cascadia Code;
padding-inline-start: 2.4rem;
list-style-type: disc;
}
/*Make list marker to be a circle*/
input[type="checkbox"],
.cm-formatting-task {
-webkit-appearance: none;
appearance: none;
border-radius: 50%;
border: 1px solid var(--text-faint);
padding: 0;
vertical-align: middle;
}
.cm-s-obsidian span.cm-formatting-task {
color: transparent;
width: 1.1em !important;
height: 1.1em;
display: inline-block;
}
input[type="checkbox"]:focus {
outline: 0;
}
input[type="checkbox"]:checked,
.cm-formatting-task.cm-property {
background-color: var(--text-accent-hover);
border: 1px solid var(--text-accent-hover);
background-position: center;
background-size: 60%;
background-repeat: no-repeat;
background-image: url('data:image/svg+xml; utf8, <svg width="12px" height="10px" viewBox="0 0 12 8" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-4.000000, -6.000000)" fill="%23ffffff"><path d="M8.1043257,14.0367999 L4.52468714,10.5420499 C4.32525014,10.3497722 4.32525014,10.0368095 4.52468714,9.8424863 L5.24777413,9.1439454 C5.44721114,8.95166768 5.77142411,8.95166768 5.97086112,9.1439454 L8.46638057,11.5903727 L14.0291389,6.1442083 C14.2285759,5.95193057 14.5527889,5.95193057 14.7522259,6.1442083 L15.4753129,6.84377194 C15.6747499,7.03604967 15.6747499,7.35003511 15.4753129,7.54129009 L8.82741268,14.0367999 C8.62797568,14.2290777 8.3037627,14.2290777 8.1043257,14.0367999"></path></g></g></svg>');
}
/*************************************************************
* External link & Internal link
*/
.cm-s-obsidian span.cm-link,
.cm-s-obsidian span.cm-url,
.cm-s-obsidian span.cm-hmd-internal-link {
color: #0000EE;
font-family: Cascadia Code;
}
a.external-link {
color: #0000EE;
font-family: Cascadia Code;
}
/*************************************************************
* Outline
*/
.outline {
font-size: 0.8rem;
font-weight: 200;
}
.outline .tree-item {
line-height: 1.3;
}
.outline .tree-item-self {
padding-top: 0.2rem;
padding-bottom: 0.1rem;
padding-left: 0.5rem;
padding-right: 0.3rem;
}
.outline .tree-item-collapse {
left: 0.1rem;
}
.outline .tree-item-inner{
position:relative;
padding-top: 0.2rem;
/* padding-left: 1rem; */
padding-left: 1.7em;
text-indent: -0.8em;
margin-left: 0.2rem;
/* font-size: 0.9em; */
}
.outline .tree-item-children {
margin-left: 0.7rem;
padding-left: 0.5rem;
margin-top: -0.3rem;
padding-top: 0.3rem;
border-left: 1px solid var(--sidebar-marks, var(--background-modifier-border));
border-radius: 4px;
transition:all 0.5s ease-in-out;
}
.outline .tree-item-children:hover {
border-left-color: var(--sidebar-marks-hover, var(--background-secondary));
}
.outline .collapse-icon + .tree-item-inner {
font-weight: 400;
padding-left: 0.2rem;
/* margin-left: 0rem; */
/* font-size: 1em; */
}
.outline .collapse-icon {
margin-top: 0.2rem;
margin-left: -0.4rem;
margin-right: -0.4rem;
width: 2rem;
}
/*************************************************************
* Sidebar
*/
/*Vault name*/
.nav-folder.mod-root > .nav-folder-title {
padding-left: 6px;
font-size: 14px;
font-weight: bolder;
top: -6px; /* higher */
cursor: default;
color: var(--base2);
}
.nav-folder-title,
.nav-file-title {
font-size: 0.8em;
font-family: consolas;
line-height: 0.8em;
}
.nav-folder-title {
font-weight: bold;
color: #132743;
}
.nav-file-title {
color: #407088;
}
.nav-folder,
.nav-file {
margin: 0 !important;
border-left: 1px solid rgba(118, 158, 165, 0.2);
}
.cm-quote {
line-height: 1.2em;
/*font-style: italic;*/
}
/*************************************************************
* Quote
*/
.cm-formatting-quote:before {
margin-right: -0.1em;
color: var(--color-10) !important;
font-family: "ico";
content: "\edd5";
}
/*************************************************************
* Code block(inline)
*/
.cm-s-obsidian span.cm-inline-code {
/*font-size: 1em;*/
}
```
## 參考
- [使用 CSS 代码片段增强 Obsidian 视觉效果(一) | ReadingHere](https://www.readinghere.com/blog/using-css-snippets-to-enhance-obsidian-visuals-cn/)
- [obsidian-css-snippets](https://github.com/Dmytro-Shulha/obsidian-css-snippets/tree/master/Snippets)
- [Obsidian自定义样式修改教程 - 知乎](https://zhuanlan.zhihu.com/p/373888121)
- [Day 26 : 插件篇 05 — 做好筆記備份,使用 Obsidian Git自動備份筆記到 Github - iT 邦幫忙::一起幫忙解決難題,拯救 IT 人的一天](https://ithelp.ithome.com.tw/articles/10280373)

View File

@@ -0,0 +1,24 @@
```json
// Settings in here override those in "Default/Preferences.sublime-settings",
// and are overridden in turn by syntax-specific settings.
{
"close_windows_when_empty": true,
"draw_indent_guides": false,
"font_face": "Fira Code",
"font_size": 11,
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"show_full_path": true,
"show_tab_close_buttons": false,
"spell_check": false,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"use_tab_stops": true,
"draw_white_space": "all",
"trim_trailing_white_space_on_save": true,
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?"
}
```

View File

@@ -0,0 +1,304 @@
# 快速鍵
## 顯示快速鍵列表
- Windows: `Ctrl + k` + `Ctrl + s`
- Mac: `⌘ + k` + `⌘ + s`
## 分割目前視窗
- Windows: `Ctrl + \`
- Mac: `⌘ + \`
## 程式格式化
### 格式化整個文件
`Shift + Alf + f`
### 格式化選取的範圍
`Ctrl + k` + `Ctrl + f`
### setting.json
- `"editor.formatOnType": true`:輸入一行後,自動格式化目前這一行。
- `"editor.formatOnSave": true`:儲存時格式化檔案。
- `"editor.formatOnPaste": true`:貼上程式碼時格式化貼上的內容。
```json
{
// 文字編輯器
"editor.bracketPairColorization.enabled": true,
"editor.fontFamily": "Cascadia Code", // 字型
"editor.fontLigatures": true, //啟用連字
"editor.fontSize": 14, // 文字大小
"editor.fontWeight": "normal",
"editor.guides.bracketPairs": false,
"editor.guides.indentation": false,
"editor.insertSpaces": true,
"editor.minimap.renderCharacters": false,
"editor.renderWhitespace": "boundary",
"editor.renderLineHighlight": "all", // 整行高亮
"editor.snippetSuggestions": "top", // 將程式碼片段建議顯示於頂端
"editor.tabCompletion": "on", // 啟用tab鍵自動完成
"editor.tabSize": 4,
"editor.wordWrap": "off",
// 檔案
"files.trimTrailingWhitespace": true, // 儲存檔案時去除行尾空白
"files.insertFinalNewline": true, // 儲存檔案時在結尾插入一個新行
// 檔案管理員
"explorer.confirmDelete": false,
// 工作台
"workbench.colorTheme": "One Dark Pro", // 主題
"workbench.iconTheme": "material-icon-theme", // Icon主題
"workbench.tree.indent": 15,
"workbench.tree.renderIndentGuides": "always",
"workbench.colorCustomizations": {
"tree.indentGuidesStroke": "#05ef3c"
},
"breadcrumbs.enabled": true, // 啟用麵包屑,可以通過上方路徑來資料夾、文件或者是函數的跳轉
"oneDarkPro.vivid": true,
"diffEditor.wordWrap": "off",
// 終端機
"terminal.integrated.fontFamily": "Fira Code",
"editor.accessibilitySupport": "off",
"[python]": {
"editor.formatOnType": true
},
"polacode.target": "snippet",
"editor.inlineSuggest.enabled": true,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": false,
"scminput": false
}
}
```
## 折疊程式碼
### 收起目前區塊
- Windows: `Ctrl + Shift + [`
- Mac: `⌥ + ⌘ + [`
### 打開目前區塊
- Windows: `Ctrl + Shift + ]`
- Mac: `⌥ + ⌘ + ]`
### 收起目前區塊(整個檔案)
- Windows: `Ctrl + (K => 0) (zero)`
- Mac: `⌘ + (K => 0) (zero)`
### 打開目前區塊(整個檔案)
- Windows: `Ctrl + (K => J) `
- Mac: `⌘ + (K => J)`
## 在「已開啟的檔案」間跳轉
`Ctrl + tab`
# Plugin
## Setting Sync
- 參考:[https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync)
~~- GIST Token: `e0f7c5233e3c6dafee77047f61ea74f0d01d24e1`~~
- GIST Token: `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`
- GIST ID: [`aaee0ee8733879ef2da2eb1b4bf8a993`](https://gist.github.com/AwinHuang/aaee0ee8733879ef2da2eb1b4bf8a993)
- GIST address: [https://gist.github.com/AwinHuang/aaee0ee8733879ef2da2eb1b4bf8a993](https://gist.github.com/AwinHuang/aaee0ee8733879ef2da2eb1b4bf8a993)
# Code snippets
## html.json
```json
{
"HTML template": {
"prefix": "HTML_template",
"body": [
"<!doctype html>",
"",
"<html lang=\"en\">",
"<head>",
" <meta charset=\"utf-8\">",
" <meta name=\"description\" content=\"Awin's HTML template\">",
" <meta name=\"author\" content=\"Awin Huang\">",
" <script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js\"></script>",
" <title>A HTML template</title>",
"</head>",
"",
"<body>",
" <H1>Awin's HTML template</H1>",
" <p>Click to hide</p>",
"</body>",
"</html>",
"",
"<script>",
" $(document).ready(function(){",
" $(\"p\").click(function(){",
" $(this).hide();",
" });",
" });",
"</script>",
],
"description": "HTML template"
}
}
```
## python.json
```json
{
"Python template": {
"prefix": "Python_Template",
"body": [
"import sys",
"import argparse",
"",
"",
"def main(args=None):",
" ${1:pass}",
"",
"",
"if __name__ == '__main__':",
" parser = argparse.ArgumentParser()",
" parser.add_argument(\"first_file\", help=\"The first file\")",
" parser.add_argument(\"-s\", \"--sample_args\", default=\"sample_args\", help=\"Modify this arguments for you\")",
" args = parser.parse_args()",
" main(args)",
" sys.exit(0)"
],
"description": "Python script template"
},
"F Print": {
"prefix": "f-print",
"body": [
"print(f'$1 = {$1}')"
],
"description": "print() with f-string and default {}"
},
"Q Print": {
"prefix": "q-print",
"body": [
"print('$1 = {}, '.format($1))"
],
"description": "print() with f-string and default {}"
},
"Debug RobotRun": {
"prefix": "debug_robotrun",
"body": [
"import os",
"import sys",
"sys.path.insert(0, 'D:/codes/logitech/')",
"import RobotRun",
"print('+------------------------------------------------------------------------------+')",
"print('| |')",
"print('| RobotRun: {}'.format(RobotRun.__file__))",
"print('| |')",
"print('+------------------------------------------------------------------------------+')",
],
"description": "Change RobotRun to local version"
},
"Flask template": {
"prefix": "Flask_Template",
"body": [
"## Flask template",
"## Author: Awin Huang",
"## Date: 2020/04/09",
"",
"import os, sys",
"import datetime",
"import json",
"from flask import Flask, render_template, request",
"",
"",
"app = Flask(__name__)",
"",
"## Setup log",
"handler = logging.FileHandler('flask.log', delay=False)",
"handler.setLevel(logging.INFO)",
"app.logger.addHandler(handler)",
"app.logger.setLevel(logging.INFO)",
"",
"",
"def info_log(msg):",
" app.logger.info(msg)",
" # print(msg)",
"",
"",
"def error_log(msg):",
" app.logger.error(msg)",
"",
"",
"@app.route('/')",
"def index():",
" info_log('Return main page to user.')",
" return 'Hello, this is main page'",
"",
"",
"## Receive a GET request",
"@app.route('/get_get', methods=['GET'])",
"def run_testcase():",
" command = request.args.get('command')",
" value = 'This is value for GET'",
" return {",
" 'command': command,",
" 'value': value",
" }",
"",
"",
"## Receive a POST request",
"@app.route('/get_post', methods=['POST'])",
"def get_post():",
" command = request.form['command']",
" value = 'This is value for POST'",
" return {",
" 'command': command:",
" 'value': value",
" }",
"",
"",
"if __name__ == '__main__':",
" app.debug = True",
" app.run(host='0.0.0.0')",
],
"description": "Flask template"
},
"Datetime now": {
"prefix": "now_dt",
"body": [
"datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S:%f')"
],
"description": "Get datetime.now() with format '%Y-%m-%d %H:%M:%S:%f'"
},
"Run process": {
"prefix": "runprocess",
"body": [
"import multiprocessing as mp",
"",
"process = mp.Process(target=task_set.run, args=(self.task_sync, args))",
"process.start()",
"process.join()"
],
"description": "Run function in a process"
},
"Sleep with dots": {
"prefix": "sleepdots",
"body": [
"for i in range($1):",
" import time",
" print(\".\", end=\"\", flush=True)",
" time.sleep(1)",
],
"description": "Sleep and print \".\" every second"
},
"Sleep with numbers": {
"prefix": "sleepnum",
"body": [
"for i in range($1):",
" print(f\"{i+1} \", end=\"\", flush=True)",
" time.sleep(1)",
],
"description": "Sleep and print number every second"
},
}
```
## 參考
- [VSCode 是什么](https://geek-docs.com/vscode/vscode-tutorials/what-is-vscode.html)

View File

@@ -0,0 +1,161 @@
# 要保存/恢復的檔案
- `%userprofile%/.config`
- `%userprofile%/.ssh`
- `%userprofile%/.bash_profile`
- `%userprofile%/.bashrc`
- `%userprofile%/.gitconfig`
- `%userprofile%/.vimrc`
# 安裝工具
## 安裝 Chocolatey
1. 安裝[Chocolatey](https://chocolatey.org/)用Administrator身份打開powershell輸入下列指令
```
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
```
2. 用安裝常用的工具
```
choco install powertoys 7zip vscode hxd sublimetext4 androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta googlechrome googledrive enpass.install sharex win32diskimager k-litecodecpackmega obsidian anki enpass.install --yes
```
可以在 [https://community.chocolatey.org/packages](https://community.chocolatey.org/packages) 找到其他工具,再加到清單後面即可。
上面的指令安裝了下列的軟體,可以依自己需求增刪:
- [powertoys](https://community.chocolatey.org/packages/powertoys)
- [7zip](https://community.chocolatey.org/packages/7zip)
- [vscode](https://community.chocolatey.org/packages/vscode)
- [hxd](https://community.chocolatey.org/packages/hxd)
- [sublimetext4](https://community.chocolatey.org/packages/sublimetext4)
- [androidstudio](https://community.chocolatey.org/packages/androidstudio)
- [intellijidea-community](https://community.chocolatey.org/packages/intellijidea-community)
- [git](https://community.chocolatey.org/packages/git)
- [winmerge](https://community.chocolatey.org/packages/winmerge)
- [freefilesync](https://community.chocolatey.org/packages/freefilesync)
- [freedownloadmanager](https://community.chocolatey.org/packages/freedownloadmanager)
- [gsudo](https://community.chocolatey.org/packages/gsudo)
- [firacode](https://community.chocolatey.org/packages/firacode)
- [cascadiacode](https://community.chocolatey.org/packages/cascadiacode)
- [sourcecodepro](https://community.chocolatey.org/packages/sourcecodepro)
- [delta](https://community.chocolatey.org/packages/delta)
- [googlechrome](https://community.chocolatey.org/packages/googlechrome)
- [googledrive](https://community.chocolatey.org/packages/googledrive)
- [enpass.install](https://community.chocolatey.org/packages/enpass.install)
- [sharex](https://community.chocolatey.org/packages/sharex)
- [win32diskimager](https://community.chocolatey.org/packages/win32diskimager)
- [k-litecodecpackmega](https://community.chocolatey.org/packages/k-litecodecpackmega)
- [obsidian](https://community.chocolatey.org/packages/obsidian)
- [anki](https://community.chocolatey.org/packages/anki)
- [Enpass Password Manager](https://community.chocolatey.org/packages/enpass.install)
## 用 Chocolatey 升級軟體
```shell
choco upgrade all -y
```
## 手動安裝
3. Python 3.6.3
4. Python 3.9
7. Visual Studio 2022
8. Office 365
9. Lightroom
11. [ShareX](https://getsharex.com/)
12. [win32diskimager](https://sourceforge.net/projects/win32diskimager/)
13. [卡巴斯基](https://www.kaspersky.com.tw/)
14. 字型
- [Caskaydia](\\diskstation\share\Tools\字型\Caskaydia Cove Nerd Font\)
## `~/.bashrc`
1. 打開`~/.bashrc`
2. 內容如下:
```bash
export PATH="/c/Users/ahuang11/AppData/Local/Android/Sdk/platform-tools:$PATH"
##----- Android -----
alias adb="/c/EasyAVEngine/Tools/Android/ADB/adb.exe"
alias ad='adb devices'
alias fastboot='/c/EasyAVEngine/Tools/Android/ADB/fastboot.exe'
alias fd='fastboot devices'
##----- Logitech coding -----
alias rrp='cd /c/Python363/lib/site-packages/RobotRun'
alias rra='cd /c/RobotRun'
alias rrd='cd /g/My\ Drive/codes/Projects/RobotRunDocs'
alias rro='cd /c/RobotRun/Output'
alias prj='cd /c/Users/awinh/OneDrive/codes/Logitech/project'
alias coderrp='cd "/c/Python363/lib/site-packages/RobotRun" ; code "/c/Python363/lib/site-packages/RobotRun"'
alias coderra='cd "/c/RobotRun"; code "/c/RobotRun"'
alias coderras='code "/d/GoogleDriveLogi/codes/Projects/RobotRunAutoServer"'
alias p3='/c/Python363/python.exe'
##----- Awin coding -----
alias codes='cd /c/Users/awinh/OneDrive/codes'
alias ctest='code "/g/My Drive/codes/test"'
alias jn='C:/Python310/Scripts/jupyter notebook'
alias ipy='C:/Python310/Scripts/ipython'
##----- ELF -----
alias hugo='~/OneDrive/文件/BLOG/Hugo/bin/0.98_extend/hugo.exe'
##----- MISC -----
alias sl="/c/Program\ Files/Sublime\ Text/subl.exe"
alias e.='explorer.exe .'
alias blog="cd ~/OneDrive/文件/BLOG/Hugo/Sites/blog.awin.one"
alias ffmpeg="/c/Users/awinh/OneDrive/codes/CommonLib/RobotRunCommonLib/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe"
alias ob="cd ~/OneDrive/文件/Obsidian/Main"
alias ffmpeg="/c/Users/awinh/OneDrive/PortableApps/ffmpeg-n5.0-latest-win64-lgpl-shared-5.0/bin/ffmpeg.exe"
##----- Connection -----
alias gods='ssh awin@192.168.1.11'
alias gorp320='ssh pi@192.168.1.20'
alias gopve='ssh root@192.168.1.21'
##----- Git -----
alias gs="git status"
alias gd="git diff"
alias gpull='git pull origin master'
alias gpush='git push origin master'
alias gpushmain='git push origin main'
alias gc='git clone'
alias gclogi='git clone --config user.name="Awin Huang" --config user.email=ahuang11@logitech.com $@'
##----- Python enviroment swich -----
alias pyv='echo PY_PYTHON=$PY_PYTHON'
function set_py() {
echo "Original Python verison is \"$PY_PYTHON\""
export PY_PYTHON=$1
echo " New Python verison is \"$PY_PYTHON\""
if [ ! -z "$2" ]
then
py "${@:2}"
fi
}
function py36() {
set_py "3.6.3" "$@"
}
function py310() {
set_py "3.10" "$@"
}
```
## Setup Windows Terminal
1. 開啟Windows Terminal。
2.`ctrl + ,`打開設定,之後參考[[Windows Terminal]]。
## 恢復右鍵選單
- 以admin身份打開PowerShell執行 `reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve`
- 要恢復Windows 11的右鍵選單則是執行`reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f`
## 設定使用者環境變數
- `PYTHON_INCLUDE`: `C:\Python363\include`
- `PYTHON_LIB`: `C:\Python363\libs`
- `RobotRunCommonLib`: `C:\Users\awinh\OneDrive\codes\CommonLib\RobotRunCommonLib`
- `SWIGCmd`: `C:\Users\awinh\OneDrive\PortableApps\swigwin-4.0.2\swig.exe`
# 參考
- [How to open the full right-click menu by default on Windows 11](https://www.xda-developers.com/how-to-open-full-right-click-menu-by-default-windows-11/)
- [【教學】Windows 11 系統優化](https://ofeyhong.pixnet.net/blog/post/225581177)

View File

@@ -0,0 +1,411 @@
## Setup
### New tab as Administrator
- [使用系統管理員身分開啟 Windows Terminal 分頁](https://blog.poychang.net/run-windows-terminal-as-administrator-with-elevated-admin-permissions/)
### Use powerline in Git-Bash
- [Light & simple powerline theme for Git bash for windows](https://github.com/diesire/git_bash_windows_powerline)
#### Install
```shell
cd $HOME
mkdir -p .bash/themes/git_bash_windows_powerline
git clone https://github.com/diesire/git_bash_windows_powerline.git .bash/themes/git_bash_windows_powerline
```
And add following lines to `~/.bashrc`.
```
# Theme
THEME=$HOME/.bash/themes/git_bash_windows_powerline/theme.bash
if [ -f $THEME ]; then
. $THEME
fi
unset THEME
```
參考:
- [powerline/fonts: Patched fonts for Powerline users.](https://github.com/powerline/fonts)
## Settings.json
```json
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "paste",
"keys": "ctrl+v"
},
{
"command": "find",
"keys": "ctrl+shift+f"
},
{
"command":
{
"action": "prevTab"
},
"keys": "ctrl+pgup"
},
{
"command":
{
"action": "copy",
"singleLine": false
},
"keys": "ctrl+c"
},
{
"command":
{
"action": "splitPane",
"split": "right"
},
"keys": "ctrl+shift+e"
},
{
"command":
{
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"keys": "alt+shift+d"
},
{
"command": "toggleFullscreen",
"keys": "alt+x"
},
{
"command":
{
"action": "newTab"
},
"keys": "ctrl+t"
},
{
"command": "closePane",
"keys": "ctrl+w"
},
{
"command":
{
"action": "splitPane",
"split": "down"
},
"keys": "ctrl+shift+o"
},
{
"command":
{
"action": "nextTab"
},
"keys": "ctrl+pgdn"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
"initialCols": 234,
"initialPosition": "16,950",
"initialRows": 30,
"profiles":
{
"defaults": {},
"list":
[
{
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"colorScheme": "Solarized Dark",
"commandline": "gsudo.exe powershell.exe",
"font":
{
"face": "Fira Code"
},
"guid": "{41dd7a51-f0e1-4420-a2ec-1a7130b7e950}",
"hidden": false,
"icon": "C:\\Users\\awinh\\OneDrive\\\u5716\u7247\\icon\\console_red.png",
"name": "Windows PowerShell(Administrator)"
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
"hidden": false,
"name": "Azure Cloud Shell",
"source": "Windows.Terminal.Azure"
},
{
"commandline": "%PROGRAMFILES%/git/usr/bin/bash.exe -i -l",
"font":
{
"face": "CaskaydiaCove NF",
"size": 12
},
"guid": "{00000000-0000-0000-ba54-000000000002}",
"historySize": 9000,
"icon": "%PROGRAMFILES%/Git/mingw64/share/git/git-for-windows.ico",
"name": "Bash",
"startingDirectory": "C:\\Users\\awinh\\OneDrive\\codes"
},
{
"guid": "{cb5c3884-260a-5acf-98ef-b546d271b4dd}",
"hidden": false,
"name": "Developer Command Prompt for VS 2022",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{e6386983-3aa0-5a19-a174-f3c66538b7bd}",
"hidden": false,
"name": "Developer PowerShell for VS 2022",
"source": "Windows.Terminal.VisualStudio"
},
{
"guid": "{16208362-94fc-5b1f-a491-5b2624d5ab56}",
"hidden": true,
"name": "Visual Studio Debug Console",
"source": "VSDebugConsole"
}
]
},
"schemes":
[
{
"background": "#0C0C0C",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#012456",
"black": "#0C0C0C",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#3B78FF",
"brightCyan": "#61D6D6",
"brightGreen": "#16C60C",
"brightPurple": "#B4009E",
"brightRed": "#E74856",
"brightWhite": "#F2F2F2",
"brightYellow": "#F9F1A5",
"cursorColor": "#FFFFFF",
"cyan": "#3A96DD",
"foreground": "#CCCCCC",
"green": "#13A10E",
"name": "Campbell Powershell",
"purple": "#881798",
"red": "#C50F1F",
"selectionBackground": "#FFFFFF",
"white": "#CCCCCC",
"yellow": "#C19C00"
},
{
"background": "#282C34",
"black": "#282C34",
"blue": "#61AFEF",
"brightBlack": "#5A6374",
"brightBlue": "#61AFEF",
"brightCyan": "#56B6C2",
"brightGreen": "#98C379",
"brightPurple": "#C678DD",
"brightRed": "#E06C75",
"brightWhite": "#DCDFE4",
"brightYellow": "#E5C07B",
"cursorColor": "#FFFFFF",
"cyan": "#56B6C2",
"foreground": "#DCDFE4",
"green": "#98C379",
"name": "One Half Dark",
"purple": "#C678DD",
"red": "#E06C75",
"selectionBackground": "#FFFFFF",
"white": "#DCDFE4",
"yellow": "#E5C07B"
},
{
"background": "#FAFAFA",
"black": "#383A42",
"blue": "#0184BC",
"brightBlack": "#4F525D",
"brightBlue": "#61AFEF",
"brightCyan": "#56B5C1",
"brightGreen": "#98C379",
"brightPurple": "#C577DD",
"brightRed": "#DF6C75",
"brightWhite": "#FFFFFF",
"brightYellow": "#E4C07A",
"cursorColor": "#4F525D",
"cyan": "#0997B3",
"foreground": "#383A42",
"green": "#50A14F",
"name": "One Half Light",
"purple": "#A626A4",
"red": "#E45649",
"selectionBackground": "#FFFFFF",
"white": "#FAFAFA",
"yellow": "#C18301"
},
{
"background": "#002B36",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#FFFFFF",
"cyan": "#2AA198",
"foreground": "#839496",
"green": "#859900",
"name": "Solarized Dark",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#FDF6E3",
"black": "#002B36",
"blue": "#268BD2",
"brightBlack": "#073642",
"brightBlue": "#839496",
"brightCyan": "#93A1A1",
"brightGreen": "#586E75",
"brightPurple": "#6C71C4",
"brightRed": "#CB4B16",
"brightWhite": "#FDF6E3",
"brightYellow": "#657B83",
"cursorColor": "#002B36",
"cyan": "#2AA198",
"foreground": "#657B83",
"green": "#859900",
"name": "Solarized Light",
"purple": "#D33682",
"red": "#DC322F",
"selectionBackground": "#FFFFFF",
"white": "#EEE8D5",
"yellow": "#B58900"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#FFFFFF",
"cyan": "#06989A",
"foreground": "#D3D7CF",
"green": "#4E9A06",
"name": "Tango Dark",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#FFFFFF",
"black": "#000000",
"blue": "#3465A4",
"brightBlack": "#555753",
"brightBlue": "#729FCF",
"brightCyan": "#34E2E2",
"brightGreen": "#8AE234",
"brightPurple": "#AD7FA8",
"brightRed": "#EF2929",
"brightWhite": "#EEEEEC",
"brightYellow": "#FCE94F",
"cursorColor": "#000000",
"cyan": "#06989A",
"foreground": "#555753",
"green": "#4E9A06",
"name": "Tango Light",
"purple": "#75507B",
"red": "#CC0000",
"selectionBackground": "#FFFFFF",
"white": "#D3D7CF",
"yellow": "#C4A000"
},
{
"background": "#000000",
"black": "#000000",
"blue": "#000080",
"brightBlack": "#808080",
"brightBlue": "#0000FF",
"brightCyan": "#00FFFF",
"brightGreen": "#00FF00",
"brightPurple": "#FF00FF",
"brightRed": "#FF0000",
"brightWhite": "#FFFFFF",
"brightYellow": "#FFFF00",
"cursorColor": "#FFFFFF",
"cyan": "#008080",
"foreground": "#C0C0C0",
"green": "#008000",
"name": "Vintage",
"purple": "#800080",
"red": "#800000",
"selectionBackground": "#FFFFFF",
"white": "#C0C0C0",
"yellow": "#808000"
}
]
}
```
## oh-my-posh on bash
以下步驟都是在 [Windows Terminal](https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701) 中的 Git bash[^1] 執行。
1. 先下載一個你喜歡的theme: [https://ohmyposh.dev/docs/themes](https://ohmyposh.dev/docs/themes)
2. 下載並安裝字型:[Caskaydia Cove Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip?WT.mc_id=-blog-scottha)
3. Install OhMyPosh: `winget install JanDeDobbeleer.OhMyPosh`
4. 建立並修改 `~/.profile`,然後加入
`eval "$(oh-my-posh --init --shell bash --config ~/OneDrive/appConfigs/ohmyposh/themes/montys.omp.json)"`
注意最後的 `montys.omp.json` 就是第一步下載的theme這邊要改成你自己的路徑。
5. 修改 Windows Terminal 的 setting.json將字型改為 `CaskaydiaCove NF`
![[20220614221618_oh-my-posh_setting.png|600]]
6. 成果
![[20220614220342_oh-my-posh_result.png|600]]
[^1]: 在 [Windows Terminal](https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701) 中設定 Git bash 可以參考:[Windows Terminal's 設定 Git Bash 和 SSH @ 傑克! 真是太神奇了! :: 痞客邦 ::](https://magicjackting.pixnet.net/blog/post/225162505-windows-terminal's-%E8%A8%AD%E5%AE%9A-git-bash-%E5%92%8C-ssh)
## Reference
- [Windows Terminal 美化 for WSL 2 Ubuntu (zsh + zim + powerlevel10k)](http://www.kenming.idv.tw/windows-terminal-%e7%be%8e%e5%8c%96-for-wsl-2-ubuntu-zsh-zim-powerlevel10k/)
- [Oh My Posh](https://ohmyposh.dev/)
- [How to make the ultimate Terminal Prompt on Windows 11 - This video is LONG and WORDY and DETAILED - YouTube](https://www.youtube.com/watch?v=VT2L1SXFq9U)
- [My Ultimate PowerShell prompt with Oh My Posh and the Windows Terminal - Scott Hanselman's Blog](https://www.hanselman.com/blog/my-ultimate-powershell-prompt-with-oh-my-posh-and-the-windows-terminal)
- [Windows-Terminal配置OhMyPosh来美化GitBash_偕臧x的博客-CSDN博客](https://blog.csdn.net/qq_33154343/article/details/120661945)

View File

@@ -0,0 +1,5 @@
1. ![[Pasted image 20210321201359.png]]
2. ![[Pasted image 20210321201503.png]]
參考:
- [FreeFileSync: RealTimeSync - YouTube](https://www.youtube.com/watch?v=9KXo6yOhTWo)

View File

@@ -0,0 +1,27 @@
### `~/.vimrc`
```vim
set t_Co=256
colorscheme koehler
set nocompatible
syntax on
set showmode
set showcmd
set encoding=utf-8
set cindent
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set number
set cursorline
"set textwidth=80
set ruler
set showmatch
set hlsearch
set incsearch
set ignorecase
```

View File

@@ -1,86 +0,0 @@
{
"nodes":[
{"id":"6bfc707fe9365d07","x":-582,"y":-730,"width":250,"height":50,"type":"text","text":"`Initialize();`"},
{"id":"35301ec811a15aa2","x":-434,"y":-646,"width":283,"height":50,"type":"text","text":"`Impl::InitializeController()`"},
{"id":"58150c82625254cd","x":233,"y":-462,"width":662,"height":215,"type":"text","text":"`vc-fwUpdate\\Backends\\MeridianBackend\\registration.cpp`\n```cpp\nlogitech::fwupdate::backend::RegisterBackend(IUpdateController& controller) {\n\n}\n```\n\n這邊開始建立所有的 update task以下所列的 task 都繼承自 `class UpdateTask`\n使用 `controller.RegisterTask(...)` 來註冊各個 task"},
{"id":"e01a865b5a13d6e9","x":-247,"y":-537,"width":480,"height":51,"type":"text","text":"`controller_ = controller::CreateUpdateController();`"},
{"id":"7d8839591c30f61a","x":-247,"y":-462,"width":406,"height":60,"type":"text","text":"`backend::RegisterBackend(*controller_);`"},
{"id":"6aab61cd927b9307","x":-434,"y":-48,"width":311,"height":60,"type":"text","text":"`Impl::RegisterForPnpNotification()`"},
{"id":"dade636ce2d72147","x":-434,"y":40,"width":250,"height":60,"type":"text","text":"`Impl::InitializeTasks()`"},
{"id":"5f57db192293a0ec","x":257,"y":-537,"width":168,"height":51,"type":"text","text":"`Impl() d_`"},
{"id":"5e7c147cd533a922","x":453,"y":-537,"width":289,"height":51,"type":"text","text":"`d_->CreatePnpProvider();`"},
{"id":"7ff8bac3fc3253f1","x":-434,"y":642,"width":311,"height":55,"type":"text","text":"`Impl::InitializeDynamicControls()`"},
{"id":"c1122f185b292a7c","x":-247,"y":-227,"width":480,"height":145,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdateDlg.cpp:2761`\n\n--------------------------------------------\n\n`InitializeImageProviders()`"},
{"id":"cd7947e8636e6b51","x":779,"y":-596,"width":347,"height":110,"type":"text","text":"建立一個看不見的window背後會有一個 thread 來接收 device notification events`WM_DEVICECHANGE`"},
{"id":"5db0c6d04d6655c7","x":1007,"y":-462,"width":269,"height":60,"type":"text","text":"`AudioDeviceUpdateTask`"},
{"id":"f3ccd922e41c8fa2","x":1007,"y":-396,"width":250,"height":60,"type":"text","text":"`BLEDeviceUpdateTask`"},
{"id":"b2215d89fc0b5735","x":-600,"y":-1160,"width":3450,"height":312,"type":"group","label":"GUI Update Procedure"},
{"id":"798d72cd46e3502b","x":-579,"y":-1075,"width":398,"height":52,"type":"text","text":"`CLogiFWUpdateDlg::OnBnClickedUpdateDevice()`"},
{"id":"f6cfbfc1376ca01e","x":-121,"y":-1140,"width":424,"height":182,"type":"text","text":"`d_->PerformUpdate();`\n⬇\n```cpp\nbool CLogiFWUpdateDlg::Impl::PerformUpdate() {\n\n}\n```"},
{"id":"a659de4263799b85","x":364,"y":-1138,"width":291,"height":50,"type":"text","text":"`controller_->StartUpdate();`"},
{"id":"b398a6dd7e91ef4e","x":405,"y":-1008,"width":250,"height":50,"type":"text","text":"`d_->StartUpdate();`"},
{"id":"5d03eb8ecaadd1dd","x":-970,"y":-911,"width":339,"height":181,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdateDlg.cpp`\n\n----\n`BOOL CLogiFWUpdateDlg::OnInitDialog()`"},
{"id":"3668ba992c38b26a","x":1007,"y":-330,"width":250,"height":60,"type":"text","text":"`AudioCodecUpdateTask`"},
{"id":"aa2444242b481f93","x":1007,"y":-247,"width":250,"height":55,"type":"text","text":"`VideoDeviceUpdateTask`"},
{"id":"eca2584c45b6e6d5","x":1007,"y":-167,"width":250,"height":60,"type":"text","text":"`VideoEepromUpdateTask`"},
{"id":"bca845f9b6b579f8","x":699,"y":-1041,"width":397,"height":117,"type":"text","text":"```cpp\nfor (auto& p : tasks_) {\n task->PerformUpdate();\n task->GetUpdateResult(taskSuccessful);\n}\n```"},
{"id":"dd3394779b454c65","x":1134,"y":-1093,"width":413,"height":222,"type":"text","text":"`vc-fwUpdate\\Backends\\CommonBackend\\UpdateTask.cpp`\n\n----\n先 `DoOpenDevice()` ,確認裝置 ok。\n然後 `d_->imageProvider_->Open();`\n\n最後 `DoPerformUpdate();`"},
{"id":"1b43952d80e220e4","x":1607,"y":-1098,"width":502,"height":230,"type":"text","text":"`vc-fwUpdate\\Backends\\CommonBackend\\VideoEepromUpdateTask.cpp`\n\n----\n```cpp\nvoid\nlogitech::fwupdate::backend::VideoEepromUpdateTask::DoPerformUpdate() {\n d_->PerformUpdate();\n}\n```"},
{"id":"ed5fc2b9d34dbdd7","x":713,"y":-55,"width":1587,"height":307,"type":"group","label":"DoOpenDevice()"},
{"id":"551e749e0cf332d3","x":733,"y":-27,"width":635,"height":249,"type":"text","text":"```cpp\nDoOpenDevice()\n⬇\nd_->OpenDevice();\n⬇\nUvcDeviceFactory().CreateUvcDevice({ UsbVidLogitech, UsbVideoPid });\n⬇\nWindowsUvcDevice::FindDevice(usbId);\n⬇\nImpl::OpenUvcDevice(usbId.Vid, usbId.Pid, devicePath, friendlyName);\n```"},
{"id":"18c6dbc9cf46e214","x":1438,"y":-32,"width":333,"height":260,"type":"text","text":"`Impl::OpenUvcDevice` 會使用\n```cpp\nSetupDiGetClassDevs(...)\nSetupDiEnumDeviceInterfaces(...)\n```\n等 API 來列舉裝置。\n\n----\n在 `Impl::OpenUvcDevice` 也會打開 XU 。\n在 `uvcDevice->d_->Init();` 裡面。"},
{"id":"c0e439a5140dbceb","x":1837,"y":-35,"width":443,"height":267,"type":"text","text":"`vc-fwUpdate\\UpdateController\\WindowsUvcDevice.cpp`\n\n----\n\n`uvcDevice->d_->Init();` 也就是 `Impl::Init()`\n會呼叫 `InitExtensionUnits();`,其呼叫順序:\n```cpp\nInitExtensionUnits();\n⬇\nEnumNodePropertySets();\n⬇\nDeviceIoControl(...)\n```\n\n"},
{"id":"ce300adbc95c5a4b","x":-7,"y":40,"width":369,"height":113,"type":"text","text":"```cpp\nfor (...) {\n task->GetDeviceInfo(initialQuery)\n}\n```"},
{"id":"cb5dc2c4eb714d15","x":-7,"y":231,"width":369,"height":223,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdateDlg.cpp:2117`\n\n----\n```cpp\nfor (...) {\n task->GetImageInfo();\n}\n```"},
{"id":"b272fd16c8f236a3","x":-7,"y":499,"width":432,"height":60,"type":"text","text":"```cpp\ncontroller_->SetTaskEnabled(taskId, enable);\n```"},
{"id":"eed51d8e5331c29c","x":2160,"y":-1061,"width":664,"height":156,"type":"text","text":"```cpp\nbool\nlogitech::fwupdate::backend::VideoEepromUpdateTask::Impl::PerformUpdate() {\n SendImage(ActionProgress(progress_, 90));\n ...\n RebootDevice();\n}\n```"},
{"id":"4d601b6034046222","x":-474,"y":777,"width":861,"height":205,"type":"text","text":"```cpp\nbool silentUpdate = ci.GetOption(L\"silentupdate\") ? true : false;\nbool forceUpdate = ci.GetOption(L\"force\")? true: false;\n\nauto cli = make_unique<cliwrapper>(logfile, version, forceUpdate, recovery, launcher, restartUpdate);\n\nbool success = cli->Initialize();\ncli->InitializeTasks();\nret = cli->PerformUpdate();\n```"},
{"id":"12867a0e216a1bc9","x":-970,"y":784,"width":420,"height":192,"type":"text","text":"`vc-fwUpdate\\Frontends-developer\\LogiFWUpdate\\Ui\\LogiFWUpdate.cpp`\n\n----\n```cpp\nBOOL CLogiFWUpdateApp::InitInstance() {\n ...\n}\n```"},
{"id":"60b67cb8ae948ca8","x":-964,"y":1053,"width":855,"height":410,"type":"group","label":"namespace: clifrontend"},
{"id":"37bf2c4c95808bcf","x":-944,"y":1078,"width":533,"height":365,"type":"text","text":"```cpp\nclass cliwrapper\n{\n struct Impl;\n\npublic:\n cliwrapper(...);\n ~cliwrapper();\n\n bool Initialize();\n int\t PerformUpdate();\n void InitializeTasks();\n void InitializeTask(string taskID, string imagePath);\n void Log(string message);\nprivate:\n std::unique_ptr<Impl>\td_;\n};\n```"},
{"id":"87dcc9769cfa192f","x":-390,"y":1078,"width":256,"height":365,"type":"text","text":"```cpp\nstruct cliwrapper::Impl\n{\n\t\n};\n```"},
{"id":"28a3f76dba8f2283","x":584,"y":605,"width":544,"height":129,"type":"text","text":"```cpp\nbool cliwrapper::Impl::Initialize() {\n\tcontroller_ = controller::CreateUpdateController();\n\t...\n}\n```"},
{"id":"162f50d1dd604161","x":584,"y":777,"width":544,"height":205,"type":"text","text":"```cpp\nvoid cliwrapper::InitializeTasks()\n{\n\td_->SetImageProvider();\n\t...\n\td_->EnableTasks();\n\t...\n\td_->ListTasks();\n}\n```"},
{"id":"ac73b0f38a1fad67","x":1264,"y":555,"width":818,"height":650,"type":"text","text":"`d_->EnableTasks();`\n\n-----\n```cpp\nvoid cliwrapper::Impl::EnableTasks()\n{\n\t...\n\tconst auto tasks = controller_->GetTasks();\n\tfor (auto task : tasks)\n\t{\n\t\tbool bMiracast = false;\n\t\tconst auto& taskId = task->GetId();\n\t\t...\n\t\tconst auto deviceInfo = task->GetDeviceInfo();\n\t\tconst auto imageInfo = task->GetImageInfo();\n\n\t\t// Enable or disable the task according to the following rules:\n\t\t// - Disable the task unconditionally if there is either no device or no image.\n\t\t// - If a command-line override is present apply it.\n\t\t// - Otherwise compare the image and device versions.\n\t\tbool enable = false;\n\t\tif (deviceInfo.Present && imageInfo.Present)\n\t\t{\n\t\t\t...\n\t\t\trel = compare(deviceInfo.Version, imageInfo.Version);\n\t\t\t...\n\t\t}\n\t\tcontroller_->SetTaskEnabled(taskId, enable);\n\t}\n}\n```"},
{"id":"72f0552d9251b235","x":2197,"y":602,"width":844,"height":556,"type":"text","text":"```cpp\nconst auto tasks = controller_->GetTasks();\n```\n↓\n```cpp\nvector<const IUpdateTask *>\nlogitech::fwupdate::controller::UpdateController::GetTasks() const\n{\n return d_->GetTasks();\n}\n```\n\n-----\n以下是 `d_->GetTasks();` 的 code\n\n```cpp\nvector<const IUpdateTask *>\nlogitech::fwupdate::controller::UpdateController::Impl::GetTasks() const\n{\n\tvector<const IUpdateTask *> tasks(tasks_.size());\n\n\ttransform(cbegin(tasks_), cend(tasks_), begin(tasks),\n\t\t[] (const pair<IUpdateTask::IdType, TaskInfo>& p) { return p.second.Task.get(); });\n\n\treturn tasks;\n}\n```"}
],
"edges":[
{"id":"b621a476fd748a7d","fromNode":"35301ec811a15aa2","fromSide":"bottom","toNode":"e01a865b5a13d6e9","toSide":"left"},
{"id":"4c8321febd557726","fromNode":"35301ec811a15aa2","fromSide":"bottom","toNode":"7d8839591c30f61a","toSide":"left"},
{"id":"9189c6bb3b246620","fromNode":"e01a865b5a13d6e9","fromSide":"right","toNode":"5f57db192293a0ec","toSide":"left"},
{"id":"2e110f57dd9e5bd7","fromNode":"5f57db192293a0ec","fromSide":"right","toNode":"5e7c147cd533a922","toSide":"left"},
{"id":"532b641829d3f018","fromNode":"5e7c147cd533a922","fromSide":"right","toNode":"cd7947e8636e6b51","toSide":"left"},
{"id":"1b9ae28111c94762","fromNode":"7d8839591c30f61a","fromSide":"right","toNode":"58150c82625254cd","toSide":"left"},
{"id":"bafcfd90de5e5be7","fromNode":"58150c82625254cd","fromSide":"right","toNode":"5db0c6d04d6655c7","toSide":"left"},
{"id":"6cb9b23f0f009736","fromNode":"58150c82625254cd","fromSide":"right","toNode":"f3ccd922e41c8fa2","toSide":"left"},
{"id":"9aad0f03a71efc9c","fromNode":"58150c82625254cd","fromSide":"right","toNode":"3668ba992c38b26a","toSide":"left"},
{"id":"491802f7e6933c36","fromNode":"58150c82625254cd","fromSide":"right","toNode":"aa2444242b481f93","toSide":"left"},
{"id":"ff38d8bf4a41eb8e","fromNode":"58150c82625254cd","fromSide":"right","toNode":"eca2584c45b6e6d5","toSide":"left"},
{"id":"c9e94cf99468eddd","fromNode":"35301ec811a15aa2","fromSide":"bottom","toNode":"c1122f185b292a7c","toSide":"left"},
{"id":"91b93c94fe07a699","fromNode":"6bfc707fe9365d07","fromSide":"bottom","toNode":"35301ec811a15aa2","toSide":"left"},
{"id":"7df607f1045d8c07","fromNode":"6bfc707fe9365d07","fromSide":"bottom","toNode":"6aab61cd927b9307","toSide":"left"},
{"id":"a996f628d78564a0","fromNode":"6bfc707fe9365d07","fromSide":"bottom","toNode":"dade636ce2d72147","toSide":"left"},
{"id":"2969440a55132bf4","fromNode":"6bfc707fe9365d07","fromSide":"bottom","toNode":"7ff8bac3fc3253f1","toSide":"left"},
{"id":"59e4e9a99d0afb3b","fromNode":"5d03eb8ecaadd1dd","fromSide":"bottom","toNode":"6bfc707fe9365d07","toSide":"left"},
{"id":"8008ff58b9c0a3a0","fromNode":"ce300adbc95c5a4b","fromSide":"right","toNode":"551e749e0cf332d3","toSide":"left"},
{"id":"dbf07f00980f3a0f","fromNode":"551e749e0cf332d3","fromSide":"right","toNode":"18c6dbc9cf46e214","toSide":"left"},
{"id":"762bcd1254df7890","fromNode":"18c6dbc9cf46e214","fromSide":"right","toNode":"c0e439a5140dbceb","toSide":"left"},
{"id":"d03a2aa8290e6113","fromNode":"dade636ce2d72147","fromSide":"bottom","toNode":"ce300adbc95c5a4b","toSide":"left"},
{"id":"27e46e4e71993a05","fromNode":"dade636ce2d72147","fromSide":"bottom","toNode":"cb5dc2c4eb714d15","toSide":"left"},
{"id":"41d665388fdcd5fd","fromNode":"dade636ce2d72147","fromSide":"bottom","toNode":"b272fd16c8f236a3","toSide":"left"},
{"id":"49b718b35ea3578d","fromNode":"5d03eb8ecaadd1dd","fromSide":"top","toNode":"798d72cd46e3502b","toSide":"left"},
{"id":"88c0e726b9eb326c","fromNode":"798d72cd46e3502b","fromSide":"right","toNode":"f6cfbfc1376ca01e","toSide":"left"},
{"id":"498207d5461e35f6","fromNode":"f6cfbfc1376ca01e","fromSide":"right","toNode":"a659de4263799b85","toSide":"left"},
{"id":"46a3a7fdd1d5f6a4","fromNode":"a659de4263799b85","fromSide":"right","toNode":"b398a6dd7e91ef4e","toSide":"left"},
{"id":"d2047bc4edfdbefa","fromNode":"b398a6dd7e91ef4e","fromSide":"right","toNode":"bca845f9b6b579f8","toSide":"left"},
{"id":"743ecb415fe5fcb6","fromNode":"bca845f9b6b579f8","fromSide":"right","toNode":"dd3394779b454c65","toSide":"left"},
{"id":"c8bf7d8b482bfe48","fromNode":"dd3394779b454c65","fromSide":"right","toNode":"1b43952d80e220e4","toSide":"left"},
{"id":"04fcccc24a59d13e","fromNode":"1b43952d80e220e4","fromSide":"right","toNode":"eed51d8e5331c29c","toSide":"left"},
{"id":"1fa5f7d458e72c17","fromNode":"dd3394779b454c65","fromSide":"bottom","toNode":"ed5fc2b9d34dbdd7","toSide":"top","color":"#ffdd00","label":"DoOpenDevice()"},
{"id":"742e84e0e8003c92","fromNode":"12867a0e216a1bc9","fromSide":"right","toNode":"4d601b6034046222","toSide":"left"},
{"id":"f8737a0fce99043d","fromNode":"4d601b6034046222","fromSide":"right","toNode":"28a3f76dba8f2283","toSide":"left"},
{"id":"e88c921961a6c0e3","fromNode":"4d601b6034046222","fromSide":"right","toNode":"162f50d1dd604161","toSide":"left"},
{"id":"5ac5aaa4291a990d","fromNode":"162f50d1dd604161","fromSide":"right","toNode":"ac73b0f38a1fad67","toSide":"left"},
{"id":"753699a3a9e8f59c","fromNode":"ac73b0f38a1fad67","fromSide":"right","toNode":"72f0552d9251b235","toSide":"left"}
]
}

View File

@@ -1,45 +0,0 @@
# 安裝
```shell
sudo apt install vsftpd
```
# 設定檔
## `/etc/vsftpd.conf`
```shell
anonymous_enable=NO # 不能匿名登入
local_enable=YES
write_enable=NO # 不能寫入
local_umask=022 # default file permissions for uploaded files
chroot_local_user=YES # restricts users to their home directories
# PASV mode
pasv_enable=YES
pasv_min_port=10000
pasv_max_port=20000
# 設定 FTP 伺服器最大接入客戶端數為 10 個
max_clients=10
# 設定每個 IP 位址最大連線數為 10 個
max_per_ip=10
# Limiting User Login
userlist_enable=YES
userlist_file=/etc/vsftpd.user_list
userlist_deny=NO
user_sub_token=$USER
local_root=/home/$USER/ftp
```
# Service control
## Restart
```shell
sudo service vsftpd restart
```
## Status
```shell
sudo systemctl status vsftpd
```
# 建立使用者資料庫

View File

@@ -1,3 +0,0 @@
### 高雄市
#### 左營區
- [本Hon鐵板燒](https://chunyakhh.com/4916/benhon/)

View File

@@ -1,54 +0,0 @@
- [【桃園美食】水來青舍](https://www.taiwanviptravel.com/articles/guanyinshuilai/)
- [【中正紀念堂美食】老建中麵店-川味紅油抄手麵|泉州街美食推薦|菜單](https://pekosay.com/post-41466400/)
### 基隆市
#### 中山區
- 仙洞巖佛手洞
- [基隆佛手洞,超神祕私房景點,台版土耳其地下城探險!!](https://bunnyann.com/blog-post_22/)
#### 中正區
- 八斗子秘境
- [在地人帶路「抹茶潮間帶」不用門票還有停車位!!](https://hamibobo.tw/badouzi-secret-realm/)
### 新北市
#### 三峽區
- [GUHill好適山坡](https://www.facebook.com/guhillcafe)
- [山林裏喝咖啡❗隱身山林中的老屋紅磚咖啡館 望著窗外發呆也享受 還歡迎毛小孩同行-ALICE一家樂遊遊](http://www.mylovefamily.tw/?p=108953&fbclid=IwAR3gUCZQGcgpHaTHuEK6DM4IuGkP6XBdqkOekeC8_u6w9WRZ6hirjueEEa0)
#### 雙溪區
- [三貂嶺生態友善步道](https://www.youtube.com/watch?v=vo-iGpHMo4E)
### 新竹縣
#### 新埔鎮
- [雲夢山丘](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹縣新埔鎮新關路五埔段600號
- 時間每週六、日9:00-17:00
#### 關西鎮
- [東安古橋]()
- [地址](https://www.google.com/maps/place/%E6%9D%B1%E5%AE%89%E5%8F%A4%E6%A9%8B/@24.7908111,121.1797861,15z/data=!4m2!3m1!1s0x0:0xd9d04261389fc1a0?sa=X&ved=2ahUKEwi0mcX9mLLoAhULCqYKHUrbAX4Q_BIwCnoECBgQCA)
- [馬武督探索森林、綠光小學]()
- 地址新竹縣關西鎮錦山里12鄰138-3號
- 門票平日120/假日130
#### 尖石鄉
- [尖石北角吊橋](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹縣尖石鄉義興村120線道上
#### 新豐鄉
- [鳳崎落日登山步道]()
- 地址新竹縣新豐鄉德昌街236號
- [天德堂夜景](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹縣新豐鄉德昌街236號
- [新豐紅樹林](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹縣新豐鄉新豐村池府路156號
### 新竹市
- [魚鱗天梯](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹市北區南寮街261號
- [海之聲](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址竹市香山區南港街106巷
- [香山沙丘](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹市香山區南港街52巷
- [福湯岩盤浴](https://www.popdaily.com.tw/travel/626736?utm_source=facebook-popdaily-poptour&utm_medium=post&utm_campaign=hsinchu&utm_content=link-20230502-travel/626736&mibextid=Zxz2cZ)
- 地址新竹市北區湳雅街區91-2號 B1

View File

@@ -1,19 +0,0 @@
## 來源
- [[討論] 猴子都會的AI繪圖軟體安裝教學 - ACG板 - Disp BBS](https://disp.cc/m/ACG/fpup)
## Steps
1. Clone source code
`git clone git@github.com:AUTOMATIC1111/stable-diffusion-webui.git`
2. Download model from: [https://cyberes.github.io/stable-diffusion-models/](https://cyberes.github.io/stable-diffusion-models/)
1. Standard Model
- Use torrent: `magnet:?xt=urn:btih:3A4A612D75ED088EA542ACAC52F9F45987488D1C&tr=udp://tracker.opentrackr.org:1337`
- Or from google drive: https://drive.google.com/file/d/1wHFgl0ivCmIZv88hVZXkb8oy9qCuaBGA/view
2. Waifu Diffusion
- Torrent: `magnet:?xt=urn:btih:PK4UPXMW5TC7O2MKF7YJMIDX4NRBYO5R&dn=wd-v1-3-float32.ckpt&xl=4265384157&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce`
- or from HuggingFace: https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt
3. Put `wd-v1-3-float32.ckpt` and `sd-v1-4.ckpt` to `stable-diffusion-webui\models\Stable-diffusion`
4. Open `webui-user.bat` and set `PYTHON` to your path of `python.exe`, e.x. `set PYTHON="C:\Python310\python.exe"`
5. Run `webui-user.bat`
6. Open web browser and goto [http://127.0.0.1:7860](http://127.0.0.1:7860/)

View File

@@ -1,36 +0,0 @@
[國內外重要草坪除草劑特性](https://web.tari.gov.tw/techcd/%E8%8A%B1%E5%8D%89/%E8%8D%89%E7%9A%AE/%E5%85%B6%E4%BB%96/%E8%8D%89%E7%9A%AE-%E9%99%A4%E8%8D%89%E5%8A%91%E7%89%B9%E6%80%A7.htm)
| 普通名稱 | 英文名稱 | 成分劑型 | 施藥時期 | 選擇性 | 對象雜草 |
|:---------- |:-------------- | -------- | ------------ | ----------- |:--------------------------|
| | | | 萌前    萌後 | 有       無 | 闊葉  禾草  莎草 |
| 二、四-地 | 2,4-D | 80% SP | ﹡ | ﹡ | ﹡ |
| 亞速爛 | asulam | 37%S | ﹡ | ﹡ | ﹡        ﹡ |
| 本達隆 | bentazon | 44.1% S | ﹡ | ﹡ | ﹡                     ﹡ |
| 邁隆 | dazomet | 98% G | ﹡ | ﹡ | ﹡        ﹡         ﹡ |
| 汰硫草 | dithiopyr | 32% EC | ﹡ | ﹡ | ﹡ |
| 伏速隆 | flazasulfuron | 10%WP | ﹡ | ﹡ | ﹡                     ﹡ |
| 氟氯比 | fluroxypyr | 29.64%EC | ﹡ | ﹡ | ﹡ |
| 嘉磷塞 | glyphosate | 41% S | ﹡ | ﹡ | ﹡        ﹡          ﹡ |
| 滅必淨 | metribuzin | 70%WP | ﹡ | ﹡ | ﹡        ﹡          ﹡ |
| 甲基砷酸鈉 | MSMA | 45% S | ﹡ | ﹡ | ﹡                      ﹡ |
| 滅落脫 | napropamide | 50% WG | ﹡ | ﹡ | ﹡        ﹡ |
| 樂滅草 | oxdiazon | 2% G | ﹡ | ﹡ | ﹡        ﹡ |
| 巴拉刈 | paraquat | 24% S | ﹡ | ﹡ | ﹡        ﹡         ﹡ |
| 施得圃 | pendimethalin | 34%EC | ﹡ | ﹡ | ﹡        ﹡         ﹡ |
| 百速隆 | pyrazosulfuron | 10% WP | ﹡   ﹡ | ﹡ | ﹡                      ﹡ |
| 快克草 | quinclorac | 50% WP | ﹡ | ﹡ | ﹡ |
| 西殺草 | sethoxydim | 20%EC | ﹡ | ﹡ | ﹡ |
| 草滅淨 | simazine | 50% WP | ﹡ | ﹡ | ﹡        ﹡ |
| 三氯比 | triclopyr | 61.6%EC | ﹡ | ﹡ | ﹡ |
| | |
| ----- | ---------- |
| SP | 可溶性粉劑 |
| | 溶液 |
| | 粒劑 |
| EC | 乳劑 |
| WP | 可濕性粉劑 |
| WG | 水分散粒劑 |
(台灣草坪雜草彩色圖鑑 / 農業藥物毒物試驗所 徐玲明 蔣慕琰)