-
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.
update SUMMARY.md, Introduction.md and so on, nearly ok.
- Loading branch information
1 parent
6211b9a
commit 74f2158
Showing
20 changed files
with
164 additions
and
62 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Configuration Examples | ||
|
||
- [Configuration Examples](#configuration-examples) | ||
- [`.clang-format`](#clang-format) | ||
- [`.gitignore`](#gitignore) | ||
|
||
## `.clang-format` | ||
|
||
```yaml | ||
--- | ||
Language: Cpp | ||
AccessModifierOffset: -2 | ||
AlignAfterOpenBracket: Align | ||
AlignArrayOfStructures: None | ||
AlignConsecutiveMacros: None | ||
AlignConsecutiveAssignments: None | ||
AlignConsecutiveBitFields: None | ||
AlignConsecutiveDeclarations: None | ||
AlignEscapedNewlines: Left | ||
AlignOperands: Align | ||
AlignTrailingComments: true | ||
... | ||
``` | ||
|
||
--- | ||
|
||
## `.gitignore` | ||
|
||
[import](./.gitignore) |
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,9 @@ | ||
# load_code.py | ||
def load_code(file_path): | ||
with open(file_path, 'r') as file: | ||
return f"```python\n{file.read()}\n```" | ||
|
||
if __name__ == "__main__": | ||
code_block = load_code("xx.py") | ||
with open("README.md", 'a') as md_file: | ||
md_file.write("\n" + code_block) |
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,43 +1,15 @@ | ||
# My Notes for nearly Everything | ||
|
||
- Learn | ||
- Linux | ||
- Programming | ||
- ReadingNotes | ||
- Network | ||
- Papers | ||
- ConfigExamples | ||
- Git | ||
- Misc | ||
|
||
|
||
<details> <summary>Learn</summary> | ||
|
||
- LearnGPU2CPU-by-GPT | ||
- LearnMLIR | ||
- LearnMocCUDA | ||
- LearnPolygeist | ||
- LearnPolyhedralModel | ||
|
||
</details> | ||
|
||
<details> <summary>Linux</summary> | ||
|
||
- LinuxFamily | ||
- Display | ||
- UserManagement | ||
- InputMethod: Fcitx | ||
- Nautlius: Debian File Explorer | ||
|
||
</details> | ||
|
||
<details> <summary>Programming</summary> | ||
|
||
- CRTP: Compile-Time-Reflection-Programming | ||
</details> | ||
|
||
<details> <summary>ConfigExamples</summary> | ||
|
||
- `.clang-format` | ||
- `.gitignore` | ||
</details> | ||
# My Notes for nearly Everything, by [hhw](https://github.com/houhuawei23) | ||
|
||
- [`Learn`](Learn/Learn.md): Record learning resources, environment configuration, common questions and precautions when learning something or a certain skill | ||
- [`Linux`](Linux/Linux.md): Linux related notes, including Linux distribution, display, user management, input method, etc. | ||
- [`PythonLibs`](PythonLibs) | ||
- | ||
- [`Programming`](Programming/Programming.md): Programming related notes, about design patterns and so on. | ||
- [`ReadingNotes`](ReadingNotes/ReadingNotes.md): Personal reading notes, including books and articles. | ||
- [`Network`](Network/Network.md): Network related notes, including network protocols, network architecture, etc. | ||
- [`Papers`](Papers/Papers.md): Papers I read and want to remember. | ||
- [`ConfigExamples`](ConfigExamples/ConfigExamples.md): Configuration examples for different tools and editors. | ||
- [`Git`](Git): Git related notes, including basic usage, branch management, etc. | ||
- [`Misc`](Misc/Misc.md): Miscellaneous notes, uncategorized notes. | ||
|
||
⭐ If you think this repository is helpful to you, please give me a [star](https://github.com/houhuawei23/Notes)! 😚 |
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,14 @@ | ||
pypi: https://pypi.tuna.tsinghua.edu.cn/simple | ||
|
||
https://mirrors.tuna.tsinghua.edu.cn/help/pypi/ | ||
|
||
|
||
anaconda: | ||
|
||
https://mirrors.tuna.tsinghua.edu.cn/help/anaconda/ | ||
|
||
|
||
```bash | ||
conda config --set custom_channels.auto https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/ | ||
|
||
``` |
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,3 @@ | ||
# Jinjia2 | ||
|
||
[include](./jinjia.py) |
Empty file.
Empty file.
Empty file.
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
File renamed without changes.
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,4 +1,64 @@ | ||
# Notes for Nearly Everything, by hhw | ||
|
||
- [Learn](Learn/Learn.md) | ||
- [LearnAIMA](Learn/LearnAIMA/index.md) | ||
- [Learn AIMA](Learn/LearnAIMA/index.md) | ||
- [Learn Conda](Learn/LearnConda/Conda.md) | ||
- [Learn CUDA](Learn/LearnCUDA/CUDA.md) | ||
- [Learn Computer Vision](Learn/LearnCV/ComputerVisoin.md) | ||
- [Learn Docker](Learn/LearnDocker/docker.md) | ||
- [Learn Drones](Learn/LearnDrones/Note.md) | ||
- [Learn GameDev](Learn/LearnGameDev/Note.md) | ||
- [Learn Game Theory](Learn/LearnGameTheory/GameTheory.md) | ||
- [Learn Lalrpop (Rust)](Learn/LearnLalrpop/Lalrpop.md) | ||
- [Learn Pest (Rust)](Learn/LearnPest/pest.md) | ||
- [Learn MLIR](Learn/LearnMLIR/MLIR-LanRef.md) | ||
- [Learn Rust](Learn/LearnRust/Resources.md) | ||
- [Learn ROS](Learn/LearnROS/ROS.md) | ||
- [Learn Personal Website](Learn/PersonalWebsite/Note.md) | ||
- [Learn MocCUDA](Learn/LearnMocCUDA/MocCUDA.md) | ||
- [Learn Polygeist](Learn/LearnPolygeist/Note.md) | ||
- [Learn Polyhedral Compilation](Learn/LearnPolyhedralModel/Note.md) | ||
- [Learn ROCm](Learn/LearnROCm/ROCm.md) | ||
- [Learn JinJia2](Learn/LearnJinJia2/Jinjia2.md) | ||
- [Misc](Misc/Misc.md) | ||
- [Useful Links](Misc/00_Links.md) | ||
- [Github Reps](Misc/01_GitHubReps.md) | ||
- [Gitbook](Misc/GitBook.md) | ||
- [Typst](Misc/Typst.md) | ||
- [Markdown](Misc/Markdown.md) | ||
- [VScode](Misc/VScode.md) | ||
- [Bochs](Misc/Bochs.md) | ||
- [Regular Exp](Misc/RegularExp.md) | ||
- [FuzzTesting](Misc/FuzzTesting/FuzzTesting.md) | ||
- [PowerShell](Misc/PowerShell.md) | ||
- [NPM](Misc/NPM.md) | ||
- [Fonts](Misc/Fonts.md) | ||
- [Drawing](Misc/Drawing.md) | ||
- [Flatpack](Misc/Flatpack) | ||
- [Linux](Linux/Linux.md) | ||
- [Display](Linux/Display/Display.md) | ||
- [LinuxFamily](Linux/LinuxFamily/LinuxFamily.md) | ||
- [UserManagement](Linux/UserManagement.md) | ||
- [InputMethod](Linux/InputMethod.md) | ||
- [PrintingDrivers](Linux/PrintingDrivers.md) | ||
- [PythonLibs](PythonLibs/PythonLibs.md) | ||
- [ArgParse](PythonLibs/ArgParse.md) | ||
- [Network](Network/Network.md) | ||
- [Tailscale](Network/Tailscale.md) | ||
- [Cxxxh](Network/Clash.md) | ||
- Git | ||
- [git](Git/git.md) | ||
- [githttps](Git/githttps.md) | ||
- [git-branch](Git/git-branch.md) | ||
- [GitHub](Git/Github.md) | ||
- [Papers](Papers/Papers.md) | ||
- [Attention Is Turing Complete](Papers/AttentionIsTuringComplete.md) | ||
- [Programming](Programming/Programming.md) | ||
- [ConfigExamples](ConfigExamples/ConfigExamples.md) | ||
- [ReadingNotes](ReadingNotes/ReadingNotes.md) | ||
- [青年在选择职业时的考虑-马克思](ReadingNotes/青年在选择职业时的考虑-马克思-1835.md) | ||
- [研究与学风-张申府-1948](ReadingNotes/研究与学风-张申府-1948.md) | ||
- [论青年修养-张申府-1946](ReadingNotes/论青年修养-张申府-1946.md) | ||
- [论青年的修养-张闻天-1938](ReadingNotes/论青年的修养-张闻天-1938.md) | ||
- [计算之魂](ReadingNotes/计算之魂-吴军/index.md) | ||
- [Mao](ReadingNotes/语录-毛泽东.md) |
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,8 +1,34 @@ | ||
{ | ||
"plugins": ["-search", "katex-pp", "code"], | ||
"description": "This is such a great book!", | ||
"language": "cn", | ||
"structure": { | ||
"readme": "Introduction.md" | ||
}, | ||
"plugins": [ | ||
"include-codeblock", | ||
"-lunr", | ||
"-search", | ||
"search-pro", | ||
"expandable-chapters", | ||
"code", | ||
"chapter-fold", | ||
"splitter", | ||
"github", | ||
"-highlight", | ||
"prism", | ||
"prism-themes", | ||
"theme-comscore", | ||
"katex-pp" | ||
], | ||
"pluginsConfig": { | ||
"github": { | ||
"url": "https://github.com/houhuawei23/Notes" | ||
}, | ||
"prism": { | ||
"lang": { | ||
"shell": "bash" | ||
}, | ||
"css": ["prism-themes/themes/prism-synthwave84.css"] | ||
} | ||
} | ||
} |