User: 

You are given access to make searches on the Internet. The format for making a search is:
1. After the user sends a message, you will decide whether to make a search. If you choose to make a search, you will output a single message, starting with the word <web_search>, followed by ONLY your web search query. After your search query, you must output the token </web_search> to denote the end of the search query. Keep your search query concise.
2. The system will then append the web search results at the end of the user message, starting with the token <web_search_results>. Take note that the user CANNOT SEE the content after <web_search_results> - YOU should use these results appropriately to improve your response. Additionally, If the web search results are already present in the user's message, then you MUST NOT request another web search.

IMPORTANT! You should choose to search the web ONLY if ANY of the following circumstances are met:
1. User is asking about current events or something that requires real-time information (news, sports scores, 'latest' information, etc.)
2. User is asking about some term you are unfamiliar with (e.g. if it's a little-known term, if it's a person you don't know well, etc.)
3. User is asking about anything that involves numerical facts (e.g. distances between places, population count, sizes, date and time, etc.)
4. User explicitly asks you to search or provide links to references.
If the user's query does NOT require a web search, YOU MUST NEVER run one for no reason. However, you must not refuse to search the web if the user asks you to do so.
If you are highly unsure about whether to make a search (e.g. if the user's query is vague or if you think you are unfamiliar with the query to a certain extent), you may directly ask the user for clarification.

When using web search results, you are encouraged to cite references where appropriate, using inline links in standard markdown format.
You are also allowed to make use of web search results from previous messages, if they are STRONGLY RELEVANT to the current message.

When you are not running a web search, respond completely as per normal - there is NO NEED to mention that you're not searching. 
Remember that you MUST NOT make up any false information.
Assistant: Understood. I will strictly follow these instructions in this conversation.
User: красиво отформатируй код, добавь пункты и заголовки

/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
/System/Library/Extensions/IOStorageFamily.kext/Contents/Resources
/System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/Resources

/System/Library/PreferencePanes
~/Library/PreferencePanes

assetutil -I "/System/Applications/Utilities/Boot Camp Assistant.app/Contents/Resources/Assets.car"

iconutil "/System/Applications/Utilities/Boot Camp Assistant.app/Contents/Resources/Assets.car" AppIcon -c icns -o "/Users/twondma/Downloads/Boot Camp Assistant.icns"

https://formulae.brew.sh/formula/powerlevel10k
https://formulae.brew.sh/formula/zsh-autosuggestions
https://formulae.brew.sh/formula/zsh-syntax-highlighting
https://formulae.brew.sh/formula/fzf
https://formulae.brew.sh/formula/bat
https://formulae.brew.sh/formula/lsd

https://formulae.brew.sh/formula/gifski
https://formulae.brew.sh/formula/jq

https://formulae.brew.sh/formula/shellcheck
https://formulae.brew.sh/formula/shfmt

https://formulae.brew.sh/formula/jenv

https://formulae.brew.sh/formula/grip

https://formulae.brew.sh/formula/rust
cargo install tex-fmt

security add-generic-password -Ua $USER -s TSTRUCT_TOKEN -w "tstruct_eyJ2ZXJzaW9uIjoxLCJkYXRhIjp7InVzZXJJRCI6MTg4MTYyODM5MiwidXNlckVtYWlsIjoicGF3YXppbkBpbmJveC5ydSIsInRlYW1JRCI6MTExODk5MDIxNCwidGVhbU5hbWUiOiJwYXdhemluQGluYm94LnJ1J3MgdGVhbSIsInJlbmV3YWxEYXRlIjoiMjAyNC0wNS0yN1QxOToyNTowMy43MzU5MjA3MloiLCJjcmVhdGVkQXQiOiIyMDI0LTA1LTIwVDE5OjI1OjAzLjczNTkyMjEwNloifSwic2lnbmF0dXJlIjoiZ0xvajE4YS9jUEJ1b0x0Nm0wYmZJeEthNU5zSUcxbkxNRzN4dzJCbXhRS2VPRkVLSGpRNGNrdEl3a2ZTTERFQTZ0bDJWTDdYSTFCY3lZb3hpbTVQQWc9PSJ9"

security delete-generic-password -a $USER -s TSTRUCT_TOKEN

https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-github-copilot-in-the-cli

app_id="$(mdls -rn kMDItemCFBundleIdentifier "<APP_PATH>")" (osascript -e 'id of app "<APP_NAME>"')
defaults write "$app_id" AppleAccentColor -int <VALUE>
kitty, Visual Studio Code, iTerm, Postman, OrbStack, Navicat Premium, IntelliJ IDEA Ultimate (osascript), Rider (osascript), Wireshark, Cursor, Windsurf
| Value | Preference |
|-------|------------|
| nil   | Multicolor |
| -1    | Graphite   |
| 0     | Red        |
| 1     | Orange     |
| 2     | Yellow     |
| 3     | Green      |
| 4     | Blue       |
| 5     | Purple     |
| 6     | Pink       |

^(?!#)(?!\s*$).+

gh browse
kitten themes

pgcli -d iot_transit -h localhost -p 5432 -U pguser
litecli "$HOME/Desktop/state.vscdb"

sqlite "$HOME/Library/Application Support/Code/User/globalStorage/state.vscdb" "SELECT value FROM ItemTable WHERE key = 'stneveadomi.grepc';" > "$HOME/Desktop/grepc.json"

ffmpeg -i input.mkv -vf "scale=1920:1080,format=nv12,colorspace=bt709:iall=bt2020" -c:v h264_videotoolbox -b:v 5731k -c:a copy -c:s copy output.mkv

https://winget.run/pkg/SomePythonThings/WingetUIStore
https://winget.run/pkg/Git/MinGit

https://npmjs.com/package/prettier-plugin-css-order
davidcahill.auto-select-pasted-text

Запуск в обход alias
command eslint

jenv add /usr/local/opt/openjdk@8
jenv add /usr/local/opt/openjdk@11
jenv add /usr/local/opt/openjdk@17
jenv add /usr/local/opt/openjdk@21
jenv add /usr/local/opt/openjdk@22

jenv exec mvn clean package

nvm install lts/* --reinstall-packages-from=20.16.0
nvm uninstall 20.16.0

nvm install stable
nvm uninstall 22.5.1
Assistant: # Системные Пути и Ресурсы

## Основные директории

```plaintext
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources
/System/Library/Extensions/IOStorageFamily.kext/Contents/Resources
/System/Library/Extensions/IOSCSIArchitectureModelFamily.kext/Contents/Resources
/System/Library/PreferencePanes
~/Library/PreferencePanes
```

## Команды для работы с иконками

```bash
assetutil -I "/System/Applications/Utilities/Boot Camp Assistant.app/Contents/Resources/Assets.car"
iconutil "/System/Applications/Utilities/Boot Camp Assistant.app/Contents/Resources/Assets.car" AppIcon -c icns -o "/Users/twondma/Downloads/Boot Camp Assistant.icns"
```

# Установка пакетов Homebrew

## Обязательно для установки

```plaintext
https://formulae.brew.sh/formula/powerlevel10k
https://formulae.brew.sh/formula/zsh-autosuggestions
https://formulae.brew.sh/formula/zsh-syntax-highlighting
https://formulae.brew.sh/formula/fzf
https://formulae.brew.sh/formula/bat
https://formulae.brew.sh/formula/lsd
```

## Дополнительные утилиты

```plaintext
https://formulae.brew.sh/formula/gifski
https://formulae.brew.sh/formula/jq
https://formulae.brew.sh/formula/shellcheck
https://formulae.brew.sh/formula/shfmt
https://formulae.brew.sh/formula/jenv
https://formulae.brew.sh/formula/grip
https://formulae.brew.sh/formula/rust
```

Команда для установки Rust:

```bash
cargo install tex-fmt
```

# Управление хранилищем паролей

## Добавление пароля

```bash
security add-generic-password -Ua $USER -s TSTRUCT_TOKEN -w "tstruct_eyJ2ZXJzaW9uIjoxLCJkYXRhIjp7InVzZXJJRCI6MTg4MTYyODM5MiwidXNlckVtYWlsIjoicGF3YXppbkBpbmJveC5ydSIsInRlYW1JRCI6MTExODk5MDIxNCwidGVhbU5hbWUiOiJwYXdhemluQGluYm94LnJ1J3MgdGVhbSIsInJlbmV3YWxEYXRlIjoiMjAyNC0wNS0yN1QxOToyNTowMy43MzU5MjA3MloiLCJjcmVhdGVkQXQiOiIyMDI0LTA1LTIwVDE5OjI1OjAzLjczNTkyMjEwNloifSwic2lnbmF0dXJlIjoiZ0xvajE4YS9jUEJ1b0x0Nm0wYmZJeEthNU5zSUcxbkxNRzN4dzJCbXhRS2VPRkVLSGpRNGNrdEl3a2ZTTERFQTZ0bDJWTDdYSTFCY3lZb3hpbTVQQWc9PSJ9"
```

## Удаление пароля

```bash
security delete-generic-password -a $USER -s TSTRUCT_TOKEN
```

# Установка GitHub Copilot

Пошаговая инструкция:

[Установка GitHub Copilot в CLI](https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-github-copilot-in-the-cli)

# Управление настройками приложений

## Получение идентификатора приложения

```bash
app_id="$(mdls -rn kMDItemCFBundleIdentifier "<APP_PATH>")" (osascript -e 'id of app "<APP_NAME>"')
```

## Изменение цвета акцента

```bash
defaults write "$app_id" AppleAccentColor -int <VALUE>
```

## Приложения

- kitty
- Visual Studio Code
- iTerm
- Postman
- OrbStack
- Navicat Premium
- IntelliJ IDEA Ultimate
- Rider
- Wireshark
- Cursor
- Windsurf

## Значения и предпочтения

| Значение | Предпочтение   |
|----------|----------------|
| nil      | Многоцветный   |
| -1       | Графит         |
| 0        | Красный        |
| 1        | Оранжевый      |
| 2        | Желтый         |
| 3        | Зеленый        |
| 4        | Синий          |
| 5        | Фиолетовый     |
| 6        | Розовый        |

# Команды для работы с базами данных

```bash
gh browse
kitten themes
pgcli -d iot_transit -h localhost -p 5432 -U pguser
litecli "$HOME/Desktop/state.vscdb"
sqlite "$HOME/Library/Application Support/Code/User/globalStorage/state.vscdb" "SELECT value FROM ItemTable WHERE key = 'stneveadomi.grepc';" > "$HOME/Desktop/grepc.json"
```

# Команда для обработки видео

```bash
ffmpeg -i input.mkv -vf "scale=1920:1080,format=nv12,colorspace=bt709:iall=bt2020" -c:v h264_videotoolbox -b:v 5731k -c:a copy -c:s copy output.mkv
```

# Установка через Winget

```plaintext
https://winget.run/pkg/SomePythonThings/WingetUIStore
https://winget.run/pkg/Git/MinGit
```

# Установка плагинов

```plaintext
https://npmjs.com/package/prettier-plugin-css-order
davidcahill.auto-select-pasted-text
```

# Запуск команд в обход alias

```bash
command eslint
```

# Управление версиями Java

## Добавление JDK

```bash
jenv add /usr/local/opt/openjdk@8
jenv add /usr/local/opt/openjdk@11
jenv add /usr/local/opt/openjdk@17
jenv add /usr/local/opt/openjdk@21
jenv add /usr/local/opt/openjdk@22
```

## Выполнение Maven-команды

```bash
jenv exec mvn clean package
```

# Управление версиями Node.js

## Установка и удаление версий

```bash
nvm install lts/* --reinstall-packages-from=20.16.0
nvm uninstall 20.16.0
nvm install stable
nvm uninstall 22.5.1
```
User: удали все, оставь только Управление хранилищем паролей
Assistant: