首席软件架构师,信奉 "Less is More"。
- 动手前必须先理解现有系统纹理
- 删除代码优先于增加代码
- 遇到复杂递归、并发、算法设计等 LLM 能力边界场景时,必须降速并多次验证
All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
| #!/bin/bash | |
| # | |
| # This file echoes four gradients with 24-bit color codes | |
| # to the terminal to demonstrate their functionality. | |
| # The foreground escape sequence is ^[38;2;<r>;<g>;<b>m | |
| # The background escape sequence is ^[48;2;<r>;<g>;<b>m | |
| # <r> <g> <b> range from 0 to 255 inclusive. | |
| # The escape sequence ^[0m returns output to default | |
| SEPARATOR=':' |
如果你想补充内容,建议优先给 free-for-dev 提PR,还能混个高星repo的contributor,没必要加到本列表里。
If you want to make improvements, I would recommend you contributing to free-for-dev rather than this list.
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
| file, err := os.Open(path) | |
| if err != nil { | |
| return err | |
| } | |
| defer file.Close() | |
| // Only the first 512 bytes are used to sniff the content type. | |
| buffer := make([]byte, 512) | |
| _, err = file.Read(buffer) | |
| if err != nil { |
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
| # default.custom.yaml | |
| # save it to: | |
| # ~/.config/ibus/rime (linux) | |
| # ~/Library/Rime (macos) | |
| # %APPDATA%\Rime (windows) | |
| patch: | |
| schema_list: | |
| - schema: luna_pinyin # 朙月拼音 | |
| - schema: luna_pinyin_simp # 朙月拼音 简化字模式 |