Conversation

@elly today’s style is more mpv BIRDBRAIN* but I respect all BGMs used for hyperfocus coding

0
0
0

@elly what’s mpa, is it alias mpa='mpv --no-video'?

2
0
0

@jn @elly oh i didn’t even notice that, i wanted to make that a thing for myself

(purpose: to keep mpv from cluttering my list of played songs that i will definitely parse into some fun listening statistics when i get enough time)

1
0
1

@domi @jn yep, alias mpa='mpv --no-audio-display'

1
0
1

@elly @jn oh that’s just alias mpv for me. you can alias with the same name, and this switch doesn’t disable video playback

2
0
1

@domi @elly different problem domain, but i use a self-alias to make gdb not suck: alias gdb='gdb -q'

1
0
1

@jn @domi oh, I have plenty of interesting aliases:

alias ll='ls -alh'
alias ip='ip -c'
alias scp='noglob scp'
alias mpa='mpv --no-audio-display'
alias amake="CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 make"
alias fucking-lg-on="ddccontrol -r 0xd6 -w 1 dev:/dev/i2c-5"
alias fucking-lg-off="ddccontrol -r 0xd6 -w 4 dev:/dev/i2c-5"
2
0
2

@domi @elly @jn why not put it into ~/.config/mpv/mpv.conf?

1
0
0
part of my .bashrc, bad for screenreaders
Show content

@elly @jn knock yourself out

alias startx='exec startx'
alias shitssh='ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss,ssh-rsa -oCiphers=+aes256-cbc,3des-cbc -oPubkeyAcceptedKeyTypes=+ssh-rsa'
alias poweroff='killall -9 ssh; doas poweroff'
alias reboot='killall -9 ssh; doas reboot'
alias d=cd
alias l=ls
alias gwping='ping "$(ip r | grep default | cut -d" " -f3 | head -n1)"'
alias gadb='adb connect "$(ip r | grep default | cut -d" " -f3 | head -n1)"'
alias yt-dlp="yt-dlp --cookies-from-browser firefox --no-check-certificates -f 'bestvideo[height=720][vcodec^=vp9]+bestaudio[acodec^=opus]/bestvideo[height<=?720][vcodec^=avc1]+bestaudio/bestvideo+bestaudio/best' --extractor-args 'youtube:player_js_version=actual'"
alias mpv='mpv --no-audio-display'
alias mpa='mpv --no-audio-display --no-video'
alias radeontop='radeontop -c -T'
alias datest="date '+%Y-%m-%d'"
# alias df='df -h -x squashfs -x tmpfs -x devtmpfs -x overlay -x revokefs-fuse'
alias ioindirect="doas iodine -P $_iodine_pass -f -r 185.236.240.145 x.sdomi.pl"
alias iodirect="doas iodine -P $_iodine_pass -f x.sdomi.pl"
alias iovodafone="doas iodine -P $_iodine_pass -r -T NULL -m 1114 -f x.sdomi.pl"
alias gs='git status'
alias ga='git add'
alias gap='git add -p'
alias gc='git commit'
alias gl='git log'
alias gp='git push'
alias gpl='git pull'
alias g='git'
	alias ectool='doas ectool --interface=dev'
	alias gdb="arm-none-eabi-gdb -ex 'target remote 10.2:4003'"
alias modem_recv='minimodem -r 300 -8 --tx-carrier -M 2225 -S 2025'
alias modem_send='minimodem -t 300 -8 --tx-carrier -M 1270 -S 1070'

apparently i also have mpa, i forgor

1
0
2

@noisytoot @elly @jn this works, i’m happy

0
0
0
@jn @elly my brain just replaced mpa with that command lmao
0
0
2
re: part of my .bashrc, bad for screenreaders
Show content

@domi @elly @jn oh we sharing aliases now?

I dont have many because i use carapace, nushell and zoxide which together provide alot of autocompletion

# Nix home-manager
let
  shellAliases = {
    "c" = "clear";
    "db" = "distrobox";
    "grep" = "grep --color=auto";
    "py" = "python";
    "q" = "exit";
    "untar" = "tar -xavf";
    "v" = "nvim";
    "sgfx0" = "supergfxctl -m Integrated";
    "sgfx1" = "supergfxctl -m Hybrid";
    "sgfx" = "supergfxctl -S";
  };
in
{
  programs = {
    carapace.enable = true;
    zoxide.enable = true;
    starship = {
      enable = true;
      settings = {
        scan_timeout = 2000;
        command_timeout = 2000;
        character = {
          success_symbol = "[>](bold green)";
          error_symbol = "[>](bold red)";
        };
      };
    };
    bash = {
      inherit shellAliases;
      enable = true;
    };
    nushell = {
      inherit shellAliases;
      enable = true;
      # ....
    };
  };
}
0
0
1
@elly generate excel formulas
0
0
0