TileStream is a high-performance map tile server powered by MBTiles files.
-
Written in: Javascript (node.js)
-
Made by: Mapbox
-
Limitations
- Only serves maps that are generated with TileMill (can not yet render tiles)
/usr/bin/env python -c import numpy | |
/usr/bin/env python -c import numpy | |
==> Downloading ftp://ftp.ldeo.columbia.edu/pub/MB-System/mbsystem-5.4.2168.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/mbsystem-5.4.2168.tar.gz | |
==> Verifying mbsystem-5.4.2168.tar.gz checksum | |
tar xf /Library/Caches/Homebrew/mbsystem-5.4.2168.tar.gz | |
==> Downloading ftp://ftp.ldeo.columbia.edu/pub/MB-System/annual.gz | |
Already downloaded: /Library/Caches/Homebrew/mbsystem--levitus-5.4.2168.gz | |
==> Verifying mbsystem--levitus-5.4.2168.gz checksum | |
==> ./configure --disable-static --enable-shared |
#! /bin/csh -f | |
# | |
# Shellscript to create Postscript plot of swath sonar data | |
# Created by macro mbm_plot | |
# | |
# This shellscript created by following command line: | |
# mbm_plot -F -1 -I survey-datalist -N | |
# | |
# Define shell variables used in this script: | |
set PS_FILE = survey-datalist.ps |
TileStream is a high-performance map tile server powered by MBTiles files.
Written in: Javascript (node.js)
Made by: Mapbox
Limitations
from twisted.protocols.ftp import FTP, FTPFactory, FTPRealm | |
from twisted.cred.portal import Portal | |
from twisted.cred.checkers import FilePasswordDB | |
from twisted.internet import reactor | |
import os | |
# Sources | |
# - http://twistedmatrix.com/trac/attachment/ticket/1579/ftp_server_example.py | |
# - http://stackoverflow.com/questions/9790121/twisted-simple-file-completed-event-for-ftp-server |
Despite the fact that Seattle is a neighborhood-oriented city, you will probably end up downtown at some point. If you want to go shopping, this is where that would be.
from collections import OrderedDict | |
import inflect | |
p = inflect.engine() | |
ORDINAL_NUMBER_MAP = OrderedDict() | |
for i in range(1, 300): # Highest avenue in New York is 271st | |
word_form = p.number_to_words(i) # 1 -> 'one' |
import datetime | |
import json | |
from django.db import models | |
from django_hstore import hstore | |
serialize = lambda d: ( | |
json.dumps(d.isoformat()) if isinstance(d, datetime.datetime) else | |
json.dumps(d) |
#!/usr/bin/python | |
""" | |
This script assumes that you have a LCD connected to a RaspberryPi or BeagleBone | |
Black as as described in this tutorial: | |
https://learn.adafruit.com/character-lcd-with-raspberry-pi-or-beaglebone-black | |
along with a temperature sensor as described in this tutorial: | |
https://learn.adafruit.com/measuring-temperature-with-a-beaglebone-black | |
""" | |
from collections import deque |
from django.contrib import admin, messages | |
from django.http import HttpResponseRedirect | |
from django.shortcuts import render | |
from my_app.forms import CustomForm | |
class FakeModel(object): | |
class _meta: | |
app_label = 'my_app' # This is the app that the form will exist under |