https://docs.google.com/presentation/d/1nhAxv6Re6bVAJNU-sd3kpJHe8igw_cf9RErL0ersFdY/edit?usp=sharing
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
// Subtracts two dates, formatted as e.g. 2025-04-10T12:46:10 | |
// Author: Eric Mill, [email protected] | |
// columns with notBefore and notAfter dates | |
var startField = "D"; | |
var endField = "E"; | |
var resultField = "F"; | |
// first sheet | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheets()[0]; |
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
https://docs.google.com/presentation/d/1R24Qb4J923qkswGnvThxprrvwGKEpBEF9MuLgZNkqLk/edit?usp=sharing |
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
#!/usr/bin/env python | |
import utils | |
import urllib | |
from utils import load_data, save_data | |
import io | |
import csv | |
def save_csv(header, rows, path): | |
output = io.StringIO() |
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
-- The function get_name() should return a single string that is the name of the puzzle. | |
-- | |
function get_name() | |
return "CAT FOOD DISPENSER" | |
end | |
-- The function get_description() should return an array of strings, where each string is | |
-- a line of description for the puzzle. Surrounding text with asterisks will cause it to | |
-- be rendered in bold, something we use when mentioning a signal by name. | |
-- |
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
#!/usr/bin/env ruby | |
# Forked from https://gist.github.com/pzb/84f867ed5a330093cfbf | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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
# -*- coding: utf-8 -*- | |
from sys import argv | |
import csv | |
import re | |
script, arg = argv | |
# Open the input raw subdomain list, the filtered output handle, and | |
# a file for likely-missing rows we'd like to take a second look at. |
An introduction to working with URLs, JSON, APIs, and open data -- without writing any code.
- A recent version of Firefox or Chrome.
- An extension installed for Firefox or Chrome to view JSON in your browser
- Firefox: bit.ly/json-firefox
- Chrome: bit.ly/json-chrome
My temporary key: 5iJToi6t1sdh66mQ7v1CDwnlbco4hoNfi6UfzkAj
Before we begin:
- An extension installed for Firefox or Chrome to view JSON in your browser
- Firefox: bit.ly/json-firefox
- Chrome: bit.ly/json-chrome
- https://api.data.gov/signup/
My current every-day songs are Mungolian Jet Set:
- https://www.youtube.com/watch?v=wBnFkJefArQ (how I found them)
- https://www.youtube.com/watch?v=jpypnjGNpY4
- https://www.youtube.com/watch?v=uFWOhaKkbw4 (the second half from 5:00 on, specifically)
Some of my favorite Todd Terje:
NewerOlder