# dev

* [Repo](#repo)
* [GraphQL](#graphql)
* [Markdown](#markdown)
  * [Parser](#parser)
  * [Converter](#converter)
* [Markdown + LaTeX](#markdown--latex)
* [reStructuredText](#restructuredtext)
* [OCR](#ocr)
  * [Offline](#offline)
  * [Windows Universal](#windows-universal)
* [Excel](#excel)
  * [Formula](#formula)
  * [CSharp](#csharp)
* [CSharp](#csharp-1)
* [.Net Core](#net-core)
* [InPage Search](#inpage-search)
* [My Notes](#my-notes)

## Repo

| byGrok                | **Monolith**                  | **Monorepo**                           | **Polyrepo** (Multi-repo)    |
| --------------------- | ----------------------------- | -------------------------------------- | ---------------------------- |
| **Definition**        | Single deployable application | Single Git repository                  | Multiple Git repositories    |
| **Code organization** | One codebase, tightly coupled | Multiple projects/packages in one repo | One project/package per repo |

**Quick rule of thumb**

* **Monolith** → simple app, early stage
* **Monorepo** → many related projects that share a lot of code
* **Polyrepo** → independent projects/teams/services

## GraphQL

<http://graphql.org/\\>
a query language and execution engine tied to any backend service.

```
enum Episode { NEWHOPE, EMPIRE, JEDI }

interface Character {
    id: String
    name: String
    friends: [Character]
    appearsIn: [Episode]
}

type Human implements Character {
    id: String
    name: String
    friends: [Character]
    appearsIn: [Episode]
    homePlanet: String
}
```

## Markdown

### Parser

<http://demo.showdownjs.com/\\>
<https://github.com/showdownjs/showdown#browser>

```
var converter = new showdown.Converter();
var md = '- works in the server and in the **browser**';
var html = converter.makeHtml(md);
```

<https://github.com/chjj/marked#browser\\>
<https://github.com/jonschlinkert/remarkable\\>
<https://github.com/evilstreak/markdown-js\\>
<https://github.com/markdown-it/markdown-it\\>
<https://github.com/evilstreak/markdown-js#browser>

### Converter

Text/HTML table: <https://html.ferro.pro/md.html\\>
CSV/WIKI table: <http://jakebathman.github.io/Markdown-Table-Generator/\\>
HTML(non table): <https://domchristie.github.io/to-markdown/>

## Markdown + LaTeX

<https://github.com/pandao/editor.md>

## reStructuredText

* .md -> .rst: <https://pandoc.org/try/>
* table -> .rst: <https://tableconvert.com/restructuredtext-generator>

## OCR

### Offline

<https://github.com/hiroi-sora/Umi-OCR\\>
text on screen: <https://docs.microsoft.com/en-us/windows/powertoys/text-extractor>

### Windows Universal

<https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/OCR\\>
<https://docs.microsoft.com/en-us/uwp/api/Windows.Media.Ocr>

## Excel

### Formula

<https://exceljet.net/sites/default/files/styles/function\\_screen/public/images/formulas/Split%20text%20string%20at%20specific%20character.png?itok=WM1v7nsL>

```
=LEFT(B5,FIND("_",B5)-1)
=RIGHT(B5,LEN(B5)-FIND("_",B5))
```

### CSharp

<https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/interop/how-to-access-office-onterop-objects>

## CSharp

async：<https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/async/>

## .Net Core

<https://github.com/thangchung/awesome-dotnet-core>

## InPage Search

<https://docsearch.algolia.com/docs/DocSearch-v3>

## My Notes

* Jupyter: <http://nbviewer.jupyter.org/github/fzinfz/scripts/tree/master/jupyter/> \[[Source](https://github.com/fzinfz/scripts/tree/master/jupyter)]
* Scripts of Powershell/Python/etc: <https://github.com/fzinfz/scripts>


---

# Agent Instructions: 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:

```
GET https://book.ferro.pro/dev.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
