OliMoli2137

joined 2 weeks ago
[–] OliMoli2137@piefed.social 2 points 14 hours ago (2 children)

ok but can you add that in vanilla git or do you need something like forgejo?

7
submitted 1 day ago* (last edited 1 day ago) by OliMoli2137@piefed.social to c/linuxquestions@lemmy.zip
 

So I've got a RasPi 3B+ and self hosting a bunch of bare Git repos (git init --bare). And I currently store my dots there. BUT I also have a public mirror on Codeberg. For now I just have two remotes set up and do `git push´ individually for each one. And I don't really envision a case where I start developing it on 2 different machines well. I don't know whether those 2 repos are in sync when I'm developing.

Now, is there a more robust way to keep those 2 mirrors in sync?

I was thinking of adding some kind of hook on the Pi, so that I push my changes to the Pi, and then the Pi pushes the same changes to Codeberg. so instead of my current workflow:

home computer -> Pi

home computer -> Codeberg

this happens:
home computer -> Pi -> Codeberg

Is that the right way of doing this?

Please let me know if you have any suggestions!

[–] OliMoli2137@piefed.social 2 points 1 day ago (2 children)

there's DiskUsage on F-Droid

[–] OliMoli2137@piefed.social 3 points 2 days ago* (last edited 2 days ago) (1 children)

thanks for suggestions. but a couple of controversial things:

  • lsd is written in Rust, which I personally have no problem with but there are people that do
  • eza and lsd development appear to have been assisted by AI, which I don't really know a lot about but generally dislike

i have no problems with qdirstat or gdu, so i'll give them a try. i'll maybe try speedcrunch as well

[–] OliMoli2137@piefed.social 18 points 2 days ago* (last edited 2 days ago) (8 children)

Here are some useful programs I use:

console utilities/programs:

  • zoxide: memorizes which directories you cd into, so you can later type shorthands for them

  • procs: modern replacement for the ps command. basically lists your processes

  • neofetch/fastfetch: displays your system info in a fancy way. 99% Linux users use that

  • inxi: displays detailed system info but in a less fancy way. people usually attach the output of inxi -Fxz to a forum post where they need help troubleshooting

  • asciinema: cool program that records your terminal sessions as text files

  • agg: converts asciinema recordings to gif

  • yt-dlp: insanely powerful youtube downloader (remember to only download things you are permitted to!)

  • sl: ragebait when you misspell ls

  • yazi: fancy file manager with image previews! minimal or no configuration required

  • cava: audio visualizer. when you press f it cycles colors!

  • htop/btop: you already mentioned. task managers basically

  • ncdu: interactively shows disk usage per file

GUI apps:

  • qalculate: very powerful calculator (has both qt and gtk frontends)

  • gparted: probably the best gui disk management tool so far

  • localsend: send files locally over wifi direct

  • blueman: gui bluetooth manager

  • freetube: awesome youtube client (NOTE: against youtube terms of use!)

  • baobab: gui disk usage analyzer

  • cheese: photo taking app with funny effects