---
title: "Jayin Taung (@jayin) | Hashnode"
description: "拥抱变化，持续输出. Read the latest articles by Jayin Taung on Hashnode."
url: "https://hashnode.com/@jayin"
---

@jayin

# Jayin Taung

@jayin · Guangzhou,China · Joined May 2022

拥抱变化，持续输出

### [服务器配置多个 GitHub Deploy Key](https://blog.jayinton.com/github-deploy-key?utm_source=hashnode&utm_medium=feed)

场景 在同一服务器中，需要部署多个 github 项目。通常我们会使用配置 Deploy Key 来实现 clone / pull 仓库。 但Deploy Key 是仓库级别的，同一 Deploy Key 不能被用在多个 GitHub 仓库中。 解决方案：使用 ~/.ssh/config 区分多个 Deploy Key 假设你有两个 GitHub 仓库： - 仓库 A：git@github.com:userA/repoA.git - 仓库 B：git@github.com:userB/repoB...

1 min read · [blog.jayinton.com](https://blog.jayinton.com/github-deploy-key?utm_source=hashnode&utm_medium=feed)

[May 9, 2025](https://hashnode.com/posts/github-deploy-key/681e405705a2ba797745791e)

### [为SSH 设置代理，通过代理连接 GitHub](https://blog.jayinton.com/ssh-github?utm_source=hashnode&utm_medium=feed)

通过代理连接 GitHub 可以通过修改 SSH 配置文件来实现。这通常需要设置 SSH 使用 SOCKS 或 HTTP 代理。你可以使用 ssh 命令通过代理进行连接。以下是如何在 SSH 配置文件中设置代理连接 GitHub 的步骤： 1. 配置 SSH 代理 要通过代理连接 GitHub，需要在 SSH 配置文件中进行设置。你可以使用 SOCKS 代理（例如通过 Shadowsocks 或 V2Ray）或 HTTP 代理（例如通过代理软件）。 1.1 使用 SOCKS 代理（例如 Shad...

2 min read · [blog.jayinton.com](https://blog.jayinton.com/ssh-github?utm_source=hashnode&utm_medium=feed)

[Jan 20, 2025](https://hashnode.com/posts/ssh-github/678dea39cc2d6bdb73f17ba8)

### [apache+php 无法获取 header 的Authorization数据](https://blog.jayinton.com/apachephp-header-authorization?utm_source=hashnode&utm_medium=feed)

原因和解决办法 换了新的电脑，装了最新版的 MAMP ，一切都是非常新，出现了一个诡异的 bug：\`$\_SERVER\['HTTP\_AUTHORIZATION'\]\` 竟然只有这个Authorization无法获取到参数。 环境：Apache ,\*\*采用 fastcgi 模式\*\*，php 7.4。 结论是：没有开启CGIPassAuth on。修改 httpd.conf <IfModule mod\_fastcgi.c> <Directory "/Applications/MAMP/fcgi-...

1 min read · [blog.jayinton.com](https://blog.jayinton.com/apachephp-header-authorization?utm_source=hashnode&utm_medium=feed)

[Dec 11, 2024](https://hashnode.com/posts/apachephp-header-authorization/6759c1269f072b30420abd28)

### [微信小程序分享到朋友圈单页模式适配](https://blog.jayinton.com/5b6u5lh5bcp56il5bqp5yig5lqr5yiw5pyl5yl5zyi5y2v6ag15qih5byp6ycc6ywn?utm_source=hashnode&utm_medium=feed)

微信小程序支持分享到朋友圈，但能力有所限制，为此专门搞了一个单页模式，主要目的是防止滥用于营销、诱导等。 常见问题： 1、小程序从朋友圈打开，一片空白 2、没有触发 HTTP 请求 3、页面顶部渲染异常，被挡住 解决方案： 问题 1、2，大部分都是配置出了问题。 排查顺序： 1、分享参数正确与否， 2、是否使用了禁用能力相关接口，查看控制台报错 3、调用HTTP接口不能包含用户登陆状态(如 token)，兼容访客访问 问题 3：通常这是因为该页面设置自定义navigationStyle: cus...

1 min read · [blog.jayinton.com](https://blog.jayinton.com/5b6u5lh5bcp56il5bqp5yig5lqr5yiw5pyl5yl5zyi5y2v6ag15qih5byp6ycc6ywn?utm_source=hashnode&utm_medium=feed)

[Jun 10, 2024](https://hashnode.com/posts/5b6u5lh5bcp56il5bqp5yig5lqr5yiw5pyl5yl5zyi5y2v6ag15qih5byp6ycc6ywn/66672d2b06f99ea3420bc40a)

### [微信小程序wx.openDocument无法打开 doc,xls 文档，提示文件已损坏或未知文件格式](https://blog.jayinton.com/wxopendocument-docxls?utm_source=hashnode&utm_medium=feed)

wx.openDocumenc 打开 doc 、xls 时，有时候会提示"文件已损坏或未知文件格式"。 原因主要是文档的版本太久，微信不支持。建议采用兼容的方式处理，指定以 docx 的格式打开 doc,以 xlsx 的格式打开 xls。 示例代码： let fileExt = this.file.file\_ext if (fileExt === 'doc' || fileExt === 'xls' || fileExt === 'ppt') { fileExt += 'x' } wx...

1 min read · [blog.jayinton.com](https://blog.jayinton.com/wxopendocument-docxls?utm_source=hashnode&utm_medium=feed)

[May 31, 2024](https://hashnode.com/posts/wxopendocument-docxls/66598a3889eb3bdd521df6fc)
