To mount /d/:
sudo mkdir /mnt/d
sudo mount -t drvfs D: /mnt/dTo unmount /d/:
sudo umount /mnt/d
sudo rmdir /mnt/d| # This file should contain site-specific commands to be executed on Julia startup; | |
| # Users may store their own personal commands in `~/.julia/config/startup.jl`. | |
| using Pkg | |
| if isfile("Project.toml") | |
| Pkg.activate(".") | |
| end | |
| using OhMyREPL, Revise |
To mount /d/:
sudo mkdir /mnt/d
sudo mount -t drvfs D: /mnt/dTo unmount /d/:
sudo umount /mnt/d
sudo rmdir /mnt/d| #* Hide popd and pushd stdout by defining new commands. | |
| popdq () { | |
| command popd "$@" > /dev/null | |
| } | |
| pushdq () { | |
| command pushd "$@" > /dev/null | |
| } | |
| #* Change the cwd to the script dir temporarily until the script exits for any reason. | |
| #* (If it exists use BASH_SOURCE, otherwise fall back to $0.) | |
| trap popdq EXIT |
error probably means your file was last edited by an CRLF editor. In VS Code, you can freely choose between CRLF and LF at any time and save the file to convert between the types. Fixes are:
sed -i -e 's/\r$//' file.sh| InlayHints: | |
| Enabled: Yes | |
| ParameterNames: Yes | |
| DeducedTypes: No |
Download and install Mint 21 Xfce.
Enable ssh if you have not:
sudo apt install openssh-server
sudo systemctl enable sshTurn off lightdm:
sudo systemctl disable lightdm