
获得徽章 22
- js判断是否是微信网页:
export const isWeChat = () => /micromessenger/i.test(navigator.userAgent.toLowerCase());评论2 - 网页播放器最多支持 2 倍速?试试在 console 里输入这段代码:
document.querySelectorAll('video').forEach(v => v.playbackRate = 3)35 - 新浪财经50ETF期权和上交所300ETF期权行情接口
注:需要后端实现,模拟 headers:
{
Host: 'hq.sinajs.cn',
Referer: 'stock.finance.sina.com.cn',
}blog.csdn.net
展开评论1 - GitHub 初始化一个空项目之后,把本地的目录推上去,步骤:- git remote add origin git@github.com:xxxxxxx.git
- git branch -M master
- git push -u origin master评论2 - “在激烈竞争中,取胜的系统在最大化或者最小化一个或几个变量上会走到近乎荒谬的极端。”
"In the fierce competition, the winning system will go to the absurd extreme in the maximization or minimization of one or several variables"——Charlie Thomas Munger展开评论1 - “读书使人充实,讨论使人机敏,写作使人严谨。”
"Reading makes a full man; conference a ready man; and writing an exact man."——Francis Bacon26