main docs

This commit is contained in:
Artur Akmalov
2023-05-21 18:42:04 +05:00
parent bce85fd52d
commit 2fd3066f69
26 changed files with 231 additions and 43 deletions
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Ansible",
"position": 6,
"link": {
"type": "generated-index",
"description": "Ansible commands docs blog"
}
}
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# commands
Тут частые команды
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Cloud",
"position": 8,
"link": {
"type": "generated-index",
"description": "Cloud commands docs blog"
}
}
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# TimeWeb
Тут частые команды
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 3
---
# Yandex
Тут частые команды
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Docker",
"position": 4,
"link": {
"type": "generated-index",
"description": "Docker commands docs blog"
}
}
+43
View File
@@ -0,0 +1,43 @@
---
sidebar_position: 2
---
# commands
Тут частые команды
Docker run exec or have entry point use: --entry-point=/bin/bash
```
docker run --rm -it image-name sh
```
Build args
```
docker build . -t myimage --build-arg ARTIFACTORY_USER=$ARTIFACTORY_USER --build-arg ARTIFACTORY_PASSWORD=$ARTIFACTORY_PASSWORD
```
Docker run rm exec
```
docker run --rm -it tg_webhook_exporter bash
```
Docker overlay who use (need install jq)
```
docker inspect $(docker ps -qa) | jq -r 'map([.Name, .GraphDriver.Data.MergedDir]) | .[] | "\(.[0])\t\(.[1])"'
```
Docker image size
```
docker ps --format '{{.Names}}\n{{.Image}}:{{.Size}}\n' -s
```
Docker cp
```
docker cp <containerId>:/file/path/within/container /host/path/target
```
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Учеба",
"position": 20,
"link": {
"type": "generated-index",
"description": "Учебные и образовательные материалы"
}
}
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# Список
Учебные и образовательные материалы
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Helm",
"position": 5,
"link": {
"type": "generated-index",
"description": "Helm commands docs blog"
}
}
+20
View File
@@ -0,0 +1,20 @@
---
sidebar_position: 2
---
# Rollback
История версий (список)
```
helm history podname -n default
```
Откат на выбранную ревизию
```
helm rollback <release> <revision> -n <namespace>
```
```
helm rollback podname -n default
```
+3 -41
View File
@@ -2,46 +2,8 @@
sidebar_position: 1
---
# Tutorial Intro
# Мои заметки
Let's discover **Docusaurus in less than 5 minutes**.
Здесь будут самые часто используемые команды и некоторые напоминалки по разным темам
## Getting Started
Get started by **creating a new site**.
Or **try Docusaurus immediately** with **[docusaurus.new](https://docusaurus.new)**.
### What you'll need
- [Node.js](https://nodejs.org/en/download/) version 16.14 or above:
- When installing Node.js, you are recommended to check all checkboxes related to dependencies.
## Generate a new site
Generate a new Docusaurus site using the **classic template**.
The classic template will automatically be added to your project after you run the command:
```bash
npm init docusaurus@latest my-website classic
```
You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.
The command also installs all necessary dependencies you need to run Docusaurus.
## Start your site
Run the development server:
```bash
cd my-website
npm run start
```
The `cd` command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.
The `npm run start` command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
Open `docs/intro.md` (this page) and edit some lines: the site **reloads automatically** and displays your changes.
Как расширенные закладки в формате документации по категориям
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Kubernetes",
"position": 3,
"link": {
"type": "generated-index",
"description": "Kubernetes commands docs blog"
}
}
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# commands
Тут частые команды
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# Misc
Всяко разное
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Misc",
"position": 10,
"link": {
"type": "generated-index",
"description": "Misc"
}
}
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Proxmox",
"position": 7,
"link": {
"type": "generated-index",
"description": "Proxmox commands docs blog"
}
}
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# commands
Тут частые команды
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 2
---
# Fast API
Тут про Fast API
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Python",
"position": 2,
"link": {
"type": "generated-index",
"description": "Python docs"
}
}
+9
View File
@@ -0,0 +1,9 @@
---
sidebar_position: 2
---
# Linux
Основная работа в терминале без GUI
- ctop (Удобный просмотр контейнеров)
+7
View File
@@ -0,0 +1,7 @@
---
sidebar_position: 3
---
# MacOS
Список ПО
+11
View File
@@ -0,0 +1,11 @@
---
sidebar_position: 1
---
# Windows
Список ПО которые я использую
- VSCode
- Obsidian
- MobaXterm Personal
+8
View File
@@ -0,0 +1,8 @@
{
"label": "Soft",
"position": 1,
"link": {
"type": "generated-index",
"description": "My Software"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"label": "Tutorial - Basics",
"position": 2,
"position": 100,
"link": {
"type": "generated-index",
"description": "5 minutes to learn the most important Docusaurus concepts."
+1 -1
View File
@@ -1,6 +1,6 @@
{
"label": "Tutorial - Extras",
"position": 3,
"position": 101,
"link": {
"type": "generated-index"
}