Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CH
cherrycode @lemmy.ml
Posts 6
Comments 6

Too many Github repositories bad?

I'm still in my learning phase and I make many small projects as I learn. Is putting all of them on Github a good idea, if I want to put it on my resume in the future, or would having too many repositories on Github a bad thing?

12

<C-CR> not working under tmux

I use neovim in tmux for development and have set up <C-CR> as a keymap for cmp completion. It was working well until just a while ago and I don't know what happened.

<C-CR> seems to register as a simple <CR> when I'm under tmux and so doesn't cmp complete in neovim. It's not a problem with cmp as <C-y> is also bound to that and it does work. It also isn't a problem with neovim or the terminal emulator itself, as I tried this on foot, alacritty, kitty and gnome-terminal. In all cases, <C-CR> works when not in tmux, but when tmux it doesn't work. It was working fine just yesterday, and I don't know why it isn't now or how to fix it.

Has anyone had this kind of issue or knows how to fix it?

EDIT: Found a fix, though I don't know why it was working earlier and stopped working suddenly https://github.com/tmux/tmux/wiki/Modifier-Keys#extended-keys In tmux.conf, add set -s extended-keys on set -as terminal-features 'xterm*:extkeys'

2
Need to know about npm
  • I don't really understand a lot of things in the repo
    I'll have a look at it sometime later thanks

    For now I have made a container image with node installed in it after following some guides
    I enter the project directory and then run this
    podman run -it --rm -p 8080:8080 -v $(pwd):/app/$(basename "$PWD"):z my-node-image:latest

  • Need to know about npm

    I'm following the odin project to learn web development. I had read about malicious packages in npm multiple times, so I avoided it until now. I'm on the webpack lesson now, and to use webpack, I need to install it using npm. I also see that it has many dependencies, and those dependencies will have other depenedencies and so on.

    Why is it like this? Is there any other tool like webpack that doesn't require npm? Or rather, can someone clarify how to properly use npm or link a guide that explains it? I have this kind of fear and reluctance about using npm after all the things I read.

    11

    Looking to get into android development

    I want to start learning android dev and I understand that I’ll need the android sdk and cli tools. I want to try it in a kvm because even though it is open source, I would like to keep it separate from my main system. Which distro and vm settings do you suggest I use? Any other tips or your experience with android development on linux would be helpful as well.

    1

    Looking to get into android development

    I want to start learning android dev and I understand that I'll need the android sdk and cli tools. I want to try it in a kvm because even though it is open source, I would like to keep it separate from my main system. Which distro and vm settings do you suggest I use? Any other tips or your experience with android development on linux would be helpful as well.

    13

    Email address for resume

    I am privacy conscious so I would like to use my proton.me account, but I wanted some advice. Should I use my gmail account for career related purposes or should a proton.me address be fine?

    29