JXLIU Blog

「离开世界之前 一切都是过程」

Picgo+gitlab+typora

typora

Picgo+gitlab+typora On gentoo OS Install necessary software 1 2 3 sudo emerge --ask net-libs/nodejs sudo npm install -g picgo picgo -v 1 2 3 picgo install gitlab-files picgo use picgo config u...

Word 公式标号右对齐

Word

怎样使 Word 公式标号自动右对齐 在数学公式最后面输入 #(x),光标放着公式环境最后面,回车,标号 (x) 即自动右对齐。

Slurm node unexpectedly rebooted

Slurm

After the Slurm computing node is manually restarted, the management node will set the status of the computing node to DOWN You can use the following command on the Slurm management node to restor...

Roche potential

Binary Stars

Roche potential \[\Phi_R(\vec{r})=-\frac{G M_1 M_{\odot}}{\left|\vec{r}-\vec{r}_1\right|}-\frac{G M_2 M_{\odot}}{\left|\vec{r}-\vec{r}_2\right|}-\frac{1}{2}(\vec{\omega} \times \vec{r})^2\] \[\ve...

Plot stream line using Paraview

txt file

Plot stream line using Paraview Load txt file 不勾选 “Have headers” Field Delimiter Characters 填入 " " Apply 添加 Filter:TableToPoints2 选择相应的 X,Y,Z 轴 这里选择二维数据,勾选上 2D Points Apply 添加 F...

Upgrade nextcloud and install onlyoffice

docker

备份数据 至少备份 /var/www/html/data 和 /var/www/html/config 文件夹,其余文件可不备份 升级 nextcloud 修改 docker-compose.yml 中 nextcloud 版本,然后 docker-compose up,等待升级完成即可。 注意不能跨版本升级,不能 downgrade。 如果不小心跨版本升级,需要从官网 下载升...

Install AUR software

manjaro/arch

Install AUR software Using yay Using git and pacman reference:archlinux wiki 1 2 3 4 5 cd ~/build git clone https://aur.archlinux.org/package_name.git cd package_name makepkg pacman -U package_n...

docker large log file

docker

remove useless file log file 1 2 ls /var/lib/docker/containers/*/*-json.log -lh|awk '{print $9}' echo > *.log unused volumn files 1 docker volume rm $(docker volume ls -qf dangling=true) u...

Chinese input method in Gentoo OS

ibus

Compile ibus and dependencies 1 root #emerge --ask app-i18n/ibus ibus-libpinyin Add use flag to /etc/portage/package.use/ibus 1 2 dev-qt/qtgui ibus kde-plasma/plasma-desktop ibus 1 root #emerg...

rsync server

mirrors

rsyncd configuration /etc/rsyncd.conf 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 # /etc/rsyncd.conf # Minimal configuration file for rsync daemon # See rsync(1) and rsyncd.conf(5) ...