Skip to content

Instantly share code, notes, and snippets.


Martin Andrews mdda

View GitHub Profile
mdda /
Created Jan 19, 2020 — forked from SamuelMarks/
Nothing to TPU in 5 Google Cloud commands

Google Cloud configuration

First: install the CLI program for your distribution:


Modify accordingly:

export REGION='us-central1'
export ZONE='us-central1-f'
export PROJECT_NAME='proj'
View Signal reconstruction from spectrograms.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
mdda /
Created Jul 18, 2014
CSV-to-sqlite importer with simple DSL to map ports 'AIS' data
# -*- coding: utf-8 -*-
import sqlite3
import re
import sys, csv
import datetime, time
db_file = "ports.db"
You can’t perform that action at this time.