30-seconds-of-code

ChalarangeloCC-BY-4.0活跃维护

收录大量短小精悍的 JavaScript、CSS、Git 等代码片段与教程,帮开发者在几分钟内学会一个实用技巧,快速补齐日常开发所需知识。

Coding articles to level up your development skills

v14.0.0发布于 2025-05-07 15:35 UTC129,482star +42 / 7 天12,517fork同步于 2026-11-10 23:18 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求按 README 说明

README 未说明

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

按主题收录的编程短文与代码片段库,帮你快速查用法、提升开发技能

收录大量短小精悍的 JavaScript、CSS、Git 等代码片段与教程,帮开发者在几分钟内学会一个实用技巧,快速补齐日常开发所需知识。

核心能力

  • 按名称、标签、语言或描述搜索文章与合集
  • 按主题浏览文章或独立合集,卡片式查看全文
  • 每篇文章含代码片段、讲解与示例
  • 网站由 Astro 构建并托管在 Netlify

容易踩的坑

README 未提供本地运行或安装方式,内容主要在官网阅读;当前不接受新内容贡献,只能通过 issue 反馈网站问题或改进建议

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v14.0.0
  1. v14.0.0v14.0.0 (dimensional debugger)最新正式版2025-05-07 · 2025-05-07 15:35 UTC
    • Deprecate discussions
    • Completely redesign the search engine
    • Add and update console utilities
    • Update recommender behavior
    • Add keyboard navigation for search
    • Bump packages
    • Upgrade Node.js to 22.x
    • Add navigation hotkeys for header actions
    • Add highlight behavior to the table of contents
    • Add scroll to top link
    • Add custom components for content authoring
    • Completely replace the code highlighter
    • Add new code highlighting features
    • Update articles to use new content authoring tools
  2. v13.0.0v13.0.0 (celestial compiler)2025-01-04 · 2025-01-04 12:05 UTC
    查看更新说明
    • Make articles typeless
    • Update logs & announcements infrastructure
    • Journeys & discussions for articles
    • About page revamp & FAQ page deprecation
    • Terminology update
    • Update CodeQL action
    • Bug fixes
  3. v12.1.0v12.1.0 (boreal byte)2024-08-02 · 2024-08-02 13:11 UTC
    查看更新说明
    • Port the new infrastructure to JavaScript.
  4. v12.0.0v12.0.0 (boreal byte)2024-07-25 · 2024-07-25 16:29 UTC
    查看更新说明
    • Complete infrastructure overhaul, including Ruby on Rails as an intermediate step.
  5. v11.0.0v11.0.0 (astral array)2023-12-18 · 2023-12-18 13:35 UTC
    查看更新说明
    • Complete UI overhaul.
    • New MD authoring tools (admonitions, code block titles).
    • More SEO-friendly HTML semantics and page data.

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Logo

    30 seconds of code

    Coding articles to level up your development skills

    • Visit the website to view all articles.
    • Search for articles and collections that suit your needs, using the name, tags, language or description.
    • Browse all articles or individual collections for each topic.
    • Click on each card to view the whole article, including code snippets, explanation and examples.
    • If you like the project, give it a star. It means a lot.

    Want to contribute?

    • New content contributions are not accepted at this time.
    • You can, however, report problems with the website or suggest improvements by opening an issue.

    Credits

    • This repository is maintained by Angelos Chalaris.
    • All code snippets are licensed under the CC-BY-4.0 License, unless explicitly stated otherwise.
    • Any other material (including text content, images, the website source code, logos, names and trademarks) are not to be used without the explicit consent of the owner.
    • The website is powered by Netlify, Astro & GitHub.
    • All of the photography is provided by Unsplash.