Skip to content

Instantly share code, notes, and snippets.

Avatar

Saman Bemel-Benrud samanpwbb

View GitHub Profile
View gist:8713463
#poi_label::highlight {
[type='Stadium'] {
marker-fill: yellow;
}
}
View interview.md

St. Olaf Recent Grad Publication – Background Questions (notes are fine – don’t worry about the prose)

Name:

Saman Bemel-Benrud

Telephone Number:

202-290-0966

View underline.css
#place_label::underline[type='city'][zoom>=8][zoom<=15] {
text-name: "[name_en].replace('.*','_____')";
text-dy: 1;
text-size: 30;
text-face-name: @sans_bold;
text-transform: uppercase;
text-placement: point;
text-fill: @city_text;
text-halo-rasterizer: fast;
text-character-spacing: 0;
View gist:9220565
dyld: lazy symbol binding failed: Symbol not found: __ZN6mapnik15freetype_engine14register_fontsERKSsb
Referenced from: /Users/saman/work_repos/tm2/node_modules/mapnik/lib/binding/mapnik.node
Expected in: dynamic lookup
dyld: Symbol not found: __ZN6mapnik15freetype_engine14register_fontsERKSsb
Referenced from: /Users/saman/work_repos/tm2/node_modules/mapnik/lib/binding/mapnik.node
Expected in: dynamic lookup
Trace/BPT trap: 5
View markers.json
{"features":[{"geometry":{"coordinates":[-93.27749646949762,44.95420060700863],"type":"Point"},"properties":{"description":"2719 Nicollet Ave <br>\n<a href=\"http://www.quangrestaurant.com/\">quangrestaurant.com</a>","id":"fkhysq8p","marker-color":"#b5d378","marker-size":"medium","marker-symbol":"restaurant","marker-zoom":"17","title":"Quang Restaurant"},"type":"Feature"},{"geometry":{"coordinates":[-93.26090968894951,44.949204528154674],"type":"Point"},"properties":{"description":"920 E Lake St. Suite 145 <br>\n<a href=\"http://www.holylandbrand.com/midtownlocation.html\"></a>holylandbrand.com</a>","id":"jyzb0emo","marker-color":"#b5d378","marker-size":"medium","marker-symbol":"restaurant","marker-zoom":"17","title":"Holy Land"},"type":"Feature"},{"geometry":{"coordinates":[-93.28466333198541,44.93432760906985],"type":"Point"},"properties":{"description":"3756 Grand Ave S <br>\n<a href=\"http://www.victors1959cafe.com></a>victors1959cafe.com</a>","id":"y0mio5if","marker-color":"#b5d378","marker-size":"medium
View index.html
<!DOCTYPE html>
<html>
<head>
<title>Saman's Website</title>
<link rel="stylesheet" href="style.css" />
</head>
<h1>Saman's Website.</h1>
<p>Hi this is my website!</p>
View water.scss
#bathymetry[DEPTH<3000] {
text-face-name: 'hillshade Regular';
text-avoid-edges: true;
text-min-distance: 5;
text-placement:interior;
text-fill: mix(@lightblue,@blue,80);
text-allow-overlap: false;
text-name: "'a'";
[DEPTH>=0][DEPTH<500] {
View gist:e2386787f8702ab350a2
500 'PUT' '/style.json?id=tmstyle:///Users/saman/work_repos/tm2-custom-styles/saman-experiment-dots.tm2' 'Error: labels.mss:95:11 Missing closing ] of filter.'
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "vector_tile.Tile" because it is missing required fields: (cannot determine missing fields for lite message)
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "vector_tile.Tile" because it is missing required fields: (cannot determine missing fields for lite message)
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "vector_tile.Tile" because it is missing required fields: (cannot determine missing fields for lite message)
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "vector_tile.Tile" because it is missing required fields: (cannot determine missing fields for lite message)
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "vector_
View blah.js
// where prop is a form field ID like 'password' or 'username'
setValue(prop, e) {
this.setState({
[prop]: e.target.value
});
}
View gutters.html
<!-- We want three equal columns, left column justified left, right column justified right, with equal gutters for all three columns -->
<div class='col4'>
<div class='space-right1'><!-- content --></div>
</div>
<div class='col4'>
<div class='space-right0 space-left0'><!-- content --></div>
</div>
<div class='col4'>
<div class='space-left1'><!-- content --></div>
You can’t perform that action at this time.