Skip to content

Instantly share code, notes, and snippets.

View JiangWeixian's full-sized avatar
🤒
Out sick

JW JiangWeixian

🤒
Out sick
View GitHub Profile
@JiangWeixian
JiangWeixian / startup-idea-checklist.md
Last active October 15, 2022 18:05
Startup idea checklist

Original Post, filter ideas with github issue form.

I’ve been tinkering with different startup ideas and needed a good checklist to think through them. There are great templates for this already: The YC application, Amazon’s internal press release, and Sequoia’s Writing a Business Plan. I found myself mixing and tweaking these templates because they don’t exactly match my model of the world, so I wrote up my own list.

I use this list both to develop ideas and filter them. If you adopt it, be careful about using it as a filter. Remember that in the early stages, good ideas are very easy to kill.

create ideas.yaml in .github/ISSUE_TEMPLATE, check docs for more details

TypeScript 24 hrs 15 mins ███████████████▉░░░░░ 76.0%
JSON 3 hrs 39 mins ██▍░░░░░░░░░░░░░░░░░░ 11.5%
JavaScript 1 hr 20 mins ▉░░░░░░░░░░░░░░░░░░░░ 4.2%
Markdown 57 mins ▋░░░░░░░░░░░░░░░░░░░░ 3.0%
SCSS 50 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.6%
var JSMpeg = {
Player: null,
VideoElement: null,
BitBuffer: null,
Source: {},
Demuxer: {},
Decoder: {},
Renderer: {},
AudioOutput: {},
Now: function() {
/**逻辑类型类似。
* 1. 尝试通过schema打开app
* 2. 如果安卓就跳转到下载链接 or apple内就打开apple store
* refs: https://juejin.im/post/59aabe4c6fb9a0249471e04a
* (链接内写的比较详细了。)
*/
// 打开schema(以打开taobbao item为例)
window.location = taobao://item.taobao.com/
@JiangWeixian
JiangWeixian / isInWechat
Last active December 14, 2019 09:15
判断是否在微信/device?
var isWeixin = () => {
var ua = navigator.userAgent.toLowerCase()
return ua.match(/MicroMessenger/i)?.[0] === 'micromessenger'
}
// ios
navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)
// android
navigator.userAgent.match(/android/i)