kidonng's repos on GitHub
TypeScript · 33 人关注
cherry
@kidonng's user scripts, styles & patches
TypeScript · 22 人关注
daisyui
A UnoCSS-compatible redistribution of daisyUI
JavaScript · 17 人关注
anti-web-addiction
网络防沉迷浏览器扩展,防止人沉迷网络,切实保护人身心健康
Shell · 7 人关注
dotfiles
Shell · 6 人关注
archlive
Arch Linux Live/Rescue CD with quality of life features
TypeScript · 6 人关注
buka-saver
Fetch manga/chapter info and download them from Buka Comics
Vue · 3 人关注
activity-box
TypeScript · 3 人关注
animation-observer
Lightweight module to monitor DOM elements matching a CSS selector
3 人关注
cli
GitHub’s official command line tool
1 人关注
all-the-package-names
🔤 A list of all the public package names on npm. Updated daily.
1 人关注
all-the-package-repos
🌍 Normalized repository URLs for every package in the npm registry. Updated daily.
JavaScript · 1 人关注
avif-cli
Command line utility to convert images to AVIF, requires Node.js 12.13.0+
TypeScript · 1 人关注
bases
Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment
1 人关注
bat
A cat(1) clone with wings.
1 人关注
brew.sh
🔖 The Homebrew homepage
Vue · 1 人关注
cloud-college
1 人关注
cloudscraper
A Python module to bypass Cloudflare's anti-bot page.
1 人关注
core
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript · 1 人关注
create-func
installer for `func`
1 人关注
danbooru
A taggable image board written in Rails.
1 人关注
date-fns-fork
⏳ Modern JavaScript date utility library ⌛️
Rust · 1 人关注
deno
A modern runtime for JavaScript and TypeScript.
TypeScript · 1 人关注
deno-cliffy
Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
1 人关注
deno-rollup
Next-generation ES module bundler ported for Deno
1 人关注
desktop
an enhancer/customiser for the all-in-one productivity workspace notion.so (app)
1 人关注
devdocs
API Documentation Browser
TypeScript · 0 人关注
api
0 人关注
astro
The all-in-one web framework designed for speed. ⭐️ Star to support our work!
0 人关注
coteditor.github.io
Web site repository for coteditor.com
0 人关注
dom-expressions
A Fine-Grained Runtime for Performant DOM Rendering
kidonng

kidonng

V2EX 第 561977 号会员,加入于 2021-11-16 15:35:29 +08:00
kidonng 最近回复了
一看到标题就想到 sqlite https://opensource.apple.com/source/CPANInternal/CPANInternal-108/DBD-SQLite/sqlite3.c.auto.html

** This file is an amalgamation of many separate C source files from SQLite
** version 3.6.22. By combining all the individual C code files into this
** single large file, the entire code can be compiled as a one translation
** unit. This allows many compilers to do optimizations that would not be
** possible if the files were compiled separately. Performance improvements
** of 5% are more are commonly seen when SQLite is compiled as a single
** translation unit.

虽然说的是运行速度不是编译速度🐶
2022-05-01 21:37:47 +08:00
回复了 fstar 创建的主题 程序员 为什么非跨域请求时 HTTP 请求头有时候也会带上 Origin 头字段?
一点想法,不一定对:

Q:为什么要有 `Origin`?
A: https://fetch.spec.whatwg.org/#origin-header
> The `Origin` header is a version of the `Referer` [sic] header that does not reveal a path.
通过不同 Referrer Policy 可以精准控制 `Origin` 和 `Referrer` 的发送

Q:为什么要有 `Referer`?
A: https://httpwg.org/specs/rfc7231.html#header.referer
> The "Referer" [sic] header field allows the user agent to specify a URI reference for the resource from which the target URI was obtained (i.e., the "referrer", though the field name is misspelled).
`Referer`(以及 `Origin`)作为重要的来源信息是默认发送的,此时尚不考虑跨域。

“非跨域请求时 HTTP 请求头有时候也会带上 Origin 头字段”实际上是默认行为,应该问的是“为什么有的时候不会带 Origin/Referer”,对此问题不同上下文有不同回答(见 https://www.w3.org/TR/referrer-policy/ 里“Integration with Fetch/HTML/CSS”),一句话概括大概就是“except in cases where the origin information would be sensitive or unnecessary.” ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin#description)。
2022-03-17 16:27:06 +08:00
回复了 hsuyeung 创建的主题 程序员 后端程序员想要学习一下前端,有无比较好的学习路线推荐
前端框架推荐 Alpine.js ,可以说是“设计给后端”的框架,几乎无学习负担
CSS 框架自然是 Bootstrap 默秒全🐶
2022-03-16 18:22:35 +08:00
回复了 asuraa 创建的主题 程序员 超小型 vps web 服务器语言和框架怎么选择?
能不动态尽量别动态吧...JVM 和 Go 肯定别了,可以考虑 Lua 或者 JS
数据库 sqlite ,也上不了更多东西了
2022-03-12 16:25:34 +08:00
回复了 shijingshijing 创建的主题 程序员 taobao 的 Web 端适老化及无障碍改造做的不错,好评
@hingle 知乎好像也是
2022-03-11 21:08:13 +08:00
回复了 gaogaoa 创建的主题 云计算 天空计算会是云计算发展的未来趋势吗?
虽然不是完全对标,但 Terraform 不值得拥有名字吗
2022-03-10 10:27:18 +08:00
回复了 ifanrcloud 创建的主题 程序员 小程序的第六年,我们还能怎么玩?
@zhaol
> PWA 的推广是在开发人员之间,不是用户,就很难受。
PWA 是建立在国内并不存在的开放 Web 上的,这里只有“已停止访问该网页”和“下载应用查看全部内容”,推广不开和用不用户没多大关系。
2022-03-10 09:24:07 +08:00
回复了 dongse 创建的主题 Linux Linux 的/usr/bin 或者/usr/local 没有权限,如何安装软件
@ruanimal Brew prefix 了解一下
我发的文档里明白写着
> Can install software to your home directory and so does not require sudo
2022-03-08 19:03:42 +08:00
回复了 ifanrcloud 创建的主题 程序员 小程序的第六年,我们还能怎么玩?
@zhaol
> PWA 按道理来说应该由浏览器厂商来推广,但是好像人家也没这个必要,毕竟这只是一个技术标准。
浏览器厂商推的还不够多吗? Edge 团队自从转 Chromium 内核后掏心掏肺把原 Edge 的功能贡献给 Chromium 不说,在 PWA 方面的贡献更是功不可没。不夸张的说 Windows 目前是 PWA 体验最好的平台。
Chrome 几乎每个大版本都有 PWA 相关的特性,比如最近推迟发布的 window overlay controls 。
> 作为前端希望有生之年看到 PWA 崛起,然后替代 app ,小程序,甚至桌面端(好像现在也可以,但是还不够啊)
Telegram Web, Twitter, Google Photos 这些已经无限逼近原生应用的 PWA 已经证实了 Web 平台的能力了
但是这些和 T5 内核和 UC 内核之流没关系。
2022-03-08 17:03:00 +08:00
回复了 dongse 创建的主题 Linux Linux 的/usr/bin 或者/usr/local 没有权限,如何安装软件
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3330 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 13:44 · PVG 21:44 · LAX 06:44 · JFK 09:44
Developed with CodeLauncher
♥ Do have faith in what you're doing.