Code Block |
---|
|
#!/usr/bin/python
import googlemaps
import json
import sys
import re
f = open('/mit/boojum/Secret/google-map-key', 'r')
key = f.readline().rstrip('\n');
gmaps = googlemaps.Client(key);
home='10 Lester Terrace, Somerville, MA'
places = []
portalfile = sys.argv[1]
f = open(portalfile)
for line in f:
if '#' not in line[0]:
if 'http' in line:
url = line.split(';')[2]
geo = url.split('=')[3]
places.append(geo)
places.append(home)
totalmin = 0 |
Latex |
---|
\[ \left( \begin{array}{ccc}
a & b & c \\
d & e & f \\
g & h & i \end{array} \right)\]
is given by the formula
\[ \chi(\lambda) = \left| \begin{array}{ccc}
\lambda - a & -b & -c \\
-d & \lambda - e & -f \\
-g & -h & \lambda - i \end{array} \right|.\] |
Cloak |
---|
|
This is stuff which is hidden or not hidden. |
This is the home of the Laura's Test Wiki space.
...
blah blah blah
To help you on your way, we've inserted some of our favourite macros on this home page. As you start creating pages, adding news items and commenting you'll see the macros below fill up with all the activity in your space.
More things
Some stuff here
...