Skip to content

Commit 60ea754

Browse files
committed
update
1 parent a16a504 commit 60ea754

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1673
-145
lines changed

notes/ai/llm/llm-faq.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ tags:
5555
- https://groq.com/pricing/
5656
- https://openai.com/api/pricing/
5757
- https://www.anthropic.com/pricing
58+
- https://fireworks.ai/pricing
59+
- https://www.anyscale.com/pricing
5860
- 参考
5961
- https://www.vellum.ai/blog/llama-3-1-70b-vs-gpt-4o-vs-claude-3-5-sonnet
6062

notes/ai/llm/ollama.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ ollama pull qwen2:7b # 中文相对好点
4444

4545
# vision
4646
ollama pull llama3.2-vision:11b
47+
#ollama pull llama3.2-vision:90b
4748
```
4849

4950
| env | default | desc |

notes/ai/ml/ml-awesome.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ tags:
353353

354354
## UI/Desktop/GUI/WebUI {#ui}
355355

356+
- omnimodel
356357
- [Yonom/assistant-ui](https://github.com/Yonom/assistant-ui)
357358
- React Components for AI Chat
358359
- [lobehub/lobe-chat](https://github.com/lobehub/lobe-chat)

notes/ai/prompt-awesome.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,3 +235,25 @@ Under NO circumstances should you EVER give, and this is EXTREMELY IMPORTANT, an
235235
```
236236
Rename all Javascript variables and functions to have descriptive names based on their usage in the code
237237
```
238+
239+
## chatgpt memory
240+
241+
```
242+
based on what you know about me. draw a picture of what you think my current life looks like
243+
```
244+
245+
<!--
246+
elaborate
247+
248+
举两个 Prompt 中极致压缩的例子:
249+
1. 苏格拉底
250+
251+
只要你 Prompt 设置这个角色,那么 AI 就会明白要向你提问,通过启发式的问题来引导你
252+
253+
2. Roast
254+
255+
只要你让 AI 去 roast,它就会开启吐槽模式,尤其是 Claude 更是厉害
256+
257+
258+
read thoroughly and write an outline(following the Minto Pyramid principle) in **Chinese** using original words. Return in markdown:
259+
-->

notes/ai/service/ai-service-awesome.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@ tags:
55

66
# AI Service Awesome
77

8+
- Application/WebUI/UI/Desktop/Consumer
9+
- [OpenAI ChatGPT](https://chat.openai.com/)
10+
- [POE](https://poe.com/)
11+
- [Google Gemini Advanced](https://ai.google/)
12+
- [Microsoft Bing AI](https://www.bing.com/new)
13+
- [Anthropic Claude](https://www.anthropic.com/claude)
14+
- [Hugging Face Transformers](https://huggingface.co/transformers/)
15+
- API/Service/Adapter/Gateway
16+
- [OpenAI API](https://platform.openai.com/docs/api-reference)
17+
- [Google Cloud AI](https://cloud.google.com/products/ai)
18+
- [Microsoft Azure OpenAI Service](https://azure.microsoft.com/services/openai-service/)
19+
- [Amazon SageMaker](https://aws.amazon.com/sagemaker/)
20+
- [IBM Watson API](https://www.ibm.com/watson)
21+
- https://openrouter.ai
22+
- for text only
23+
- https://novita.ai/model-api/pricing
24+
- for text & image models
25+
- https://novita.ai/model-api/model
26+
- https://civitai.com/
27+
- https://windowai.io/
828
- Prompt IDE/Playrgound
929
- RAG
1030

notes/courses/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: 课程
44

55
# 课程
66

7-
- [数学](./math/README.md)
7+
- [数学]
88
- Stanford [CS221](./cs221/README.md): Artificial Intelligence: Principles and Techniques
99
- https://www.deeplearningbook.org/
1010
- 3 部分
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
tags:
3+
- Supervisor
4+
---
5+
6+
# Supervisor
7+
8+
- Supervisor/Controller/Scheduler
9+
- 监控、管理、自动回复、生命周期
10+
- Lifecycle 管理
11+
- 进程、资源、数据、系统组件
12+
- K8S PodStatus - https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#podstatus-v1-core
13+
- Pod.status(PodStatus).phase: string
14+
- Pending
15+
- Running
16+
- Succeeded
17+
- Failed
18+
- Unknown
19+
- ContainerStatus.state: ContainerState
20+
- Waiting
21+
- Running
22+
- Terminated

notes/dev/dict.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,18 @@ but they also check if the other needs the resource, too. If the resource is req
17681768
try to get the other instance of the resource. In the unfortunate case it might happen that the two participants
17691769
“bounce” between the two resources, never acquiring it, but always yielding to the other.
17701770

1771-
## 后台管理系统名称
1771+
## language vs script
1772+
1773+
- language
1774+
- 语言
1775+
- 一种人类交流的方式
1776+
- 例如:中文、英文、法文
1777+
- script
1778+
- 文字
1779+
- 一种书写的方式
1780+
- 例如:“简体中文”、“繁体中文”、“拉丁字母”
1781+
1782+
## 后台管理系统名称 {#admin-system-name}
17721783

17731784
- Console - 控制台
17741785
- 通常指代系统的管理界面

notes/dev/format/xml.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,33 @@ title: xml
44

55
# xml
66

7+
- usecase
8+
- WSDL
9+
- SOAP
10+
- RSS
11+
- Atom
12+
- SVG
13+
- XSLT
14+
- XHTML
15+
- XForms
16+
- XQuery
17+
- XPath
18+
- XPointer
19+
- XLink
20+
- 企业级标准协议
21+
- SOAP
22+
- Web Services
23+
- 金融报文 - SWIFT、FIX
24+
- 医疗 - HL7
25+
- 电信行业
26+
- 文档建模
27+
- MS Office
28+
- Open Office
29+
- PDF
30+
- DocBook
31+
- DITA
32+
- 政府、科研数据交换
33+
734
```bash
835
# macOS 工具
936
brew install xmlstarlet
@@ -20,5 +47,20 @@ xmlstarlet format --omit-decl --indent-spaces 2 test.xml
2047
xmlstarlet ed -O --inplace -N x=http://www.w3.org/2000/svg \
2148
--update "x:svg/@fill" -v currentColor \
2249
--insert "/x:svg[not(@fill)]" --type attr -n fill -v currentColor
23-
icon.svg
50+
icon.svg
2451
```
52+
53+
## Schema
54+
55+
- complexType
56+
- all - 任意顺序出现,但每个只允许出现一次
57+
- choice
58+
- sequence
59+
- element
60+
- .name
61+
- .type
62+
- .minOccurs
63+
- .maxOccurs
64+
- XML Schema 1.1 https://www.w3.org/XML/Schema
65+
- W3C Recommendation: XML Schema Part 1: Structures
66+
- W3C Recommendation: XML Schema Part 2: Datatypes

notes/devops/web/caddy/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ docker exec caddy curl -s http://127.0.0.1:2019/config/
137137
caddy file-server export-template
138138
```
139139

140+
- https://github.com/caddyserver/website/blob/master/src/docs/index.html
141+
- https://pastebin.com/9EkfCuhu
140142
- 页面模板 https://github.com/caddyserver/caddy/blob/master/modules/caddyhttp/fileserver/browse.html
141143
- https://caddyserver.com/docs/caddyfile/directives/file_server
142144

0 commit comments

Comments
 (0)