adong搬砖

导航

2026年6月25日 #

cookie基本用法

摘要: 后端设置响应头set-cookie set-cookie mykey=12; Expires=截至MGT时间; Max-age=180; Domain=域名; Path=/; SameSite=Lax; Secure; http-only name=value:必须项,键值对(不能有分号、逗号、空格 阅读全文

posted @ 2026-06-25 11:33 adong搬砖 阅读(7) 评论(0) 推荐(0)

2026年6月24日 #

vue2源码

摘要: /*! * Vue.js v2.6.9 * (c) 2014-2019 Evan You * Released under the MIT License. */ /* */ var emptyObject = Object.freeze({}); // These helpers produce 阅读全文

posted @ 2026-06-24 09:28 adong搬砖 阅读(6) 评论(0) 推荐(0)

2026年6月21日 #

ajax 基本语法

摘要: // ajax 基本语法 const xhr = new XMLHttpRequest() xhr.open() xhr.send() xhr.onload = function () { console.log(xhr.responseText) } 阅读全文

posted @ 2026-06-21 11:29 adong搬砖 阅读(3) 评论(0) 推荐(0)

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搬砖 阅读(12) 评论(0) 推荐(0)

2026年1月30日 #

win10激活

摘要: win10激活:以管理员身份运行cmd先执行slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX然后slmgr /skms kms.03k.org最后slmgr /ato等待1分钟 最新版激活工具下载链接: 激活工具:https://share.weiyun.com/df 阅读全文

posted @ 2026-01-30 02:24 adong搬砖 阅读(29) 评论(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搬砖 阅读(11) 评论(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搬砖 阅读(13) 评论(0) 推荐(0)

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

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

posted @ 2026-01-21 17:34 adong搬砖 阅读(88) 评论(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搬砖 阅读(6) 评论(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搬砖 阅读(121) 评论(0) 推荐(0)