Skip to content

Instantly share code, notes, and snippets.

View lackneets's full-sized avatar
🤗
Sorry I am super busy. I may respond in weeks or months

Lackneets Chang (小耀博士) lackneets

🤗
Sorry I am super busy. I may respond in weeks or months
  • TAROBO Investment Advisors Ltd.
  • Taipei, Taiwan
View GitHub Profile
@jrichardsz
jrichardsz / convertSheet2Json.gs
Last active November 16, 2024 12:41 — forked from daichan4649/convertSheet2Json.gs
spreadsheet as json api using Google Apps Script
/* Source: https://gist.github.com/daichan4649/8877801 */
function doGet(e) {
//tab name in sheet
var sheetName = "Sheet 1";
//key in url of document
var sheetId = "1234...";
var book = SpreadsheetApp.openById(sheetId);
var sheet = book.getSheetByName(sheetName);
# frozen_string_literal: true
if Rake::Task.task_defined?('webpacker:clean')
puts %(Task webpacker:clean has already been defined. The monkey patch located in "#{__FILE__}" can be removed.)
else
module WebPackerClean
def clean
return if !config.public_output_path.exist? || !config.public_manifest_path.exist?
count_to_keep = 2