Skip to content

Instantly share code, notes, and snippets.

View Emiya0306's full-sized avatar
👨‍💻
Coding...

Jie Luo Emiya0306

👨‍💻
Coding...
View GitHub Profile
@christianchown
christianchown / ConnectedProps.ts
Last active September 19, 2021 09:58
ConnectedProps - the missing TypeScript helper for Redux
import { InferableComponentEnhancerWithProps } from 'react-redux';
export default type ConnectedProps<T> = T extends InferableComponentEnhancerWithProps<infer Props, infer _> ? Props : never;
// credit: https://github.com/Voronar
@xcatliu
xcatliu / (已失效)中国区用户在开启 GitHub 两步验证中遇到的问题
Last active March 7, 2024 02:53
(已失效)中国区用户在开启 GitHub 两步验证中遇到的问题
2023.8.28
据多名网友回复,此方法已失效。
最新解决办法请参考此贴:[v2ex: 请问 github 的两步验证(two-factor authentication)大家是怎么做的?](https://www.v2ex.com/t/967533)
https://www.v2ex.com/t/967533
---