Skip to content

Instantly share code, notes, and snippets.

@adamb0mb
adamb0mb / WalkScore.gs
Last active January 21, 2024 18:51
Google Apps Script for fetching WalkScore
/****************
* This is an example of how to pull data from the WalkScore API from Google Spreadsheets
* Hastily Written by Adam Phillabaum <adam@phillabaum.us>
*
* An example invocation looks like:
* "=WalkScore(AE2,AF2,C2)"
* Where AE2 is latitude, AF2 is longitude, and C2 is the address
*
* Get your WalkScore API key here: http://www.walkscore.com/professional/api-sign-up.php
* Don't worry, it's free and instant... even though it looks like a leadgen form
@adamb0mb
adamb0mb / backup_mongo.bat
Created October 28, 2013 04:14
I needed a basic script to do basic backup of a set of databases on a mongodb on Windows.
REM | Hobo simple backup scripts for MongoDB
REM | Hastily constructed by Adam Phillabaum <adamp@payscale.com>
REM | Starting point was here: http://stackoverflow.com/a/5497138/240539
REM |
REM | Dumps all databases from a mongo server, then copies them to a network share.
REM | It just deletes old backups without any safety checks. Not safe.
REM CONFIG SETTINGS
SET host=mongoserver:27017
SET mongoBin=.