mirror of
https://github.com/SantaSpeen/santaspeen.ru-blog.git
synced 2026-05-19 08:00:13 +00:00
main docs
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Ansible",
|
||||
"position": 6,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Ansible commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# commands
|
||||
|
||||
Тут частые команды
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Cloud",
|
||||
"position": 8,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Cloud commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# TimeWeb
|
||||
|
||||
Тут частые команды
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# Yandex
|
||||
|
||||
Тут частые команды
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Docker",
|
||||
"position": 4,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Docker commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
```
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Учеба",
|
||||
"position": 20,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Учебные и образовательные материалы"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Список
|
||||
|
||||
Учебные и образовательные материалы
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Helm",
|
||||
"position": 5,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Helm commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -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
@@ -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.
|
||||
Как расширенные закладки в формате документации по категориям
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Kubernetes",
|
||||
"position": 3,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Kubernetes commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# commands
|
||||
|
||||
Тут частые команды
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Misc
|
||||
|
||||
Всяко разное
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Misc",
|
||||
"position": 10,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Misc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Proxmox",
|
||||
"position": 7,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Proxmox commands docs blog"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# commands
|
||||
|
||||
Тут частые команды
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Fast API
|
||||
|
||||
Тут про Fast API
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Python",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "Python docs"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# Linux
|
||||
|
||||
Основная работа в терминале без GUI
|
||||
|
||||
- ctop (Удобный просмотр контейнеров)
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
---
|
||||
|
||||
# MacOS
|
||||
|
||||
Список ПО
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# Windows
|
||||
|
||||
Список ПО которые я использую
|
||||
|
||||
- VSCode
|
||||
- Obsidian
|
||||
- MobaXterm Personal
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"label": "Soft",
|
||||
"position": 1,
|
||||
"link": {
|
||||
"type": "generated-index",
|
||||
"description": "My Software"
|
||||
}
|
||||
}
|
||||
@@ -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,6 +1,6 @@
|
||||
{
|
||||
"label": "Tutorial - Extras",
|
||||
"position": 3,
|
||||
"position": 101,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user