Skip to content

Instantly share code, notes, and snippets.

We unit test our blog at MapBox
We're using automated unit testing on our blog
Unit testing our blog
We're QAing our @jekyllrb blog using @travisci unit testing
Speeding up QA by unit testing our blog
Add mentions to jekyll and travis at end: [link] @jekyllrb @travisci
Configuration file: /Users/mikemorris/Dropbox/Sites/mapbox.github.com/_config.yml
Source: /Users/mikemorris/Dropbox/Sites/mapbox.github.com
Destination: /Users/mikemorris/Dropbox/Sites/mapbox.github.com/_site
Generating... /Users/mikemorris/Dropbox/Sites/mapbox.github.com/_plugins/excerpt.rb:4:in `to_liquid': wrong number of arguments (1 for 0) (ArgumentError)
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/jekyll/post.rb:252:in `render'
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/jekyll/site.rb:205:in `block in render'
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/jekyll/site.rb:204:in `each'
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/jekyll/site.rb:204:in `render'
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/jekyll/site.rb:36:in `process'
from /Users/mikemorris/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.2.1/lib/
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);
var map = L.mapbox.map('map', 'tmcw.map-u4ca5hnt', {
tileLayer: {
detectRetina: true
}
});
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@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

@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 / 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 / coffee.geojson
Last active March 26, 2018 01:02
via:geojson.io
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.