-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
## 如何手搓一个 CPU? | ||
|
||
没错,你想要的都在这里,Lectures 12-14 涉及内容 | ||
[Project 3 | CS 61C Spring 2022](https://inst.eecs.berkeley.edu/~cs61c/sp22/projects/proj3/) | ||
[cs61c-sp22/projects/sp22-proj3-starter at main · cs-learning-every-day/cs61c-sp22 · GitHub](https://github.com/cs-learning-every-day/cs61c-sp22/tree/main/projects/sp22-proj3-starter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
|
||
[# EaseProbe](https://github.com/megaease/easeprobe) | ||
EaseProbe is a simple, standalone, and lightweight tool that can do health/status checking, written in Go. | ||
|
||
## Testing | ||
|
||
- [Monkey](https://github.com/bouk/monkey) 动态的改变函数,建议自在测试环境中使用 | ||
比如对json.MarshlIndent函数修改 | ||
|
||
```go | ||
monkey.Patch(json.MarshalIndent, func(v interface{}, prefix, indent string) ([]byte, error) { | ||
return nil, fmt.Errorf("error") | ||
}) | ||
``` | ||
|
||
- [testify](https://github.com/stretchr/testify) | ||
|
||
## Tool | ||
|
||
[# Go JSON Schema Reflection](https://github.com/invopop/jsonschema) | ||
|
||
[yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor](https://github.com/mikefarah/yq) | ||
|
||
[Chi](https://github.com/go-chi/chi) lightweight, idiomatic and composable router for building Go HTTP services | ||
|
||
## Config | ||
|
||
提供本地,在线文件配置文件,并且支持提供目录多个配置文件合并(yq) | ||
|
||
## Abstraction | ||
|
||
Probers -> Channel -> Notification | ||
|
||
Channel维护 Probers和Notification 多对多的关系 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[Code](https://github.com/cs-learning-every-day/CS106L/tree/main/cs106L-assignment1) | ||
|
||
## Problem | ||
|
||
一个start_wiki_page中点击wiki内部连接最终到达想要的end_wiki_page中。 | ||
|
||
## 思想 | ||
|
||
BFS,优先遍历最相关的网站。 | ||
相关性可以简单定义为:start_wiki_page中的所有link,和end_wiki_page中的所有link,共有的link数。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters