> For the complete documentation index, see [llms.txt](https://til.duyet.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.duyet.net/programming.md).

# Programming

- [Rust](https://til.duyet.net/programming/rust.md)
- [cheats.rs](https://til.duyet.net/programming/rust/cheats.rs.md)
- [Imperative vs Declarative](https://til.duyet.net/programming/rust/imperative-vs-declarative.md)
- [Generate Struct from JSON](https://til.duyet.net/programming/rust/generate-struct-from-json.md)
- [Python](https://til.duyet.net/programming/python.md)
- [YAML config file with environment variables](https://til.duyet.net/programming/python/yaml-config-file-with-environment-variables.md)
- [date\_range\_generator](https://til.duyet.net/programming/python/date_range_generator.md)
- [get\_all\_s3\_keys](https://til.duyet.net/programming/python/get_all_s3_keys.md): Get all S3 Keys by Prefix by Boto3
- [Pipenv](https://til.duyet.net/programming/python/pipenv.md)
- [Golang](https://til.duyet.net/programming/golang.md)
- [Functions and Methods in Go?](https://til.duyet.net/programming/golang/functions-and-methods-in-go.md)
- [Convert JSON to Go struct](https://til.duyet.net/programming/golang/convert-json-to-go-struct.md)
- [Javascript / Typescript](https://til.duyet.net/programming/javascript-typescript.md)
- [Intl.ListFormat](https://til.duyet.net/programming/javascript-typescript/intl.listformat.md): Convert arrays to human-readable lists
- [FE / React](https://til.duyet.net/programming/fe-react.md)
- [Beautiful icons, images, ..](https://til.duyet.net/programming/fe-react/beautiful-icons-images-...md)
- [Flexbox](https://til.duyet.net/programming/fe-react/flexbox.md)
- [Create hook to inject JS script](https://til.duyet.net/programming/fe-react/create-hook-to-inject-js-script.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://til.duyet.net/programming.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
