honghao (@honghao) 's Twitter Profile
honghao

@honghao

Software Engineer & Vimer & Javascript, Ruby, Container Enthusiast

ID: 14357866

calendar_today11-04-2008 03:21:06

2,2K Tweet

178 Takipçi

344 Takip Edilen

honghao (@honghao) 's Twitter Profile Photo

Notion is a great notebook app. But I wish I can access all my data locally. Is there an alternative app that can do the simliar things but also support offline access? 🤔

一阁 (@yegle) 's Twitter Profile Photo

phiresky.github.io/blog/2021/host… 卧槽碉堡了,在静态页面上host一个sqlite数据库从JS查询:sqlite编译到WebAssembly,自己实现一套virtual filesystem把file seek操作转成HTTP range request,对常见顺序查找稍微做了prefetch优化。最后效果相当不错啊!

Zayn Hao (@eryouhao) 's Twitter Profile Photo

如果你正在开发 Electron 或 PWA 应用,一个使其更接近于原生应用的 CSS 技巧是 👇 *, a, button { cursor: default; user-select: none; } 鼠标指针使用默认,禁止用户选择 在页面充斥着大量的菜单和按钮,而非跳转性链接时,尤为有效 同时避免鼠标指针频繁地在默认和指针状态来回跳动

如果你正在开发 Electron 或 PWA 应用,一个使其更接近于原生应用的 CSS 技巧是 👇

*, a, button {
  cursor: default;
  user-select: none;
}

鼠标指针使用默认,禁止用户选择

在页面充斥着大量的菜单和按钮,而非跳转性链接时,尤为有效

同时避免鼠标指针频繁地在默认和指针状态来回跳动
honghao (@honghao) 's Twitter Profile Photo

I'm having a lot of fun learning web3 and building dapps on Alchemy and when you sign up for their growth plan, we’ll both get 85,000,000 compute units. Check it out: alchemy.com/?s=zI0ODIxNDcx… 🙌

Obsidian (@obsdmd) 's Twitter Profile Photo

Obsidian 1.0 is live! 1.0 brings a complete redesign to desktop and mobile. Plus, a new way to browse your second brain: tabs. Tabs make it easier to explore many ideas at once. Learn more: obsidian.md/1.0

Obsidian 1.0 is live!

1.0 brings a complete redesign to desktop and mobile.

Plus, a new way to browse your second brain: tabs. Tabs make it easier to explore many ideas at once.

Learn more: obsidian.md/1.0