OyaCode

OyaCode

Talk is cheap, show me the code.

About useState() and useRef() in React

We have both useState() and useRef() in React for data hook in our component, but which one shoul...

Basic usage of "git archive"

Sometimes we need to pack up our project as a compressed file such as an ZIP file. In the same ti...

FastAPI Response Model

Why using Response Model There are several reasons that we should use Response Model patterns pro...

Params in FastAPI

There are severl forms of parameter in FastAPI such as Path, Query and so on, we are going to int...

Algorithm Design 1 - Non-descending Sequence Indexing

Question Description Non-descending Sequence A string is called non-descending sequence (NDS) if ...