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
| #!/usr/bin/python | |
| import csv | |
| import json | |
| import urllib2 | |
| def main(): | |
| rows = [] | |
| url = 'https://docs.google.com/spreadsheet/pub?key=0Al2vbsd4zHJbdExOR0tBY2JfT0U0cVphb3hrMVd6WWc&output=csv' |
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
| 'use strict'; | |
| var corslite = require('corslite'), | |
| JSON3 = require('json3'), | |
| strict = require('./util').strict; | |
| module.exports = function(url, callback) { | |
| strict(url, 'string'); | |
| strict(callback, 'function'); | |
| $.getJSON(url + '?callback=?', function(data) { |
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
| /* Global Constants */ | |
| var cID = 0, cURL = 1, cName = 2, cContact = 3, cChanged=4, cChecksum=5, cMirrorPage=6; // column indices | |
| var baseSiteUrl = 'https://sites.google.com/site/smelendeznicarmirror/'; // site to store mirrored content | |
| var site = SitesApp.getSiteByUrl(baseSiteUrl); | |
| var today = Date(); | |
| function test() { | |
| var sheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| GmailApp.sendEmail("smelendez@gmail.com","", sheet.getUrl()); | |
| } |
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
| ds = new Miso.Dataset({ | |
| url: "data/spreadsheet.tsv", | |
| delimiter: "\t" | |
| }); |
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
| #!/bin/bash | |
| wget -O - 'https://docs.google.com/spreadsheet/pub?key=0AjUUa__FW_6RdERnMnBFX2xPQS01dC11WWxmQXhZcWc&single=true&gid=0&output=txt' | cut -f1,2,4 > spreadsheet.tsv |