使用 git-open 插件在命令行打开 github 页面

方法 cd .oh-my-zsh/plugins/进入 oh-my-zsh 的插件目录 git clone https://github.com/paulirish/git-open.git ./git-open 复制代码到插件目录 code .zshrc 编辑 plugins=(git git-open) 重新打开命令行或者source ~/.zshrc cd 到 git 项目

IOS 四步屏蔽大部分 APP 开屏广告

步骤 打开设置 找到屏幕使用时间并进入 找到内容和隐私限制访问,打开并进入,然后开启限制 找到Apple 广告,设置为不允许 这样很多 APP 再打开时候就没有

ChatGPT教你写代码

ChatGPT 今年最让人振奋的应该非 ChatGPT 莫属了,虽然 stable-diffusion 也火得不要不要的,但对于普通人来说,『能制作出来好的作品的创意』非常难得。 但 ChatGPT 不同,会搜索会问问题就

nginx 反代 Google

上配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 server { listen 80; server_name g.pengxiaochao.me; location / { proxy_pass https://www.google.com; proxy_redirect off; proxy_set_header Host www.google.com; proxy_set_header Accept-Encoding ""; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; sub_filter https://www.google.com http://g.pengxiaochao.me; sub_filter_once off; sub_filter_types *; } } 过程 起因是在 Telegram 里抽奖,抽到了一个 github 学

Mac 上使用 uPic 搭建自用图床

为什么 最近尝试了一下双链笔记 logseq,发现 logseq 非常适合用来做记录。但 logseq 默认没有设备之间同步数据,Mac上现在用的 icloud 来做同步,但 icloud 本身只有5

MapStruct集成及使用

集成方式 pom.xml 中修改 maven打包plugin 配置,增加annotationProcessorPaths部分,主要是为了兼容 lombok 1 2 3 4 5 6 7 8 9

交通银行-年度最差体验

起因 年初时候给手里信用卡做了一下用途规划,将交通银行的信用卡作为打车的默认扣款方式,所以每个月有大概一千左右的支出。 且申请交通银行信用卡时候