摘要: 1 //内容样式策略 2 WriteCellStyle contentWriteCellStyle = new WriteCellStyle(); 3 //垂直居中,水平居中 4 contentWriteCellStyle.setVerticalAlignment(VerticalAlignment 阅读全文
posted @ 2023-08-01 16:43 charmtool 阅读(1165) 评论(0) 推荐(0) 编辑
摘要: Docker从1.13版本之后采用时间线的方式作为版本号,分为社区版CE和企业版EE。 社区版是免费提供给个人开发者和小型团体使用的,企业版会提供额外的收费服务,比如经过官方测试认证过的基础设施、容器、插件等。 社区版按照stable和edge两种方式发布,每个季度更新stable版本,如17.06 阅读全文
posted @ 2021-07-13 10:15 charmtool 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 1. 下载docker-ce的repo curl https://download.docker.com/linux/centos/docker-ce.repo -o /etc/yum.repos.d/docker-ce.repo 2. 安装依赖(centos7 不用这一步,centos8需要) y 阅读全文
posted @ 2021-07-13 09:42 charmtool 阅读(44) 评论(0) 推荐(0) 编辑
摘要: docker run -itd --name mysql-test -p 3306:3306 --restart=always -e MYSQL_ROOT_PASSWORD=123456 -d mysql --restart=always 当docker 重启时,容器自动启动 -e MYSQL_DA 阅读全文
posted @ 2021-07-03 10:46 charmtool 阅读(3286) 评论(0) 推荐(0) 编辑
摘要: npm安装插件过程:从http://registry.npmjs.org下载对应的插件包(该网站服务器位于国外,所以经常下载缓慢或出现异常) 阿里在国内搭建了镜像服务器:http://npm.taobao.org 需要执行以下命令更改: npm config set registry https:/ 阅读全文
posted @ 2021-05-03 12:22 charmtool 阅读(1128) 评论(0) 推荐(0) 编辑
摘要: 推荐两个源: 豆瓣:http://pypi.douban.com/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple 使用方法有两种,一种为临时使用,另外一种为永久修改。 1.临时使用: 在使用pip的时候加参数-i,如下: 1 pip insta 阅读全文
posted @ 2019-01-19 20:35 charmtool 阅读(7336) 评论(1) 推荐(1) 编辑
摘要: 系统信息 arch 显示机器的处理器架构(1) uname -m 显示机器的处理器架构(2) uname -r 显示正在使用的内核版本 dmidecode -q 显示硬件系统部件 - (SMBIOS / DMI) hdparm -i /dev/hda 罗列一个磁盘的架构特性 hdparm -tT / 阅读全文
posted @ 2019-01-15 19:44 charmtool 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1. 硬盘相关 df diskfile 查看已经挂在的文件的大小,默认单位是k。 -h 以1024为基数继续单位换算, -G 后面跟上单位即可, 进行换算 阅读全文
posted @ 2019-01-15 19:40 charmtool 阅读(209) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-14 10:15 charmtool 阅读(3) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-11-12 11:39 charmtool 阅读(1) 评论(0) 推荐(0) 编辑