This file contains 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
<?php | |
require_once __DIR__ . '/vendor/autoload.php'; | |
class DriveFile | |
{ | |
private $service = null; | |
private $client = null; | |
private $auth; |
This file contains 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
/** | |
* Perform a Network Service Lookup, using StatDNS API. | |
* | |
* @param {"google.com"} dn A well-formed domain name to resolve. | |
* @return {String} Resolved IP address | |
* @customfunction | |
*/ | |
function NSLookup(dn) { | |
// From gist.github.com/mogsdad/ece531531e0ef5dc355d |
This file contains 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
/*****************************************************************************\ | |
* Batch Spreadsheet geocode find county * | |
* Author: Alan Christopher Thomas * | |
* http://alanchristopherthomas.com/ * | |
\*****************************************************************************/ | |
//Pull counties (administrative_area_level_2) from Google geocoder | |
function onOpen() { | |
// Add the Geocode menu | |
SpreadsheetApp.getActiveSpreadsheet().addMenu("Geocoder", [{ |