adong搬砖

导航

2026年2月4日 #

dom操作

摘要: 节点类型 元素类型 元素节点 属性节点 文本节点 注释节点 nodeName 大写标签名 属性名 #test #comment nodeType 1 2 3 8 nodeValue null 属性值 文本内容 注释内容 获取节点 <body> <ul> <!-- 注释 --> <li>1</li> 阅读全文

posted @ 2026-02-04 20:39 adong搬砖 阅读(2) 评论(0) 推荐(0)

2026年1月30日 #

win10激活

摘要: win10激活:以管理员身份运行cmd先执行slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX然后slmgr /skms kms.03k.org最后slmgr /ato等待1分钟 阅读全文

posted @ 2026-01-30 02:23 adong搬砖 阅读(17) 评论(0) 推荐(0)

2026年1月21日 #

tomcat具体用法

摘要: 一、热加载 修改 Tomcat 的 conf/context.xml,添加扫描间隔配置: <Context reloadable="true"> <!-- 开启热加载 --> <!-- 扫描间隔:1 秒(单位:毫秒)由自带5秒变成1秒 --> <WatchedResource>WEB-INF/web 阅读全文

posted @ 2026-01-21 18:39 adong搬砖 阅读(4) 评论(0) 推荐(0)

tomcat和servlet简单demo

摘要: tomcat 结构 javac -encoding utf-8 -cp lib/servlet-api.jar tcServletTest.java 将java文件编译成class,将java文件和外部jar包路径(相对或者绝对都行)融合到编译后的class文件中 -encoding utf-8:解 阅读全文

posted @ 2026-01-21 18:04 adong搬砖 阅读(4) 评论(0) 推荐(0)

IntelliJ IDEA 中为项目添加 Git 仓库的详细步骤:

摘要: 一、初始化本地 Git 仓库 打开项目后,点击顶部菜单栏 VCS → Create Git Repository。 在弹出的窗口中,选择项目的根目录(默认即可),点击 OK,此时项目会被初始化为本地 Git 仓库。 二、将项目文件添加到暂存区 在项目文件列表中,右键点击项目根目录,选择 Git → 阅读全文

posted @ 2026-01-21 17:34 adong搬砖 阅读(42) 评论(0) 推荐(0)

git操作

摘要: ## 本地初始化 git init ## 设置账号 git config --global user.name "Your Name" ##设置密码 git config --global user.password "xxxxxx" ##设置邮箱 git config --global user. 阅读全文

posted @ 2026-01-21 17:32 adong搬砖 阅读(1) 评论(0) 推荐(0)

2025年2月3日 #

springboot的pom.xml起步配置和mvn 起步操作

摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文

posted @ 2025-02-03 20:38 adong搬砖 阅读(73) 评论(0) 推荐(0)

2024年9月2日 #

flex+margin(列表布局)

摘要: .item { --n: 8; background-color: red; width: 50px; height: 50px; margin: 10px calc((100% - var(--n)*50px)/var(--n)/2); } #container { width: 600px; h 阅读全文

posted @ 2024-09-02 14:48 adong搬砖 阅读(24) 评论(0) 推荐(0)

2024年8月12日 #

nginx 反向代理

摘要: nginx.conf http { server { listen 80; server_name localhost; location ^~ /api { root html; index index.html; proxy_pass http://localhost:5000/api;#前面加 阅读全文

posted @ 2024-08-12 15:01 adong搬砖 阅读(22) 评论(0) 推荐(0)

2024年4月21日 #

v2 img lazy

摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文

posted @ 2024-04-21 00:32 adong搬砖 阅读(28) 评论(0) 推荐(0)