![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
other
不会飞的周
这个作者很懒,什么都没留下…
展开
-
Dom操作
/** * dom 树中,元素 属性 文本 注释 都被看作是节点 * * nodeName * 元素节点的节点名是大写的标签名 * 文本节点节点名是#text * 注释的节点名是#comment * 文档节点的节点名是#docoument * 属性的节点名是属性名 * nodeType * 元素节点的节点类型是 1 * 文本节点的节点类型是 3 * 属性节点的节点类型是 2 * * nodeVal..原创 2021-09-21 22:27:07 · 93 阅读 · 0 评论 -
activiti 整合spring
activiti. activiti maven pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <mode原创 2021-06-07 19:48:05 · 132 阅读 · 0 评论 -
maven-plugin
```java <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> ```原创 2021-05-12 09:55:29 · 229 阅读 · 0 评论 -
动态获取内核数
public static void main(String[] args) { int max = Runtime.getRuntime().availableProcessors() + 1; System.out.println(max); } ```原创 2021-04-27 15:35:01 · 65 阅读 · 0 评论 -
docker
docker 查看容器使用内存的命令: docker stats; 提交容器生成新的镜像:docker commit -a zzc -m “nothing” 5187 eye:1.1 数据卷挂载:docker run -v 宿主机目录:容器的目录:ro /rw 只读,读写权限 进入容器: docker attch 5187 强制删除一个运行中的容器:docker rm -f 5187 查看所有匿名的卷:docker volume ls 查看卷的详细信息 : docker vo原创 2020-12-03 14:45:30 · 78 阅读 · 0 评论 -
nginx动静分离,负载均衡,反向代理
usr -> program files nginx 1. 相关依赖, usr/src pcre(8.37) https://ftp.pcre.org/pub/pcre/ 1.解压 tar -xvf pcre-8.37.tar.gz 2.执行 ./configure (报错编译 c 执行 ) yum install gcc (You need a C++ compiler for C++ support) yum install原创 2020-11-27 18:04:28 · 122 阅读 · 0 评论 -
shell脚本俄罗斯方块
俄罗斯方块的shell脚本 #!/bin/bash # Tetris Game # 10.21.2003 xhchen<[email]xhchen@winbond.com.tw[/email]> #APP declaration APP_NAME="${0##*[\\/]}" APP_VERSION="1.0" #颜色定义 cRed=1 cGreen=2 cYellow=3 ...原创 2019-11-22 19:21:11 · 296 阅读 · 0 评论