Skip to content

Instantly share code, notes, and snippets.

View michaelroy-yvr's full-sized avatar

Michael Roy michaelroy-yvr

View GitHub Profile
@chrislkeller
chrislkeller / import_json_appsscript.js
Last active March 25, 2024 19:45
Adds what amounts to an =ImportJSON() function to a Google spreadsheet... To use go to Tools --> Script Editor and add the script and save.
/**
* Retrieves all the rows in the active spreadsheet that contain data and logs the
* values for each row.
* For more information on using the Spreadsheet API, see
* https://developers.google.com/apps-script/service_spreadsheet
*/
function readRows() {
var sheet = SpreadsheetApp.getActiveSheet();
var rows = sheet.getDataRange();
var numRows = rows.getNumRows();
@sgregson
sgregson / readme.md
Last active July 1, 2021 22:26
Romney Tax Plan code breakdown

came back across this recently and the site is defunkt. Looks like the internet archive captured it all at: https://web.archive.org/web/20121101005518/http://www.romneytaxplan.com/

From an old description on mashable

President Obama has reproached Mitt Romney for not providing details on his alleged "$5 trillion tax cut plan" and how he'd pay for it. Now the Democratic National Committee has launched an interactive website that builds on the Obama campaign's claims that Romney's evading the details. At romneytaxplan.com, under Romney's campaign logo and slogan, you'll read this: "For a detailed explanation of how the Romney-Ryan tax plan is able to cut taxes by $5 trillion without raising taxes on the middle class or exploding the deficit, simply click the button below." A big, red button that reads "get the details" is in the middle of the page. If you try to click it though, or if you even try to just get close to it with your mouse, the button dodges y