thread ubuntu in
2023-04-13 [antd: Menu] `children` will be removed in next major version. Please use `items` instead.
问题描述:antd版本升级,需要对以往的版本的代码进行修改,版本>=4.20.0以上需要修改,<4.20.0则不用。 需要修改的组件为Menu,具体修改参考官方例子: // >=4.20.0 可用,推荐的写法 ✅ const items = [ { label: '菜单项一', key: 'item ......
Ubuntu 18.04 LTS 环境下 双差定位 hypoDD 安装及配置
hypoDD 1 $ tar -xvf HYPODD_1.3.tar.gz 2 $ mv HYPODD ~/opt/HYPODD 3 $ cd ~/opt/HYPODD/src 4 # 修改所有目录下Makefile,修改将FC = f77 5 $ make 6 $ vi ~/.bashrc exp ......
Ubuntu 18.04 LTS 环境下 震源机制解 gCAP 安装及配置
gCAP 下载 # gCAP1.0包 1 $ wget http://www.eas.slu.edu/People/LZhu/downloads/gcap1.0.tar # 所需NR函数包 2 $ wget https://blog.seisman.info/downloads/gcap_utils ......
Ubuntu 18.04 LTS 环境下 震源机制解 gCAP3D 安装及配置
gCAP3D 下载 # gCAP3D1.2包 1 $ wget http://www.eas.slu.edu/People/LZhu/downloads/gCAP3D1.2.tar # 所需NR函数包 2 $ wget https://blog.seisman.info/downloads/gcap ......
Ubuntu 18.04 LTS 环境下地震图 fk 安装及配置
fk 编译环境 1 $ sudo apt-get install gfortran 下载 1 $ wget https://www.eas.slu.edu/People/LZhu/downloads/fk3.2.tar 解压 1 $ tar -xvf fk3.2.tar 2 $ mv fk /hom ......
Ubuntu 18.04 LTS 环境下 接收函数 hk 1.3 安装及配置
hk 下载 1 $ wget http://www.eas.slu.edu/People/LZhu/downloads/hk1.3.tar # 下载 2 $ tar -xvf hk1.3.tar # 解压 3 $ mv hk /home/wangjq/opt/hk 3 $ cd hk 4 $ mak ......
Ubuntu 18.04 LTS 环境下 TauP 安装及配置
走时计算软件 TauP Java环境 1 $ sudo apt-get install default-jre 下载 TauP 1 $ wget http://www.seis.sc.edu/downloads/TauP/TauP-2.4.5.tgz 解压安装 1 $ tar -xvf TauP-2 ......
Ubuntu 18.04 LTS 环境下 pssac 安装及配置
pssac 下载 1 # 下载基于 GMT4.0 的 pssac 包 2 $ wget http://www.eas.slu.edu/People/LZhu/downloads/pssac.tar 3 $ tar -xvf pssac.tar # 解压 4 # 下载基于 GMT4.5 的 pssac ......
Ubuntu 18.04 LTS 环境下 GMT4 安装
GMT4 下载 官方 ftp:ftp://ftp.soest.hawaii.edu/gmt 国内镜像:http://mirrors.ustc.edu.cn/gmt/ 需要下载的包包括: gmt-4.5.18-src.tar.bz2 gshhg-gmt-2.3.7.tar.gz 基础依赖包 1 $ s ......
Ubuntu 18.04 LTS 环境下 SAC 安装及配置
SAC 安装依赖 1 $ sudo apt update 2 $ sudo apt install libc6 libsm6 libice6 libxpm4 libx11-6 3 $ sudo apt install zlib1g libncurses5 安装二进制包 1 $ tar -xvf sa ......
Ubuntu 18.04 LTS 安装及配置
Ubuntu 18.04 LTS 安装Ubuntu18.04LTS(WSL/VMware) 更新国内源 备份 $ sudo mv /etc/apt/sources.list /etc/apt/sourses.list.backup 更换源 $ sudo vi /etc/apt/sources.lis ......
ubuntu使用记录(5)ubuntu20.04 切换root用户
ubuntu20.04 使用root用户登录系统 以普通用户登录系统,创建root用户的密码 在终端输入命令: sudo passwd root 先输入当前普通用户(如用户coco)的密码,用于提权。 ......
how to use crontab to send an email on Linux All In One
how to use crontab to send an email on Linux All In One
......
Vim 模式 All In One
Vim 模式 All In One Vim 模式 normal mode 正常模式 visual mode 可视化模式 command mode 命令模式 insert mode 插入模式 i/ ~~eidt mode 编辑模式~~ select mode 选择模式 ex mode 扩展模式 Vim ......
Understanding the different flavors of Clang C and C++ compilers in Windows
https://blog.conan.io/2022/10/13/Different-flavors-Clang-compiler-Windows.html This article will explain the different flavors of Clang C and C++ comp ......
How to Disable Suspend and Hibernation Modes In Linux
How to Disable Suspend and Hibernation Modes In Linux Disable Suspend and Hibernation in Linux sudo systemctl mask sleep.target suspend.target hiberna ......
vmware-ubuntu 设置共享目录
VMware可以通过右上方菜单,管理-虚拟机设置,进入共享文件夹设置界面: vmware设置共享目录,重新启动windows,偶尔会失效。可以按下面步骤重新设置下,copy就行 查询是否存在已挂载的文件夹,即上一步设置的共享路径的名称: vmware-hgfsclient 取消挂载: sudo um ......
【BUG】ExtJS 的Tab Reorder 插件持续更新布局问题解决办法 (Solution to layout issues in the continually updated Tab Reorder plugin of ExtJS)
更新记录 2023年4月13日 初始化。 ExtJS教程汇总:https://www.cnblogs.com/cqpanda/p/16328016.html 问题 不停的拖动tab栏,会不断更新布局。 Dragging the tab bar continuously will update the ......
linux-Ubuntu环境配置解决
在Ubuntu上安装meld,ubuntu提示有以下信息: 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 您也许需要运行“apt --fix-broken install”来修正上面的错误。 下列软件包有未满足的依赖关系: sogoupinyin : 依赖 ......
GitHub Accelerator All In One
GitHub Accelerator All In One
GitHub 加速器
tRPC
......
how to use Vim delete one line All In One
how to use Vim delete one line All In One
在正常模式下(非编辑模式 i),光标选中所在行, 连续按两下d键,即可删除一整行 ✅
......
Python timezone package All In One
Python timezone package All In One
Python arrow package
日期格式化
Asia/Shanghai
......
Ubuntu 挂载硬盘
1.查看所有硬盘信息(找到需要挂载硬盘的路径,如/dev/sda1) fdisk -l 2.创建挂载目录 mkdir /data 3.手动挂载分区(sda1:想要挂载的分区 data:分区挂载的目录) mount /dev/sda1 /data 4.查看想要挂载分区的UUID blkid /dev/ ......
SD 卡 & SD 内存卡 All In One
SD 卡 & SD 内存卡 All In One
SD Cards
SDHC Cards
SDXC Cards
......
ubuntu 22.04国内镜像阿里云/163源/清华大学/中科大
Ubuntu 22.04 LTS这是一个长期支持版本,它将被支持五年,直到2027年4月。已发布的LTS版本带来了一些新的功能 国内有很多Ubuntu 22.04的镜像源,包括阿里、网易,还有很多教育网的镜像源,比如清华源、中科大源。 在教程中我们将介绍如何更改镜像在ubuntu 22.04。国内的 ......
threading多线程使用
当我们调用某段代码时需要等待一段时间后才能进行后续的操作,而这期间计算资源并未占满,这就浪费了CPU的资源和时间,此时可以采用多线程进行并行计算。 如当我们使用爬虫爬取网络资源时,某个资源的爬取过程由于网络因素需要等待,而后续的资源清洗和整合等需要等待,此时可以将资源分多份同时进行爬取,等全部爬取完 ......
Ubuntu和Centos设备出厂后添加给普通用户docker权限
Ubuntu #查看用户组 group #将当前普通用户加入docker用户组,执行命令: sudo usermod -aG docker {用户账号} #如果提示 Using default tag: latest Got permission denied while trying to con ......
Kali Linux: Configuring Static IP in command line
sudo vim /etc/network/interfaces #Static IP addressauto wlan0iface eth0 inet staticaddress 10.10.1.10netmask 255.255.255.0gateway 10.10.1.1 Here wlan0 ......
How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux
sudo blkid sudo vim /etc/fstab UUID=41c22818-fbad-4da6-8196-c816df0b7aa8 /mnt/elaine ext4 defaults 0 1 https://www.cyberciti.biz/faq/linux-finding-usi ......