技术博客

归档

2025 年 07 月

2025-07-23

控制python版本 windows 安装 用coholatey安装pyenv-win,choco安装:https://wjhblog.cn/archives/chocolatey-windowsbao-guan-li-gong-ju choco install pyenv-win 环境变量 #先在

2025-07-17

引入依赖 go get github.com/gin-contrib/sessions 注入 var router = gin.Default() store := cookie.NewStore([]byte("password")) //将存储的数据加密后保存在用户的浏览器,这是加密的密钥 st
function startTime() { var today = new Date(); var z = today.getTimezoneOffset() //获取GMT和当前时区的差异,单位:分钟 var h = today.getHours(

2025 年 06 月

Fiddler中开启HTTPS和远程主机抓取,端口默认为8888 Proxifier中点配置文件->代理服务器,将127.0.0.1:8888分别添加到HTTP和HTTPS类型中 Proxifier中点配置文件->代理规则,将Default的动作选为:Proxy HTTPS 127.0.0.1 新增

2025-06-02

0).如果使用CNG 如果用了blank模版(项目中没有android目录)则先在项目根目录中执行命令: npx expo prebuild 1).生成上传密钥 expo项目根目录中执行命令: #macOS sudo keytool -genkey -v -keystore my-upload-ke

2025 年 05 月

扩展ID:d-koppenhagen.file-tree-to-text-generator 点击扩展的设置,再点击Exclude中的edit in setting.json 可以编辑将某些目录排除在外(如node_modules)</
用它安装软件会自动配置环境变量,简化安装过程 安装工具 进入链接:https://chocolatey.org/install 复制命令行,用管理员身份打开Power Shell,粘贴命令 choco -? #检查是否安装完成 常用命令 choco search jdk17 #搜索软件 choco
nvm

2025-05-26

windows安装 node.js版本管理工具 github/下载地址:https://github.com/coreybutler/nvm-windows 进入realease页面 #当前已经安装的版本和正在使用的版本 nvm list #output: * 22.16.0 (Curre

2025 年 03 月

需要一台服务器 frp下载链接:https://github.com/fatedier/frp/releases frp文档:https://gofrp.org/zh-cn/docs/reference/server-configures/#authserverconfig 下载之后有几个文件:fr

2025-03-10

golang的定期、定时任务 github: https://github.com/robfig/cron 依赖 go get github.com/robfig/cron 实例 c := cron.New() //用本地时间时区 c := cron.NewWithLocation(time.
上一页 下一页