use git diff to generate file list
git diff --name-only master
add ext filter
use git diff to generate file list
git diff --name-only master
add ext filter
Image.js from the source below (it is almost a copy of Image.js from tiptap-extensions
except that it has a constructor that accepts uploadFunc (function to be called with image being uploaded) and additional logic if(upload) { ... } else { ... previous base64 logic .. } in the new Plugin section.import {Node, Plugin} from 'tiptap'
import {nodeInputRule} from 'tiptap-commands'
/**
* Matches following attributes in Markdown-typed image: [, alt, src, title]
*| # Set the control character to Ctrl+Spacebar (instead of Ctrl+B) | |
| set -g prefix C-space | |
| unbind-key C-b | |
| bind-key C-space send-prefix | |
| # Set new panes to open in current directory | |
| bind c new-window -c "#{pane_current_path}" | |
| bind '"' split-window -c "#{pane_current_path}" | |
| bind % split-window -h -c "#{pane_current_path}" |
| /* | |
| * 1. ../tsconfig.json に設定ファイルを置く | |
| * 2. ../cases/ の中に example.ts みたいなファイルを置く (/// TSXXXX: ~ でその行で期待するコンパイルを記述する。~の部分は正規表現) | |
| * 3. _runner.ts を ava で実行すると、出力サンプルみたいな感じで結果が出力される | |
| */ | |
| import * as ts from "typescript/lib/typescript"; | |
| import * as fs from "fs"; | |
| import * as path from "path"; | |
| import * as glob from "glob"; |
| #!/usr/bin/env node | |
| // Using the firebase-admin approach where database security rules do not apply. | |
| // Here you are authenticating with a private key. The key JSON file is available via | |
| // the Firebase web UI: project settings > service accounts > generate new private key. | |
| var admin = require("firebase-admin"); | |
| admin.initializeApp({ | |
| credential: admin.credential.cert(".adminServiceAccountKey.json"), |
| 更新: | 2024-05-20 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2024.1 |
| URL: | https://voluntas.github.io/ |