Salome 源码编译和运行

注:务必使用Ubuntu22.04/24.04编译,更高或者更低的系统都不行,编译脚本Bug太多

1、clone SAT and SAT_SALOME

sudo apt install python-is-python3
export SALOME_WORKSPACE=$PWD
git clone …

阅读全文

OpenMC编译和运行

1、安装依赖

安装一系列依赖包(git,cmake,make等)

sudo apt install g++ cmake libhdf5-dev libpng-dev

2、编译openmc

下载和安装 openmc命令

git clone --recurse-submodules …

阅读全文

python源

pip 源 任选一个

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip config set …

阅读全文

Postman桌面快捷方式

1. 下载地址

https://www.postman.com/downloads/
得到文件
postman-linux-x64.tar.gz

2. 配置桌面

cd /home/[YourUserName]/.local/share/applications
vim postman.desktop

[Desktop Entry] …

阅读全文

frp配置

1. 下载地址

https://github.com/fatedier/frp/releases
比如 v0.50.0版本

2. 服务端配置 frps & frps.ini

[common]
log_file = ./frps.log
dashboard_user = XXXXX
dashboard_pwd = XXXX …

阅读全文

git repo mirror

1. How to create a git repo mirror

1、 create a empty git repo https://repo.XXX.com/Mirrors/abc.git

2、 git clone empty git repo to dir(比如:abc)

3、 cd abc

4、 git clone --mirror …

阅读全文

Ubuntu install googlepinyin

1. fcitx and fcitx-googlepinyin

$ sudo apt install fcitx-bin
$ sudo apt install fcitx-pinyin fcitx-googlepinyin

2. 系统设置中进入地区及语言设置,管理语言,切换输入从ibus到fcitx

settings

$ sudo reboot

3. 配置中文 …

阅读全文

ubuntu下安装syncthing应用

Step 1 – Add Syncthing repo to apt sources

echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d

Step 2 – Add Syncthing’s PGP keys …

阅读全文

ubuntu下安装android应用

0、 download kernel and install

https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.15.113/
下载
linux-headers-5.15.113-0515113_5.15.113-0515113.202305241341_all.deb …

阅读全文