设置 Git 的 HTTP 代理(ClashX HTTP 端口默认 7890)
# 设置 Git 的 HTTP 代理(ClashX HTTP 端口默认 7890)git config --global http.proxy http://127.0.0.1:7890 git config --global https.proxy https://127.0.0.1:7890
继续阅读
flutter使用webview https证书过期不显示问题,忽略 SSL 错误
使用 flutter_inappwebview 插件,忽略 SSL 错误,用 onReceivedServerTrustAuthRequest 事件,并为指定请求或所有请求返回 ServerTrustAuthResponse(action: ServerTrustAuthResponseAction.PROCEED)。 child: InAppWebView( initialUrlRequest: URLRequest( url: Uri.parse("https://self-signed.badssl
继续阅读
Mac在终端快速使用WebStorm 编辑器
## 在终端快速使用 WebStorm 编辑器### 设置 WebStorm 别名快捷键1. 编辑 `.zshrc` 文件。 ```sh vim .zshrc ```2. 为 WebStorm 添加别名。 ```sh alias webstorm='open -na "WebStorm.app" --args "$@"' ```3. 使更改生效。 ```sh source .zshrc ```现在,你可以在终端中快速打开 WebStorm 并进入你的项目目录:```sh# 1. 进入项目
继续阅读
npm install certificate has expired 淘宝镜像证书过期的解决办法
npm config set registry https://registry.npm.taobao.org certificate has expired 原因: 新的Web 站点:https://npmmirror.com,Registry Endpoint:https://registry.npmmirror.com。随着新的域名已经正式启用,老 http://npm.taobao.org 和 http://registry.npm.taobao.org 域名将于 2022 年 05 月 31 日零时起停止服务淘宝 NPM 镜像站切换新域名 npm config s
继续阅读
html网页打印字体出现模糊的解决方法
在打印报告时 打印出来的文本是模糊的, 不清晰, 解决方案: 设置打印时字体 设置css 字体 @media print { *, *::before, *::after { text-shadow: none !important; box-shadow: none !important; } a:not(.btn) { text-decoration: underline; } abbr[title]
继续阅读
flutter实现雷达动画测试
import 'dart:math' as math show sin, pi, sqrt;import 'package:flutter/material.dart';class HYRipplesAnimation extends StatefulWidget { const HYRipplesAnimation({ super.key, this.size = 90, this.color = Colors.blue, this.child, th
继续阅读