/config

Primary LanguageLua

config

  • alias and function target is bash

Cross-platform

git config --global user.name barsikus007
git config --global user.email barsikus07@gmail.com

git config --global core.editor "code --wait"
git config --global core.autocrlf input
git config --global core.ignoreCase false

git config --global init.defaultBranch master

git config --global push.default current

git config --global pull.rebase true

git config --global merge.autoStash true

git config --global rebase.autoStash true

Upload key

git config --global user.signingKey ~/.ssh/id_ed25519.pub
git config --global commit.gpgSign true
git config --global gpg.format ssh

Usage

# TODO https://moonrepo.dev/docs/proto/commands/completions
proto install go
proto install node lts
proto install pnpm
proto install bun
# TODO proto install rust -- --profile minimal

Install

Linux
curl -fsSL https://moonrepo.dev/install/proto.sh | PROTO_INSTALL_DIR=$XDG_CONFIG_HOME/proto/bin bash -s -- --no-profile
rm -rf ~/.proto/
Windows
$env:PROTO_INSTALL_DIR = "~\.config\proto\bin"
# irm https://moonrepo.dev/install/proto.ps1 | iex
& ([scriptblock]::Create((irm https://moonrepo.dev/install/proto.ps1))) --no-profile
Remove-Item -Recurse ~\.proto\
# TODO add proto to scoop

Python

python3 -m pip install --upgrade pip setuptools wheel

uv

uv python install
# uv python install 3.10 3.11 3.12

TODO - python available globally

# linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# windows
scoop install uv
# powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

uv tool --version  # 0.4.17
uv tool install ruff
uv tool install hatch
uv tool install --with ipython ptpython
uv tool install anicli-ru
# uv tool install anicli-ru --upgrade-package anicli-api
uv tool upgrade --all

hatch

hatch config set dirs.env.virtual .venv
hatch config set template.licenses.headers false
hatch config set terminal.styles.spinner material
release schedule
hatch run test:cov
hatch version micro
hatch build
hatch publish
tag based
hatch run test:cov
hatch version micro
git commit -am "release: $(hatch version)"
git tag -a $(hatch version) -m
git push origin --follow-tags
hatch run true

Docker Desktop Extensions

  • Ddosify
  • Disk usage

Other

  • Telegram > Settings > Advanced > Experimental settings
    • Add "View Profile"
    • Show Peer IDs in Profile
    • Send large photos
    • Enable webview inspecting
  • Discord
    • Vencord
      • Install
        • winget install Discord.Discord
        • git clone https://github.com/philhk/Vencord
        • pnpm i
        • pnpm build
        • pnpm inject
        • Import configs/vencord-settings-backup.json
      • Update
        • cd Vencord
        • git pull
        • pnpm build
        • Refresh client
      • Vesktop
  • PyCharm
    • terminal pwsh.exe -NoLogo
    • File | Settings | Appearance & Behavior | File Colors || Non-Project Files -> Use in editor tabs
  • YtMusic
    • adblocker
    • blur-nav-bar
    • lyrics-genius
    • navigation
    • picture-in-picture
    • precise-volume
    • shortcuts
    • sponsorblock
    • video-toggle

TODO