infoflowchart LR
A e1@--> Binfoflowchart LR
A e1@--> B| screen mode id:i:2 | |
| use multimon:i:0 | |
| username:s:prerak | |
| desktopwidth:i:1280 | |
| desktopheight:i:1024 | |
| session bpp:i:32 | |
| winposstr:s:0,1,2,2,1512,896 | |
| compression:i:1 | |
| keyboardhook:i:2 | |
| audiocapturemode:i:0 |
| import os | |
| import subprocess | |
| import sys | |
| import site | |
| import shutil | |
| from pathlib import Path | |
| # Find the Magika models directory | |
| def find_magika_models(): | |
| try: |
| # >>> conda initialize >>> | |
| CONDA_BASE_PATH="/<path>/to/anaconda3}" # make sure to include ananconda3 or miniconda3 in this path | |
| __conda_setup="$("${CONDA_BASE_PATH}/bin/conda" 'shell.bash' 'hook' 2> /dev/null)" | |
| if [ $? -eq 0 ]; then | |
| eval "$__conda_setup" | |
| else | |
| if [ -f "${CONDA_BASE_PATH}/etc/profile.d/conda.sh" ]; then | |
| . "${CONDA_BASE_PATH}/etc/profile.d/conda.sh" | |
| else |
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Python: cupdate", | |
| "type": "debugpy", | |
| "request": "launch", | |
| "python": "C:\\Users\\Prerak\\AppData\\Local\\miniconda3\\python.exe", | |
| "program": "C:\\Users\\Prerak\\Documents\\file.py", | |
| "args": [ |
C:\Users\<username>\AppData\Local\slicer.org\Slicer.x.y
slicer.org\Slicer-ABCDE (a configuration file)[Extensions]
LastServerAPI=Girder_v1
ManagerEnabled=true
ServerUrl=https://slicer-packages.kitware.com
FrontendServerUrl=https://extensions.slicer.org
InstallPath=slicer.org/Extensions-33241
systemctl {status, start, stop, restart} docker.servicedocker system prune -asudo vim /etc/default/dockerifconfig | grep docker0 (docker0 is Docker's bridge network)sudo systemctl list-units --type=service| #!/bin/bash | |
| #SBATCH --job-name=<script-name> | |
| #SBATCH --partition=highmemgpu | |
| #SBATCH --gres=gpu:1 | |
| #SBATCH --nodelist=res-hpc-gpu08 | |
| #SBATCH --ntasks=1 | |
| #SBATCH --cpus-per-task=11 | |
| #SBATCH --mem-per-cpu=8G | |
| #SBATCH --time=14-20:00:00 | |
| #SBATCH --mail-type=end |