Skip to content

Instantly share code, notes, and snippets.

@j3rmp4d93
j3rmp4d93 / VSCode Remote SSH to Singularity container
Last active June 9, 2025 05:33
Connecting to a Singularity container with VS Code
Follow url below to setup VS Remote-SSH to Singularity container
https://docs.icer.msu.edu/2023-11-03_LabNotebook_VSCode_Singularity/
Kill VS Code Servers:
Originally, you have to do "Remote-SSH: Kill VS Code Server on Host ..." and "Remote-SSH: Kill Local Connection Server For Host..." each time before you connect to the container.
Instead, we can modify RemoteCommand as: systemctl --user stop singularity.scope ; sleep 2 ;systemd-run --user --scope --unit=singularity.scope bash -c "singularity shell /mnt/home/grosscra/tensorflow_latest-gpu-jupyter.sif"
@j3rmp4d93
j3rmp4d93 / private_fork.md
Created March 10, 2025 01:35 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git