Skip to content

Repository files navigation

config

one repo to rule them all!

my opinion on random things, mostly comparisons between flaming objects

cross-platform

nix code to fill:

mkdir --parents ~/.config/git/
nix eval --impure --raw --expr '
  with import <nixpkgs> {};
  lib.generators.toGitINI
    ((builtins.getFlake "github:barsikus007/config?dir=nix")
      .nixosConfigurations.ROG14.config.home-manager.users.ogurez.programs.git.iniContent)
' > ~/.config/git/config
  1. upload key
  2. configure git (code above fills values)

python

python3 -m pip install --upgrade pip setuptools wheel

uv

uv python install
uv python install --preview
# uv python install 3.10 3.11 3.12 3.13t pypy
# uv python install --preview 3.10 3.11 3.12 3.13t pypy3.11
# linux
curl --location --silent --show-error --fail 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.6.14
# uv tool install isd
# uv tool install ruff
# uv tool install hatch
# uv tool install pgcli
# uv tool install litecli
# 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
# TODO or use uv for python projects
# https://hatch.pypa.io/latest/how-to/environment/select-installer/#enabling-uv
release schedule
hatch test --all --cover
hatch version micro
hatch build
hatch publish
tag based
hatch test --all --cover
hatch version micro
git commit -am "release: $(hatch version)"
git tag --annotate $(hatch version) --message
git push origin --follow-tags
hatch run true

other

  • Telegram > Settings
    • Notifications and Sound
      • Calls > Accept calls on this device
      • Badge counter > !1,!3
    • Advanced
      • Automatic media download > * > !Files
      • Window title bar > Use * window frame
      • Spell checker >
      • Experimental settings
        • Add "View Profile"
        • Show Peer IDs in Profile
        • Show Channel Joined Date in Profile
        • Enable webview inspecting
        • Unlimited recent stickers
    • AyuGram > General
      • Show Message Seconds
  • CH340/CH341 driver (chinese Arduino)

About

My infra-as-code. Totally not dotfiles.

Resources

Stars

20 stars

Watchers

1 watching

Forks

Contributors

Languages