u/Lamda-f90

Here is some code examples for new Fortran programmers.
▲ 46 r/fortran

Here is some code examples for new Fortran programmers.

A request for help led me to go through my old Fortran codes. For that reason, I gathered some old programs I found in this repo: https://github.com/foxapiens/Fortran-Starter . And maybe I will continue adding code files and information about their purpose here. At least, it may be useful for beginners.

u/Lamda-f90 — 2 days ago
▲ 2 r/Ubuntu

Installing Obsidian via Snap on Ubuntu 26.04 can occasionally trigger a bug where standard home directories (Desktop, Documents, etc.) are replaced by broken shortcuts or symlinks.

Step 1: Clear the Ghost Shortcuts.

Step 2: Recreate the Directory Structure**:**

mkdir -p ~/Desktop ~/Downloads ~/Templates ~/Public ~/Documents ~/Music ~/Pictures ~/Videos

Step 3: Verify XDG Path Configuration: ~/.config/user-dirs.dirs should look like this;

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

Step 4: Then run this command to update user directories.

xdg-user-dirs-update
reddit.com
u/Lamda-f90 — 8 days ago