TheDarkQuark

joined 2 years ago
[–] [email protected] 19 points 1 month ago

Just use SSH keys.

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

And use SSH urls (git@....) instead of HTTPS urls (https://...) when cloning.

[–] [email protected] 1 points 5 months ago

I won't have any of them as my sibling!

[–] [email protected] 81 points 6 months ago (2 children)
[–] [email protected] 5 points 6 months ago (1 children)

Explaining like you are 5:

If you have worked with programming languages, you might have come across global variables and inbuilt functions/keywords. PATH is a similar global variable for your terminal session.

Every time you open up a terminal, you load up these "global variables", and you/programs can access them (or the applications assigned to them).

So, let's say you have your application (executable) as /home/werecat/corncob/bin/corn, instead of starting it with ./home/werecat/corncob/bin/corn ..., if you have /home/werecat/corncob/bin in your PATH variable, you can just use it as corn ....

export PATH="/home/werecat/corncob/bin:$PATH"

just means:

  1. PATH = /home/werecat/corncob/bin + PATH
  2. persist (export) path for the duration of this session (usually until you close the terminal tab)

If you see somewhere to add it to your /home/werecat/.bashrc file, it means "all commands in .bashrc file are auto-executed every time you start a new terminal session, so if you have it there, you won't need to manually keep entering the command over and over again".

You can list these environment variables by just running:

env

Also, recommend you have a look at https://www.freecodecamp.org/news/how-to-set-an-environment-variable-in-linux/.

Hope this helps. Good luck on your Linux journey.

[–] [email protected] 63 points 6 months ago

I'm glad that you want to switch to Linux, but I think there'd be open source solutions for Windows too. I daily drive Linux, and I would begin with looking for open source timers if I ever need timers. Why not do the same in Windows too?

Here are a few: https://alternativeto.net/software/free-countdown-timer/?platform=windows&license=opensource

[–] [email protected] 7 points 6 months ago* (last edited 6 months ago) (1 children)

Try launching the program from a terminal, and see if there are any GPU specific log messages. May be also have a look via journalctl.

Also nvtop and nvitop gives you a GPU monitor.

[–] [email protected] 14 points 6 months ago (1 children)
[–] [email protected] 7 points 6 months ago

You can, but I recommend btop. It's much more cooler.

[–] [email protected] 72 points 6 months ago (4 children)
sudo: apt: command not found
[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

For a person with not much familiarity with Linux, and just wants to check things out, I would recommend starting out with a VM. WSL is good, but that is not the "Linux experience". Moreover, if they are not already familiar with the command line, it may be a bit intimidating. The same goes for dual booting. It's more technical, and it's more appealing to just jump back into Windows when things go wrong on Linux. VM approach though, gives you a sandboxed space (with DEs and all) where you can smoothly get familiar and comfortable with Linux before making the final switch. That's my personal opinion for beginners.

[–] [email protected] 127 points 7 months ago (13 children)

That's it, I'm switching to Windows!

[–] [email protected] 1 points 7 months ago (1 children)

I don't use Proton Drive too much, but for my use case, it works great. I sometimes save files in there and share them via urls, and it works great for that use case.

The last time I used Bitwarden, the base plan did not support 2FA which is a must for me. Keepass keeps it local, and supports 2FA too. These days, I use Proton Pass more because I want easier sync across my devices, but I back up everything to Keepass every once in a while.

view more: next ›