Skip to content

Commit

Permalink
docusaurus 3.2.1; update accounting
Browse files Browse the repository at this point in the history
  • Loading branch information
wenerme committed Apr 11, 2024
1 parent 0e1da89 commit 6c9965b
Show file tree
Hide file tree
Showing 86 changed files with 12,164 additions and 421 deletions.
5 changes: 5 additions & 0 deletions notes/ai/embedding.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Embedding
---

# Embedding
8 changes: 8 additions & 0 deletions notes/ai/llm/llm-glossary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
tags:
- Glossary
---

# LLM Glossary


39 changes: 39 additions & 0 deletions notes/ai/nlp/chinese/nlp-chinese-awesome.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
tags:
- Awesome
---

# Chinese NLP

- [chinese-poetry/chinese-poetry](https://github.com/chinese-poetry/chinese-poetry)
- 中华古诗词数据库
- [InsaneLife/ChineseNLPCorpus](https://github.com/InsaneLife/ChineseNLPCorpus)
- [fighting41love/funNLP](https://github.com/fighting41love/funNLP)
- 中文 NLP 资源库
- [crownpku/Awesome-Chinese-NLP](https://github.com/crownpku/Awesome-Chinese-NLP)
- [brightmart/nlp_chinese_corpus](https://github.com/brightmart/nlp_chinese_corpus)
- [cobaltdisco/Google-Chinese-Results-Blocklist](https://github.com/cobaltdisco/Google-Chinese-Results-Blocklist)
- [ymcui/Chinese-BERT-wwm](https://github.com/ymcui/Chinese-BERT-wwm)
- [hankcs/HanLP](https://github.com/hankcs/HanLP)
- 中文 NLP
- [baidu/lac](https://github.com/baidu/lac)
- LAC - Lexical Analysis of Chinese
- 百度 NLP:分词,词性标注,命名实体识别,词重要性
- [blmoistawinde/HarvestText](https://github.com/blmoistawinde/HarvestText)
- 文本挖掘和预处理工具
- [NLPchina/ansj_seg](https://github.com/NLPchina/ansj_seg)
- [中文分词](http://www.hankcs.com/nlp/segment/)
- https://github.com/PaddlePaddle/PaddleClas
- https://arxiv.org/pdf/2111.00775v1.pdf

### 公司机构名称

- [verarong/CompanyNameMatch](https://github.com/verarong/CompanyNameMatch)
- 公司、企业名称模糊匹配,基于词频的公司名主体提取,基于编辑距离的匹配度
- 基于 jieba 分词、数百万家企业名称分词后词频统计,提取公司名称中的各类型信息,并依据业务需求计算匹配分值
- weight.csv
- 110 万行
- [wainshine/Company-Names-Corpus](https://github.com/wainshine/Company-Names-Corpus)
- 公司名语料库 - 机构名语料库。公司简称,缩写,品牌词,企业名。可用于中文分词、机构名实体识别。
- [hujunxianligong/abbrs](https://github.com/hujunxianligong/abbrs)
- 公司名简称生成
29 changes: 29 additions & 0 deletions notes/culture/game/ns/ns-faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: Nitendo Switch FAQ
tags:
- FAQ
---

# Nitendo Switch FAQ

## 搜索不到 5g WiFi

将路由的 5g WiFi 控制通道修改为小于 149 的通道

## 下载较慢

尝试将网络的 MTU 修改为 1500

## 美国免税邮编

阿拉斯加 99775

## 登记 QR Code


```
https://accounts.nintendo.com/qr_verify?aud=&iat=1586003687&sub=&sig=&exp=1586608487
```

- aud 6ffd70c434d303c8
- 7 天有效期
85 changes: 85 additions & 0 deletions notes/dev/design/design-accounting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
---
title: Accounting
---

# Accounting

| abbr. | en | zh |
| ----- | ----------------------- | ------------ |
| DEA | Double Entry Accounting | 复式记账 |
| RFS | Record Filing System | 档案管理系统 |
| SEA | Single Entry Accounting | 单式记账 |
| COGS | Cost of Goods Sold | 销售成本 |

| en | zh |
| -----------------------------: | -------------- |
| Ledger | 总账 |
| Account Book | 账簿 |
| sub-ledger | 明细账 |
| General Ledger | 总账 |
| Journal Entry | 分录 |
| account balance | 账户余额 |
| stored account balance | 存储账户余额 |
| Derived account balance | 衍生账户余额 |
| Legislature | 立法机关 |
| Account Statement | 账户报表 |
| Closing Balance | 结余 |
| Current Balance | 当前余额 |
| Closing Date | 结算日期 |
| Credit | 贷方 |
| Debit | 借方 |
| OTO Transaction | 一对一交易 |
| Accounts Receivable Sub-ledger | 应收账款明细账 |
| Accounts Payable Sub-ledger | 应付账款明细账 |
| Inventory Sub-ledger | 存货明细账 |
| Refund | 退款 |
| reversal transaction | 冲正交易 |
| Accounting Period | 会计期间, 账期 |
| net amount | 净额 |
| gross amount | 毛额 |
| fee amount | 手续费 |
| Gross Assets | 总资产 |
| Gross Revenue | 总收入 |
| Gross Profit | 毛利润 |
| Gross Margin | 毛利率 |
| Net Assets | 净资产 |
| Net Revenue | 净收入 |
| Net Earnings | 净利润 |
| Net Income | 净收入 |
| Net Margin | 净利率 |
| pre balance | 前余额 |
| post balance | 后余额 |

- Derived account balance
- 通过汇总账户的所有交易记录(如存款和取款)来计算得出的余额
- Stored account balance
- 直接在数据库中存储的当前余额数值
- 交易对方
- counterpart_transaction_id
- reverse_transaction_id
- mirror_transaction_id
- inverse_transaction_id
- gross vs net
- https://corporatefinanceinstitute.com/resources/accounting/gross-vs-net/

```
pre_balance + amount = post_balance
```

```
net = gross - fee
```

```
net + fee = gross
```

## Single Entry Accounting vs Double Entry Accounting

## 参考

- [Derived account balance vs stored account balance](https://stackoverflow.com/a/29713230/1870054)
- https://stackoverflow.com/a/68528638/1870054
- [Double-entry bookkeeping](https://en.wikipedia.org/wiki/Double-entry_bookkeeping)
- [Single-entry bookkeeping](https://en.wikipedia.org/wiki/Single-entry_bookkeeping)
- https://www.accountingtools.com/articles/accounting-system-design
9 changes: 9 additions & 0 deletions notes/dev/design/design-erp.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,12 @@ interface GeneralResource {
- File - 文件
- 通用文件
- 内容可能不透明 - 不需要感知内容

## zIndex

- 50
- dialog
- 40
- window host - isolate

## State & Status
48 changes: 47 additions & 1 deletion notes/dev/dict.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,26 @@ tags:

## 常见词汇 {#common}

| abbr. | en | cn |
| ------: | ------------ | ------------ |
| | synonynm | 同义词 |
| | antonym | 反义词 |
| | homonym | 同音异义词 |
| | homograph | 同形异义词 |
| | acronym | 首字母缩略词 |
| abbr. | abbreviate | 缩写 |
| adj. | adjective | 形容词 |
| adv. | adverb | 副词 |
| n. | noun | 名词 |
| v. | verb | 动词 |
| prep. | preposition | 介词 |
| conj. | conjunction | 连词 |
| pron. | pronoun | 代词 |
| interj. | interjection | 感叹词 |
| art. | article | 冠词 |
| pl. | plural | 复数 |
| sing. | singular | 单数 |

| 英文 | 含义 |
| --------------- | ------------------------------------------------------------------- |
| list | 列表 |
Expand Down Expand Up @@ -376,6 +396,10 @@ tags:

## 社交 {#social}

| abbr. | stand for | mean |
| ----- | ---------------------- | ------------ |
| sns | social network service | 社交网络服务 |

> Internet forum
| abbr. | stand for | mean |
Expand Down Expand Up @@ -573,13 +597,17 @@ tags:
| Rental Property Management | 租赁物业管理 |
| Rental Property | 租赁物业 |
| Rental | 租赁、租金 |
| rent | 租赁、租金 |
| security deposit | 押金 |
| margin | 保证金 |
| Real Estate Businesses | 房地产业务 |
| Real Estate | 房地产 |
| Estate | 房地产、遗产 |
| Collect rent | 收租 |
| tenant | 租户、承租人、房客 |
| Lease | 租约、租赁合同 |
| Raising The Rent | 提高租金 |
| Labor Management System | 劳务管理系统 |

- Housing
- 住宅
Expand All @@ -588,6 +616,17 @@ tags:
- 房产
- Commercial
- 商业
- Lessee - 强调租赁关系
- Occupant, Resident - 强调居住状态
- Renter - 租客 - 简单地指一个支付租金使用房屋的个体
- Tenant - 租户
- Holder - 持有人 - 类似 landlord 和 house 的关系
- security deposit vs margin
- security deposit
- 更加常用和准确
- margin
- 描述交易中所需的保证金
- 比如股票交易或期货交易中的最低保证金要求

# FAQ

Expand Down Expand Up @@ -1312,10 +1351,15 @@ tags:

- Address - 任何类型的地址
- Mailing Address - 地址用于邮寄, 区分账单地址或办公地址
- 信件、账单、杂志 等
- Shipping Address - 物理商品配送
- 通常用于较大包裹的发送,特别是涉及到在线购物、大件商品的运输等。
- 电商场景用的多
- 与 "shipping costs"(运费)、"shipping information"(运输信息) 相关
- Postal Address - 邮政 - 适合传统的邮件寄送
- Street Address: - 街道信息
- Physical Address: - 区分电子地址(如电子邮件)和物理地址
- recipient address - 收件人地址

## parse vs resolve vs normalize

Expand Down Expand Up @@ -1450,8 +1494,10 @@ tags:
- https://www.dictionary.com/browse/employee?s=t
- 查含义和词源
- etymonline.com
- 查询缩写词
- https://www.abbreviations.com

| .abbr | for |
| abbr. | for |
| ----- | ----------------------------------- |
| SDLC | Software Development Life Cycle |
| AIDA | AI Developer Assistant |
Expand Down
12 changes: 8 additions & 4 deletions notes/devops/concept/unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ title: Unit

# Unit

| unit | for | note |
| ----- | ---------- | ------------- |
| 1 kB | 1000 bytes | SI |
| 1 KiB | 1024 bytes | IEC, kibibyte |
| unit | for | note |
| ----: | --------------: | ------------- |
| 1 kB | 1000 bytes | SI |
| 1 KiB | 1024 bytes | IEC, kibibyte |
| 1 kb | 1000 bits | |
| 1 Mb | 1,000,000 bits | |
| 1 MB | 1,000,000 bytes | |

---

- 50M 的带宽 - 50 Mb/s - 约 5M/s - 传输 1GB 文件约 200s - 约 4 分钟
- SI - International System of Units
- IEC - International Electrotechnical Commission
- https://en.wikipedia.org/wiki/Byte
Expand Down
12 changes: 10 additions & 2 deletions notes/devops/docker/docker-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,26 @@ tags:
- [Docker Best Practices](https://gist.github.com/StevenACoffman/41fee08e8782b411a4a26b9700ad7af5)

## Host IP

- host.docker.internal
- docker.for.mac.localhost


```bash
/sbin/ip route|awk '/default/ { print $3 }'
/sbin/ip route | awk '/default/ { print $3 }'

getent host.docker.internal
getent hosts docker.for.mac.localhost

# Docker in AWS
# http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-retrieval
curl http://169.254.169.254/latest/meta-data/local-ipv4
```

- https://docs.orbstack.dev/docker/domains
- container-name.orb.local
- service.project.orb.local
- 本地可直接打开 http://orb.local

## env

- DOCKER_REGISTRY_URL
Expand Down
13 changes: 13 additions & 0 deletions notes/devops/kubernetes/app/argocd/argocd-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@ kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/st
[argocd 2.2]: #argocd-22
[argocd 2.1]: #argocd-21

## ArgoCD 2.10

- ApplicationSet Templates
- Apps in Any Namespace & Notifications
- https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/
- --application-namespaces
- argocd-cm
- application.namespaces
- PKCE
- Server-Side Diff
- 2.5+ Server-Side Apply (SSA)
- based on kube structured-merge-diff

## ArgoCD 2.9

- https://blog.argoproj.io/argo-cd-v2-9-release-candidate-a1e256d01017
Expand Down
15 changes: 14 additions & 1 deletion notes/devops/telementry.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ NEXT_TELEMETRY_DISABLED=1
# NuxtJS
NUXT_TELEMETRY_DISABLED=1


# ========================
# Service
# ========================
Expand Down Expand Up @@ -93,6 +92,20 @@ MINIO_UPDATE=off
export HOMEBREW_NO_ANALYTICS=1
```

## Scarf

```
SCARF_ANALYTICS=false
```

```json title="package.json"
{
"scarfSettings": {
"defaultOptIn": false
}
}
```

## NuxtJS

```bash
Expand Down

0 comments on commit 6c9965b

Please sign in to comment.