ESP32-S3 Bench Guide
ESP32-S3 N16R8 bench guide: live pinout, lessons, simulators and the bench log.
翻譯準備中
尚未收集儲存庫資訊。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
Static site with resources for solving Rubik's cubes
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Speedcubing tutorials, algorithm references, and tools for the 2x2 and 3x3 Rubik's Cube. The site is live at https://bradleykh.github.io/CubeTools/.
It is an Astro static site. Tutorials are MDX, and cube diagrams are drawn with cubing.js.
.nvmrc)packageManager field in package.jsonpnpm install # install dependencies
pnpm dev # dev server with hot reload, at http://localhost:4321/CubeTools/
pnpm check # astro check: type and template diagnostics
pnpm test # Vitest unit tests
pnpm build # astro check, then static build to dist/
pnpm preview # serve dist/ locally
A production build inside a Dropbox-synced folder fails with EBUSY or EPERM errors on dist/.prerender. Copy the repository to a folder outside Dropbox, then run pnpm install and pnpm build there.
src/
content/tutorials/<series>/ MDX tutorial pages, with images/ alongside
content.config.ts content collection schemas
data/ series registry (tutorials.ts), nav (nav.ts), site metadata (site.ts)
components/ Astro components; ui/ holds shadcn/ui components
layouts/ BaseLayout, TutorialLayout
lib/ url, tutorials, and cube helpers, with *.test.ts beside them
pages/ routes
styles/ global.css, print.css
public/ favicons, robots.txt
astro.config.mjs
A push to master runs .github/workflows/deploy.yml. The workflow builds the site with withastro/action on Node 24, then deploys the output to GitHub Pages. The workflow can also be started by hand from the Actions tab.
Create src/content/tutorials/<series>/NN-slug.mdx. The folder must match a series slug in src/data/tutorials.ts. The page is served at /tutorials/<series>/<slug>/, where <slug> is the filename without the NN- prefix.
Add frontmatter:
---
title: The Cross
description: Build the white cross on the bottom layer.
series: 3x3-beginner
order: 2
navTitle: Cross # optional: shorter label for the table of contents and prev/next
legacy: basic2.html # optional: old root URL that redirects to this page
---
title, description, series, and order are required. order sets the page sequence in the table of contents and prev/next links.
Add a link to the page in the Tutorials menu in src/data/nav.ts. Nav links are written by hand.
These are mapped for every tutorial page, so they need no import.
<AlgBlock alg="R U R' U'" name="..." alts={["..."]} showCube stickering="OLL" puzzle="3x3x3" />: an algorithm with a copy button. Only alg is required.<CubeView label="..." alg="..." setup="..." stickering="OLL" view="2D" size="sm" />: a cube diagram. label is required and doubles as the caption and accessible name. Other props: puzzle, view (2D or 3D), yellowTop, setupFromAlgInverse, controls, and size (sm, md, lg).<Callout type="tip">...</Callout>: a note box. type is note (default) or tip.<Figure src={image} alt="..." caption="..." width={300} />: an image. Import the file from the page's images/ folder, for example import cross1 from './images/cross-1.png';.Algorithms can be written in spaced cubing.js notation (R U R' U') or in compact form (RUR'U'). The components normalize either form.