- https://www.directonedesign.com
This file contains hidden or 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
/* | |
This overall script is designed to bulk create Google Sheets from data within a Google Sheet. | |
*/ | |
function getSpreadsheetData() { | |
// Log starting of the script | |
logEvent('Script has started'); | |
// get current spreadsheet |
This file contains hidden or 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 test_parse() { | |
var file = SpreadsheetApp.getActive(); | |
var sheet = file.getSheetByName('Sheet1'); // change | |
var sets = { | |
rangeParse: sheet.getRange('L2:L16429'), // change | |
rangeResult: sheet.getRange("M2"), // change | |
func_parse: parseOkkoFilmToGetHorizontalPoster_ // change / create your function | |
}; | |
parseUrls_(sets); | |
} |
This file contains hidden or 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 readTimer() { | |
// [ 1 ]. Get report | |
var tags = ['onMinute_admin', 'onMinute_worker', 'onMinute_importer', 'onMinute_sizif1', 'onMinute_sizif2']; | |
var report = getTimerReps_(tags); | |
console.log(report); | |
// => gives 2D Array with a report about executions. | |
// So U can write it on Spreadsheet. | |
// [ 2 ]. Gat all data from logs |
This file contains hidden or 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
// Create a loading bar in your Google Sheet using Google Apps Script | |
// Author: Al Chen (al@coda.io) | |
// Last Updated: April 13th, 2021 | |
// Notes: Assumes you are using the V8 runtime (https://developers.google.com/apps-script/guides/v8-runtime) | |
// Example Google Sheet: https://docs.google.com/spreadsheets/d/1ngvYKEMunqCVufR10rlK42iENAERp-uyiPN_aiq-MKo/edit?usp=sharing | |
SOURCE_SHEET_ID = 'YOUR_GOOGLE_SHEETS_ID' | |
SOURCE_WORKSHEET_NAME = 'YOUR_WORKSHEET_NAME' | |
function loop() { |
This file contains hidden or 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
/* | |
This overall script is designed to bulk create Google Folders from data within a Google Sheet | |
and add relevant permissions (if applicable). | |
*/ | |
function getSpreadsheetData() { | |
// Log starting of the script | |
logEvent('Script has started'); | |
This file contains hidden or 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
/* | |
Global variables to be accessed in other parts of the scripts. | |
*/ | |
// get spreadsheet | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
// get Welcome sheet | |
var welcomeSheet = ss.getSheetByName('Welcome'); | |
// get values from Welcome sheet |
This file contains hidden or 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
// Handling inline images and attachments so they can be included in the merge | |
// Based on https://stackoverflow.com/a/65813881/1027723 | |
// Get all attachments and inline image attachments | |
const msg = draft.getMessage(); | |
const allInlineImages = msg.getAttachments({includeInlineImages: true, includeAttachments: false}); | |
const attachments = msg.getAttachments({includeInlineImages: false}); | |
const htmlBody = msg.getBody(); | |
// Create an inline image object with the image name as key | |
// (can't rely on image index as array built based on insert order) |
This file contains hidden or 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
/* | |
create HTML modal dialogue box that won't suspend script. | |
https://developers.google.com/apps-script/reference/base/ui#showmodaldialoguserinterface,-title | |
*/ | |
function showHTMLPopup() { | |
var htmlOutput = HtmlService | |
.createHtmlOutput('<p>Congratulations this was a success.</p>') | |
.setWidth(320) |
This file contains hidden or 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
owner | repo | description | language | stargazers | |
---|---|---|---|---|---|
JanDeDobbeleer | oh-my-posh | A prompt theming engine for Powershell | PowerShell | 4780 | |
sourcegraph | sourcegraph | Universal code search (self-hosted) | Go | 4265 | |
ElaWorkshop | awesome-cn-cafe | A curated list of awesome coffee places in China. | JavaScript | 747 | |
ajeetdsouza | zoxide | A faster way to navigate your filesystem | Rust | 1913 | |
looly | hutool | A set of tools that keep Java sweet. | Java | 17423 | |
willmcgugan | rich | Rich is a Python library for rich text and beautiful formatting in the terminal. | Python | 20112 | |
rsms | markdown-wasm | Markdown parser and HTML generator implemented in WebAssembly. based on md4c | C | 742 | |
Higurashi-kagome | wereader | 一个 Chrome / Firefox 插件:主要用于微信读书做笔记,对常使用 Markdown 做笔记的读者尤其有帮助。 | JavaScript | 67 | |
netdata | netdata | Real-time performance monitoring. done right! https://www.netdata.cloud | C | 51023 |
This file contains hidden or 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
/** | |
* Check When Array was last Edited | |
* | |
* @param array Select the Array you want to check to see when it is updated i.e "A5:B5" | |
* @param timestampCell Select the Cell you want to put the timestamp for when array updated i.e "A1" | |
* @customfunction | |
*/ | |
function LASTEDIT(array,timestampCell) { | |
NewerOlder