Skip to content

Instantly share code, notes, and snippets.

@feomike
feomike / image001.png
Last active August 29, 2015 14:13
trig example
image001.png
@feomike
feomike / offset_pt.py
Created December 30, 2014 01:38
offsetting a point by 90 degrees
#offset the points to the appropriate side based on the direction of the arc and the
#side that these addresses should be on. this function uses trigonometry to move a
#a delta x and and delta y.
#then return new X and Y as a list
#arguments:
#-myX is the X value of the input point
#-myY is the Y value of the input point
#-mySide is the side of the line (left or right)
#-myAz is the azimuth direction of the line (0-360)
def offset_pt(myX, myY, mySide, myAz):
@feomike
feomike / aphorism.md
Last active August 29, 2015 14:09
aphorism

Aphorism

This gist is a list of aphorims. it presents some opportinity to write down lessons learned for longer proving and/or exploration.

  • you go to graduate school; interesting things happen and you write that up
  • simple is best
  • everyone needs to learn to swim on their own
  • interested and willing is more important than aptitude (a) first law of post-cvsim; (b) interested and willing is multithreaded
  • the derivative is more important than the original question
@feomike
feomike / index.html
Last active August 29, 2015 14:08
rural_v.1
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.ie.css' rel='stylesheet'>
@feomike
feomike / index.html
Created October 22, 2014 11:24
rural example
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.ie.css' rel='stylesheet'>
@feomike
feomike / drawbike.aml
Last active May 7, 2021 18:03
bike aml drawing
&if [exists bkmap -dir] &then killmap bkmap
map bkmap
clear
&call symbolset
&call pagesetup
&call drawbox
&call drawtics
&call bblines
&call bglines
Shows I have seen
1. The Grateful Dead (Worcester, MA – April 2, 1987)
2. The Grateful Dead (Foxboro, MA – July 3, 1987)
3. The Grateful Dead (Providence RI – September 7, 1987)
4. The Grateful Dead (Worcester, MA – April 7, 1988)
5. The Grateful Dead (Saratoga Springs, NY – June 28, 1988)
6. The Grateful Dead (Rochester, NY – June 30, 1988)
7. The Grateful Dead (Washington D.C. – August 23, 1988)
8. The Grateful Dead (Oakland, CA – February 6, 1989)
9. The Grateful Dead (Oakland, CA – February 7, 1989)
@feomike
feomike / image001.png
Last active August 29, 2015 14:01
will's first scratch
image001.png
@feomike
feomike / index.html
Last active August 29, 2015 13:57
julie_test
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Map Template</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.js'></script>
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-hash/v0.2.1/leaflet-hash.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.1/mapbox.css' rel='stylesheet' />
<style>
@feomike
feomike / index.html
Created February 23, 2014 16:48
example
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title></title>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.js'></script>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.css' rel='stylesheet' />
<!--[if lte IE 8]>
<link href='//api.tiles.mapbox.com/mapbox.js/v1.4.0/mapbox.ie.css' rel='stylesheet'>