技术博客

pyenv

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

Administrator 发布于 2025-07-23

gin+session

引入依赖 go get github.com/gin-contrib/sessions 注入 var router = gin.Default() store := cookie.NewStore([]byte("password")) //将存储的数据加密后保存在用户的浏览器,这是加密的密钥 st

Administrator 发布于 2025-07-17

Javascript任意地区获取俄罗斯时间

function startTime() { var today = new Date(); var z = today.getTimezoneOffset() //获取GMT和当前时区的差异,单位:分钟 var h = today.getHours(

Administrator 发布于 2025-07-16

Fiddler+Proxifier抓取应用程序的数据

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

Administrator 发布于 2025-06-29

构建&生产

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

Administrator 发布于 2025-06-02

VS Code - 生成文本形式的目录结构

扩展ID:d-koppenhagen.file-tree-to-text-generator 点击扩展的设置,再点击Exclude中的edit in setting.json 可以编辑将某些目录排除在外(如node_modules)</

Administrator 发布于 2025-05-29

chocolatey-windows包管理工具

用它安装软件会自动配置环境变量,简化安装过程 安装工具 进入链接:https://chocolatey.org/install 复制命令行,用管理员身份打开Power Shell,粘贴命令 choco -? #检查是否安装完成 常用命令 choco search jdk17 #搜索软件 choco

Administrator 发布于 2025-05-27

nvm

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

Administrator 发布于 2025-05-26

群晖NAS使用内网穿透访问WEB服务

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

Administrator 发布于 2025-03-27

cron

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

Administrator 发布于 2025-03-10
上一页 下一页