SHEET_NAME="Sheet1"
URL="https://data.sparkfun.com/output/VFEEYZENwLCNwE8LZjDA.csv"
function myFunction() {
ScriptApp.newTrigger("getData")
.timeBased()
.everyMinutes(1)
.create();
}
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
import re | |
from notion.client import NotionClient | |
def enumerate_notion_items( | |
view_url, id_col, created_at_col="created_time", token=None, client=None | |
): | |
""" | |
Given that a property with name e.g. "Item ID" exists for a notion dataset, | |
and that at least one item has a value for that property, this function |
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
hanxue-mac:Github hanxue$ git clone https://github.com/AppScale/appscale.wiki.git | |
Cloning into 'appscale.wiki'... | |
remote: Counting objects: 1745, done. | |
remote: Compressing objects: 100% (1733/1733), done. | |
remote: Total 1745 (delta 1089), reused 10 (delta 4) | |
Receiving objects: 100% (1745/1745), 267.93 KiB | 35.00 KiB/s, done. | |
Resolving deltas: 100% (1089/1089), done. | |
Checking connectivity... done | |
hanxue-mac:Github hanxue$ ls appscale.wiki/ | |
.git/ |
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
import uuid | |
import wtforms_json | |
from sqlalchemy import not_ | |
from sqlalchemy.dialects.postgresql import UUID | |
from wtforms import Form | |
from wtforms.fields import FormField, FieldList | |
from wtforms.validators import Length | |
from flask import current_app as app | |
from flask import request, json, jsonify, abort |
Roll your own iPython Notebook server with Amazon Web Services (EC2) using their Free Tier.
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/sh | |
### BEGIN INIT INFO | |
# Provides: IBController | |
# Short-Description: starts instance of IBController | |
# Description: starts instance of IBController using start-stop-daemon | |
### END INIT INFO | |
# IBController | |
IBC_PATH="/path/to/IBController" |