Skip to content

Instantly share code, notes, and snippets.

View asrivas's full-sized avatar

Anu asrivas

View GitHub Profile
@asrivas
asrivas / index.js
Created April 5, 2020 02:43
Account Look Up Local Script
/* eslint-disable guard-for-in */
const fs = require('fs');
const readline = require('readline');
const {google} = require('googleapis');
const ACCOUNT_IMAGE_URL = 'https://www.gstatic.com/images/icons/material/system_gm/1x/account_circle_black_18dp.png';
const ACCOUNTS_SHEET_URL = 'https://docs.google.com/spreadsheets/d/16BDMJisBWYtUwHu_aTAsXgvnuMVCNr3vTMQvKeUIBsk/edit?ts=5e79672f#gid=1366792614';
const ACCOUNTS_SHEET_ID = '16BDMJisBWYtUwHu_aTAsXgvnuMVCNr3vTMQvKeUIBsk';
const CLUSTER_RANGES = {
@asrivas
asrivas / Code.gs
Last active March 28, 2019 16:17
Virtual Gallery
/**
* @license
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*