Skip to content

barsikus007/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

570 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

config

My opinion on random things, mostly comparisons between flaming objects

Cross-platform

nix code to fill:

mkdir -p ~/.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)

usage

# TODO https://moonrepo.dev/docs/proto/commands/completions
proto install go
# then clean ~/.bashrc
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 --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

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.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 -ac
hatch version micro
hatch build
hatch publish
tag based
hatch test -ac
hatch version micro
git commit -am "release: $(hatch version)"
git tag -a $(hatch version) -m
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
        • Send large photos
        • Enable webview inspecting
    • AyuGram > General
      • Show Message Seconds
  • CH340/CH341 driver (chinese Arduino)

TODO

  • meta
    • check all *.md and *.nix code sections with shellcheck
    • clone single dir
      • git clone --no-checkout --depth=1 --filter=tree:0 https://github.com/barsikus007/config && cd config && git sparse-checkout set --no-cone /nix && git checkout
    • nuke media from git history
      • save refs somehow
        • new branch

archive

About

Totally not dotfiles

Resources

Stars

Watchers

Forks

Contributors