- Dockerインストール済みであること
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="https://d3js.org/d3.v7.min.js"></script> | |
<script src="https://unpkg.com/cal-heatmap/dist/cal-heatmap.min.js"></script> | |
<script src="https://unpkg.com/cal-heatmap/dist/plugins/Legend.min.js"></script> | |
<script src="https://unpkg.com/@popperjs/core@2"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function openFilePicker () { | |
const pickerOpts = { | |
types: [ | |
{ | |
accept: { | |
'text/*': ['.csv', '.tsv'] | |
} | |
}, | |
], | |
excludeAcceptAllOption: true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script type="importmap"> | |
{ | |
"imports": { | |
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<link rel="stylesheet" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @see: https://developer.mozilla.org/en-US/docs/Web/API/FileSystemDirectoryHandle | |
async function* load (dirHandle, dir = '') { | |
const currentdir = dir + '/' + dirHandle.name; | |
for await (const handle of dirHandle.values()) { | |
if (handle.kind === 'file') { | |
yield currentdir + '/' + handle.name; | |
} else if (handle.kind === 'directory') { | |
yield* load(handle, currentdir); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DataModel | |
class UserModel { | |
constructor(data = {}) { | |
this.id = data.id ?? null; | |
this.name = data.name ?? ''; | |
} | |
} | |
class BookModel { | |
constructor(data = {}) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: show-row | |
description: 選択された行の値を列を表示 | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(run)); | |
const rowName = [ | |
"A", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Excel Sheet List | |
description: Listup Excel Worksheets | |
host: EXCEL | |
api_set: {} | |
script: | |
content: | | |
$("#run").click(() => tryCatch(refresh)); | |
// ワークシート一覧を作成 | |
async function refresh() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>CSV Viewer</title> | |
<script src="https://cdn.tailwindcss.com"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/encoding-japanese/2.0.0/encoding.min.js"></script> | |
<script type="importmap"> |
NewerOlder