顯示具有 JavaScript 標籤的文章。 顯示所有文章
顯示具有 JavaScript 標籤的文章。 顯示所有文章

2023年9月26日 星期二

2021年3月29日 星期一

Google APP Script

可將 Google Spreadsheet 作為 SQL 使用

https://github.com/agershun/alasql

Google Sheets SUPERSQL QUERY Function - Apps Script SQL AlaSQL UDF - Part 1

https://www.youtube.com/watch?v=0KuSD5PGQF8&t=1304s

可用 Local 開發版控

https://github.com/google/clasp

利用 APP Script 建立 HTML 網頁:

// html string

function doGet(e) {

  var param = e.parameter;

  var sheet = SpreadsheetApp.getActiveSheet();

  sheet.getRange(sheet.getLastRow() + 1,1).setValue([param.name]);

  return HtmlService.createHtmlOutput('<b>Hello, world!</b>');

}

// html file

function doGet() {

  return HtmlService.createHtmlOutputFromFile('index.html')

}

2020年8月31日 星期一

Resumable Upload

上傳斷點續傳

Tus
https://uppy.io/docs/tus/

Resumable.js

A JavaScript library providing multiple simultaneous, stable
and resumable uploads via the HTML5 File API

http://resumablejs.com/

2019年11月28日 星期四