This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- a/zshrc 2024-06-17 19:14:58.205443310 +0200 | |
| +++ b/zshrc 2024-06-17 19:14:55.962092937 +0200 | |
| @@ -2,7 +2,7 @@ | |
| # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH | |
| # Path to your Oh My Zsh installation. | |
| -export ZSH="$HOME/.oh-my-zsh" | |
| +ZSH=/usr/share/oh-my-zsh/ | |
| # Set name of the theme to load --- if set to "random", it will |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env just --justfile | |
| HOST := `hostname -s` | |
| DIR := justfile_directory() / "dir" | |
| python := if os() == "linux" { | |
| "echo 'running on linux' && python3" | |
| } else if os() == "macos" { | |
| "echo 'running on macos' && python3" | |
| } else { "echo unable to do it; " } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O install_omz.sh | |
| sh install_omz.sh | |
| mv /root/.oh-my-zsh /usr/share/oh-my-zsh | |
| cd /usr/share/oh-my-zsh/ | |
| cp templates/zshrc.zsh-template zshrc | |
| wget https://aur.archlinux.org/cgit/aur.git/plain/0001-zshrc.patch\?h\=oh-my-zsh-git -O zshrc.patch && patch -p1 < zshrc.patch | |
| sudo ln /usr/share/oh-my-zsh/zshrc /etc/skel/.zshrc | |
| cp /usr/share/oh-my-zsh/zshrc /root/.zshrc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """ | |
| Скрипт для скачивания музыки с сайта vk.com | |
| Запуск: | |
| python vk_dwn.py | |
| Принцип работы: | |
| Скрипт проверяет сохраненный access_token. Если его нет, | |
| то происходит запрос данных и авторизация. | |
| Далее будут скачиваться все ваши аудиозаписи. Если аудиозапись уже есть на | |
| диске - то скачивания не происходит. |