Skip to content

Instantly share code, notes, and snippets.

Sample _prose.yml metadata configuration

prose:
  metadata:
    _posts:
      - name: "layout"
        field:
          element: "text"
          label: "Layout"
          value: "default"
@mikemorris
mikemorris / coffee.csv
Last active December 3, 2020 23:05
coffee.csv
place login lat lon
The coffee bar espresso 38.91427 -77.02827
Bistro Bohem 2027355895 38.91538 -77.02013
Black Cat luckycat 38.91458 -77.03155
Snap nutella1 38.92239 -77.04227
Columbia Heights Coffee FAIRTRADE1 38.93222 -77.02854
Azi's Cafe sunny 38.90842 -77.02419
Blind Dog Cafe baxtercantsee 38.91931 -77.02518
Le Caprice baguette 38.93260 -77.03304
Filter 38.91368 -77.04509
@mikemorris
mikemorris / coffee.geojson
Last active March 26, 2018 01:02
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mikemorris
mikemorris / windows.md
Last active December 21, 2015 02:19
prose/prose Windows dependencies
  • node
  • npm
  • make
  • test
  • curl
  • PowerShell or GitShell (for mkdir and rm)
@mikemorris
mikemorris / carmen.md
Last active December 21, 2015 03:49
mapbox/carmen dependencies
  • npm install -g node-gyp
  • echo 'alias node-waf="node-gyp"' >> ~/.bashrc && source ~/.bashrc
  • brew install libpng
  • nvm use 0.8 before npm install
@mikemorris
mikemorris / gist:6252970
Last active December 21, 2015 04:58
Devlog: Prose Backbone.js Refactor

Following up on the new features described by @dhcole in #217, @tristen and I embarked on a refactor of the underlying structure of Prose with the goal of building a more robust application that adhered to established Backbone.js conventions.

This work builds on the mission of Prose to be a viable alternative to traditional content management systems, replacing heavy backend infrastructure and databases with text files, leveraging the power of git for version control and relying on Jekyll for quick static site generation. In addition to concrete performance gains, the revised model layer unlocks the potential for more complex functionality that could be implemented in the future, such as comparing diffs of previous versions of a file. Hopefully this refactor will encourage other developers to contribute to Prose by lowering the barrier to commmunity contributions.

History

Originally, Prose only used [views](http://backbonejs.org/#View

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
var map = L.mapbox.map('map', 'tmcw.map-u4ca5hnt', {
tileLayer: {
detectRetina: true
}
});
In file included from ../src/binding.cpp:18:
../src/pbf.hpp:94:55: warning: variable 'end' is uninitialized when used within its own initialization [-Wuninitialized]
const int8_t* end = reinterpret_cast<const int8_t*>(end);