Skip to content

Instantly share code, notes, and snippets.

-- This exercise covers the first 6 chapters of "Learn You a Haskell for Great Good!"
-- Chapter 1 - http://learnyouahaskell.com/introduction
-- Chapter 2 - http://learnyouahaskell.com/starting-out
-- Chapter 3 - http://learnyouahaskell.com/types-and-typeclasses
-- Chapter 4 - http://learnyouahaskell.com/syntax-in-functions
-- Chapter 5 - http://learnyouahaskell.com/recursion
-- Chapter 6 - http://learnyouahaskell.com/higher-order-functions
-- Download this file and then type ":l Chapter-1-6.hs" in GHCi to load this exercise
@did1335
did1335 / google_excel_api.js
Created March 18, 2020 18:25 — forked from annaliahsiao/google_excel_api.js
將Google試算表當成線上資料庫
/*-----------------google試算表程式碼區-----------------*/
function doGet(e) {
var callback = e.parameter.callback;
var returnObject = getDate();
return ContentService.createTextOutput(callback+'('+ JSON.stringify(returnObject)+')').setMimeType(ContentService.MimeType.JAVASCRIPT);
}
function getDate(){
var ss = SpreadsheetApp.getActiveSpreadsheet();
var rtjs = [];
<!DOCTYPE html>
<iframe src ="https://www.gitmemory.com/did1335">my git memory</iframe>