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 onEdit(e) { | |
var ss = SpreadsheetApp.getActive(); | |
var sampleDataSheet = ss.getSheetByName("sample_data"); | |
var mohPhiDataSheet = ss.getSheetByName("moh_phi_data"); | |
// Check if the active sheet is "sample_data" and the active cell is in the first column (MOH area) | |
if (ss.getActiveSheet().getName() == "sample_data" && e.range.getColumn() == 1) { | |
// Notify user of populating process | |
SpreadsheetApp.getActiveSpreadsheet().toast("Populating PHI Values") |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import fire | |
from pyngrok import ngrok | |
def set_ngrok_auth_token(ngrok_auth_token): | |
ngrok.set_auth_token(ngrok_auth_token) | |
if __name__ == "__main__": | |
fire.Fire(set_ngrok_auth_token) |