Skip to content

Instantly share code, notes, and snippets.

View yezil3's full-sized avatar

Yezi Liu yezil3

View GitHub Profile
@yezil3
yezil3 / tmux.conf
Last active April 16, 2024 21:13
My tmux.conf
set-option -g activity-action other
set-option -g assume-paste-time 1
set-option -g base-index 0
set-option -g bell-action any
set-option -g default-command ''
set-option -g default-shell /bin/zsh
set-option -g default-size 80x24
set-option -g destroy-unattached off
set-option -g detach-on-destroy on
set-option -g display-panes-active-colour red
@yezil3
yezil3 / .gitirnore
Last active April 13, 2024 10:41
.gitignore file
data/*
checkpoints/*
log/*
wandb/*
res/*
checkpoints/*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
@yezil3
yezil3 / Latex-Related-Issues.md
Created April 8, 2024 10:55
Latex-Related-Issues
@yezil3
yezil3 / my-color-palette.md
Last active April 8, 2024 11:11
my-color-palette

my-color-palette

Personally selected/collected color palettes for academic papers. Generate your own colorblind-friendly palette: https://color.adobe.com/create/color-accessibility

The rationale for my choice:

Clear, ensuring a high degree of saturability that facilitates readability in a paper.

Vivid without veering into excessive colorfulness, thus maintaining the paper's sense of rigor and professionalism.

@yezil3
yezil3 / vscode-issues.md
Last active April 23, 2024 20:12
vscode-issues

Two active conda environments in VScode, one (base):

conda config --set auto_activate_base False

Add a user to sudo group to avoid using sodu for docker everytime:

sudo gpasswd -a $USER docker

Enable docker permission on different shells by swtiching to the shell and:

sudo chmod 666 /var/run/docker.sock

@yezil3
yezil3 / docker_instruction.md
Last active April 13, 2024 04:46
conda-enabled docker: building, publishing and using

Build a conda-enabled container:

add user account to the sudo group to avoid using sudo:

sudo gpasswd -a $USER docker

newgrp docker

sudo setfacl -m user:$user:rw /var/run/docker.sock

pull an anaconda image:

docker pull continuumio/anaconda3