摘要: 时间数字字符串格式 RFC2822 YYYY/MM/DD HH:MM:SS ± timezone(时区用4位数字表示) // 1992/02/12 12:23:22+0800 或者 1992/02/12 12:23:22 GMT+0800 或者 1992/02/12 12:23:22 UTC+080 阅读全文
posted @ 2021-12-27 17:44 自律·给我自由 阅读(786) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2021-01-18 12:59 自律·给我自由 阅读(1923) 评论(1) 推荐(2) 编辑
摘要: 1.使用new Function 点击查看文档 var func = 'function test(_this,res){console.log(res," ",_this)}'; var _this = "_this"; var res = {name:'***',age:'21',sex:1,l 阅读全文
posted @ 2020-12-21 22:08 自律·给我自由 阅读(1782) 评论(0) 推荐(0) 编辑
摘要: <html> <title>新标签页111</title> <body> <script> //正则判断字符串开头abc和结尾xyz(/^(abc)(.+)?(xyz)$/).test('abcxyz') async function fun1() { var newlist = []; var i 阅读全文
posted @ 2020-12-17 18:43 自律·给我自由 阅读(1778) 评论(0) 推荐(0) 编辑
摘要: //解析url参数 function getQueryString(name) { let reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); let r = window.location.search.substr(1).match( 阅读全文
posted @ 2020-11-13 17:44 自律·给我自由 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 第一步:安装git 官网地址:https://git-for-windows.github.io/ Homebrew安装git: https://www.cnblogs.com/ycyzharry/p/10889420.html 安装完成后,在开始菜单中找到 'Git' -> 'Git Bash', 阅读全文
posted @ 2020-11-10 14:07 自律·给我自由 阅读(202) 评论(0) 推荐(0) 编辑
摘要: git工作流程图 常用的命令: git init 初始化版本库git add 文件名 将文件添加到仓库中git commit -m "标签" 将文件提交到仓库中git status 时刻掌握仓库当前的状态git diff (different) 可以查看修改内容git log 查看修改信息git l 阅读全文
posted @ 2020-11-09 17:08 自律·给我自由 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <html> <head> <style> html, body, ul { margin: 0; padding: 0; } ul { width: 100%; height: 40rem; background: #000; display: flex; flex-wrap: wrap; jus 阅读全文
posted @ 2020-10-30 15:50 自律·给我自由 阅读(18122) 评论(0) 推荐(0) 编辑
摘要: 本人用的是mac电脑,所以是mac的教程 前提条件:手机与charles连接,具体请看https://blog.csdn.net/dufufd/article/details/86509801 1.打开charles工具界面,搜索要mac的url 2.请求数据,选中charles抓取到的链接,右键选 阅读全文
posted @ 2020-09-23 12:06 自律·给我自由 阅读(810) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title></title> <style> * { margin: 0; padding: 0; } </style> <script> </script> </head> <body> < 阅读全文
posted @ 2020-08-12 20:02 自律·给我自由 阅读(2031) 评论(0) 推荐(0) 编辑