çµè«
.ruby-lsp/
ãåé¤ãã- Visual Studio Code ãåèµ·åãã
.ruby-lsp/
ãåé¤ãã表é¡ã®ã¨ããã§ãv6 㨠v7 ã§ã¯çæããããã¤ããªã¯ç°ãªãã
before.jpg
ã¨ãããã¡ã¤ã«åã§ä¿åãã$ wget -O before.jpg "https://images.unsplash.com/photo-1720048170996-40507a45c720?q=80&w=2513&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"
$ convert -strip -geometry 50% before.jpg after.jpg # macOS ã§ã¯ "md5sum" ã§ã¯ãªã "md5" ã«ãªã $ md5sum after.jpg
$ magick before.jpg -strip -geometry 50% after.jpg # macOS ã§ã¯ "md5sum" ã§ã¯ãªã "md5" ã«ãªã $ md5sum after.jpg
*1:ãã¼ã å ¨ä½ã«åºå®ãæ±ããã®ã¯æé
Node
(Npm
) ã®ç®¡çã«ã¯ nodenv
ãç¨ãã¦ããåæã§ãããä»ã®é¡ä¼¼ã®ãã¼ã«ã§ãåæ§ãã¨æãã¾ã2ç¹è¡ãå¿ è¦ãããã¾ããã
以ä¸ã®è¨äºãå®ç§ã§ãã
å ·ä½çã«ã¯ä»¥ä¸ã®å 容ã追è¨ãã¾ãã
"jest.shell": { "path": "/usr/bin/env", "args": ["zsh", "--login"] },
.zshrc
ã§ã¯ãªã .zshenv
ã«æ¸ãã¾ã*1ã
# nodenv export PATH="$HOME/.nodenv/bin:$PATH" eval "$(nodenv init -)"
以ä¸ã®ãããªã¨ã©ã¼ã¡ãã»ã¼ã¸ããåºã¦ãã¾ããã
zsh: command not found: npm
exec: node: not found
jest vscode /bin/sh: 1: npm: not found
/bin/sh: 1: npm: not found
[error] Failed to start jest session: zsh: command not found: npm
*1:.zshenv ã¯ããªã±ã¼ããªã®ã§è¨è¿°å 容ã«ã¯æ³¨æããå¿ è¦ãããã¾ã
Yes
ã 㨠npm init
ç㪠package.json
ãçæãããNo
ã 㨠æä½éã® package.json
ãçæãããNo
ã«ããããã¨ãã£ã¦ package.json
ãçæãããªãã¨ãããã¨ã§ã¯ãªãYes
ã«ãªã£ã¦ããããèªåã§ã¯ããã©ã«ã㯠No
ã§ããã¨æã{ "name": "foobar", "version": "0.0.0", "description": "", "main": "build/index.js", "license": "Apache-2.0", "keywords": [], "scripts": { "clean": "rimraf build dist", "lint": "npm run license && eslint --fix --no-error-on-unmatched-pattern src/ test/", "bundle": "rollup --no-treeshake -c rollup.config.mjs", "build": "npm run clean && npm run bundle && ncp appsscript.json dist/appsscript.json", "license": "license-check-and-add add -f license-config.json", "test": "jest test/ --passWithNoTests --detectOpenHandles", "deploy": "npm run lint && npm run test && npm run build && ncp .clasp-dev.json .clasp.json && clasp push -f", "deploy:prod": "npm run lint && npm run test && npm run build && ncp .clasp-prod.json .clasp.json && clasp push" }, "engines": { "node": ">=12" }, "dependencies": { "@google/clasp": "^2.4.2", "@types/google-apps-script": "^1.0.89", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.19.0", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "gts": "^6.0.2", "jest": "^29.7.0", "license-check-and-add": "^4.0.5", "ncp": "^2.0.0", "prettier": "^3.4.2", "rimraf": "^6.0.1", "rollup": "^4.29.1", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-license": "^3.5.3", "rollup-plugin-prettier": "^4.1.1", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.5", "typescript": "^5.7.2" } }
{ "scripts": { "clean": "rimraf build dist", "lint": "npm run license && eslint --fix --no-error-on-unmatched-pattern src/ test/", "bundle": "rollup --no-treeshake -c rollup.config.mjs", "build": "npm run clean && npm run bundle && ncp appsscript.json dist/appsscript.json", "license": "license-check-and-add add -f license-config.json", "test": "jest test/ --passWithNoTests --detectOpenHandles", "deploy": "npm run lint && npm run test && npm run build && ncp .clasp-dev.json .clasp.json && clasp push -f", "deploy:prod": "npm run lint && npm run test && npm run build && ncp .clasp-prod.json .clasp.json && clasp push" }, "dependencies": { "@google/clasp": "^2.4.2", "@types/google-apps-script": "^1.0.89", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^8.19.0", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "gts": "^6.0.2", "jest": "^29.7.0", "license-check-and-add": "^4.0.5", "ncp": "^2.0.0", "prettier": "^3.4.2", "rimraf": "^6.0.1", "rollup": "^4.29.1", "rollup-plugin-cleanup": "^3.2.1", "rollup-plugin-license": "^3.5.3", "rollup-plugin-prettier": "^4.1.1", "rollup-plugin-typescript2": "^0.36.0", "ts-jest": "^29.2.5", "typescript": "^5.7.2" } }
Yes
ãé¸ãã ã¨ãã«ã ãã以ä¸ã®é¨åãå®è¡ãããã¨ããåå²ã«ãªã£ã¦ãã¾ãã
以ä¸ã®ããã«æ¸ãã
--- title: ããã«ã¿ã¤ãã«ãå ¥ã ---
--- title: ãµã³ãã«ERå³ --- erDiagram %% ã¢ã½ã·ã¨ã¼ã·ã§ã³ users ||--o{ posts : "1人ã®ã¦ã¼ã¶ã¼ã¯0以ä¸ã®æ稿ãæã¤" users ||--o{ comments: "1人ã®ã¦ã¼ã¶ã¼ã¯0以ä¸ã®ã³ã¡ã³ããæã¤" posts ||--o{ comments: "1ã¤ã®æ稿ã¯0以ä¸ã®ã³ã¡ã³ããæã¤" %% ãã¼ãã«å®ç¾© users { bigint id PK string name "ã¦ã¼ã¶ã¼å" timestamp created_at timestamp deleted_at } posts { bigint id PK references user FK string title "æ稿ã¿ã¤ãã«" text content "æ稿å 容" timestamp created_at timestamp deleted_at } comments { bigint id PK references post FK references user FK text content "ã³ã¡ã³ãå 容" timestamp created_at timestamp deleted_at }