I hereby claim:
- I am katrina376 on github.
- I am katrina376 (https://keybase.io/katrina376) on keybase.
- I have a public key ASA2zrkcIiwIlrdcRUequjQi8vnnr_306h3nQjEm1JSlVAo
To claim this, I am signing this object:
$('#dat-form').onsubmit = function (ev) { | |
ev.preventDefault(); | |
dat_value = ev.target.elements.dat_field_name.value | |
var xhr = new XMLHttpRequest(); | |
xhr.onreadystatechange = function () { | |
if (xhr.readyState === 4) { | |
if (xhr.status === 200) { | |
dat_action(xhr.responseText); |
import urllib.request | |
file_list = [ | |
{ 'url': '<url>', 'name': 'name', 'type': 'type'}, | |
# ... | |
] | |
for f in file_list: | |
urllib.request.urlretrieve(f['url'], f['name'] + f['type']) |
import csv | |
import numpy as np | |
people_to_building_list = [] | |
building_to_station_list = [] | |
with open('./data/people_to_building.csv', 'rb') as csvfile: | |
raw = [] | |
spamreader = csv.reader(csvfile, delimiter=',') |
This Gist is created by Katrina Chan ([email protected]), | |
for storing some frequently used scripts when developing Google Apps Script project. | |
Licensed under MIT. | |
[Updates] | |
2016/12/30 update googl.gs, sheet2Arr.gs | |
2018/3/7 update sheet2JSONsrv.gs |
I hereby claim:
To claim this, I am signing this object: