会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
W-it-H-ou-T
博客园
首页
新随笔
联系
管理
上一页
1
2
3
4
下一页
2022年3月24日
正则整理
摘要: 邮箱:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,
阅读全文
posted @ 2022-03-24 11:05 W-it-H-ou-T
阅读(39)
评论(0)
推荐(0)
2022年2月24日
获取 URL 参数, 拼装 URL 参数
摘要: URLSearchParams 接口定义了一些实用的方法来处理 URL 的查询字符串。 获取 URL 参数 const url = 'http://xxx.com?id=123&name=hello&age=18'; const search = window.location.search; //
阅读全文
posted @ 2022-02-24 11:38 W-it-H-ou-T
阅读(176)
评论(0)
推荐(0)
2021年12月2日
Chrome 插件开发 常用错误处理
摘要: 1. Failed to start native messaging host. 1)可能是 native message host 的权限有问题 解决方法: chmod 755 host.js 2)可能是 host.js 中的 node 命令解释器有误 解决方法: 修改host.js 中第一行的
阅读全文
posted @ 2021-12-02 20:29 W-it-H-ou-T
阅读(1363)
评论(0)
推荐(0)
2021年7月11日
node MySql8.0 ER_NOT_SUPPORTED_AUTH_MODE 问题
摘要: 在 node 环境下运行 mysql 由于版本不兼容会报如下错误: Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upg
阅读全文
posted @ 2021-07-11 23:59 W-it-H-ou-T
阅读(168)
评论(0)
推荐(0)
2021年7月10日
python 相关
摘要: 创建 venv 环境 python3 -m venv envname 激活虚拟环境 source envname/bin/activate 退出虚拟环境 deactivate 参考: https://www.cnblogs.com/defifind/p/11326434.html
阅读全文
posted @ 2021-07-10 03:37 W-it-H-ou-T
阅读(30)
评论(0)
推荐(0)
2021年7月7日
vue 路由分发式微前端项目部署
摘要: 例: 主项目地址为: http://xxx.com, 想配置 xxx.com/newproject 为另一个项目 1. 修改 vue.config.js 中的publicPath (publicPath: '/newproject') // 新项目的静态资源打包路径, 如访问 xxx.com/new
阅读全文
posted @ 2021-07-07 11:39 W-it-H-ou-T
阅读(187)
评论(0)
推荐(0)
2021年3月10日
多行文本省略
摘要: overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
阅读全文
posted @ 2021-03-10 15:31 W-it-H-ou-T
阅读(51)
评论(0)
推荐(0)
2021年2月26日
vue 2.0 中使用 css 变量
摘要: <template> <div :style="styleText" class="div1"> <button @click="handleClick">修改颜色</button></div> </template> <script> export default { data () { retu
阅读全文
posted @ 2021-02-26 16:07 W-it-H-ou-T
阅读(1335)
评论(2)
推荐(0)
2021年2月8日
拉取远程所有分支
摘要: git clone xxx git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --
阅读全文
posted @ 2021-02-08 17:04 W-it-H-ou-T
阅读(80)
评论(0)
推荐(0)
2021年1月30日
mac 隐藏文件
摘要: 显示 隐藏的文件/文件夹 defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder 隐藏 隐藏的文件/文件夹 defaults write com.apple.finder AppleShowAl
阅读全文
posted @ 2021-01-30 13:33 W-it-H-ou-T
阅读(60)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告