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
const data = await Search(args.shortcutParameter) | |
await DisplaySelect(data.results) | |
const DetailHtml= (data) => (` | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=3.0"> | |
<title>Anime Detail</title> | |
</head> | |
<body> |
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
package main | |
import ( | |
"bufio" | |
"encoding/csv" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"os" |
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
function exportToJSON() { | |
const result = {} | |
const spreadSheet = SpreadsheetApp.getActiveSpreadsheet().getSheets() | |
spreadSheet.forEach(sheet => { | |
const name = sheet.getName() | |
const matched = name.match(/\[([가-힣!]+)\]/) | |
if(!matched) return | |
result[matched[1]] = [] | |
const num = sheet.getLastRow() | |
const values = sheet.getSheetValues(2,1,num, 5) |
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
// Simple script for turn off all notification of youtube channels. | |
// It was created on 2023-02-11. May not working correctly | |
// 1. Visit https://www.youtube.com/feed/channels | |
// 2. Open developer tools console | |
// 3. Paste and run following script. | |
var delay = () => new Promise((res) => setTimeout(res, 10)) | |
(async () => { | |
for(const item of list){ |