Mac 系统内置快捷键
Commands | Usage | Mean |
---|---|---|
Command + A | 全选 | Select All |
Command + X | 剪切 | Cut |
Command + C | 复制 | Copy |
Command + V | 粘贴 | Paste |
@import url("https://fonts.googleapis.com/css?family=Roboto:400,100,300,500,700"); | |
body { | |
background: #eeeef4; | |
color: #999; | |
font-family: Roboto; | |
} | |
h1 { | |
font-weight: 100; |
// Box:灵活的通用容器,适用于任何布局和样式需求。 | |
// Stack:用于垂直或水平排列子组件,提供简洁的布局方式。 | |
// Sheet:预样式化的容器,适用于卡片、面板等需要一致外观的场景 | |
"use client"; | |
import Box from "@mui/joy/Box"; | |
import Slider from "@mui/joy/Slider"; | |
import Typography from "@mui/joy/Typography"; | |
import ExampleTextareaComment from "./ExampleTextareaComment"; |
"use client"; | |
import Box from "@mui/joy/Box"; | |
import Sheet from "@mui/joy/Sheet"; | |
import Table from "@mui/joy/Table"; | |
import { FixedSizeList as List } from "react-window"; | |
const generateMarkdownTable = (numRows: number) => { | |
const header = ` | |
| date | key | new_confirmed|new_deceased|new_recovered|new_tested|cumulative_confirmed|cumulative_decreased|cumulative_recovered|cumulative_tested| | |
|--:|:--|:--|--:|--:|--:|--:|--:|--:|--:|--:|`; |
function sw() { | |
git switch $args | |
} | |
function unresolve() { | |
git checkout --conflict=merge -- | |
} | |
# temporarily ignoring files | |
function ignore() { |
{ | |
// $0 — tab stop final cursor position | |
// $1, $2 for tab stops — tab stop to specify the cursor location and allow the user to customize the the name of the component | |
// ${1:label}, ${2:another} for placeholders. | |
// ${TM_FILENAME_BASE} — variable for getting the current filename | |
// \t | |
// /capitalize | |
// JS & TS import snippets | |
"Print to console": { |