- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = function (grunt) { | |
| // Load the project's grunt tasks from a directory | |
| require('grunt-config-dir')(grunt, { | |
| configDir: require('path').resolve('tasks') | |
| }); | |
| // Register group tasks | |
| grunt.registerTask('build', [ 'jshint', 'stylus', 'browserify', 'i18n', 'copyto' ]); | |
| grunt.registerTask('test', [ 'jshint', 'mochacli' ]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var fetch = function (username, next) { | |
| // get tweets from the twitter API | |
| next(null, tweets); | |
| }; | |
| server.method({ | |
| name: 'twitter.fetch', | |
| method: fetch | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Hapi = require('hapi'); | |
| var seneca = require('seneca')(); | |
| var server = new Hapi.Server(); | |
| seneca.add({role: 'test', cmd: 'test'}, function(args, done) { | |
| console.log('Recieved a request'); | |
| done(null, {worked: true}); | |
| }); | |
| seneca.use('./seneca-hapi.js'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <mapnik/util/file_io.hpp> | |
| #include "vector_tile.pb.h" | |
| #include "vector_tile_compression.hpp" | |
| #include <iostream> | |
| #include <fstream> | |
| #include <protozero/pbf_reader.hpp> | |
| int main(int argc, char** argv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd ../mapnik | |
| make clean | |
| git pull | |
| git submodule update --init | |
| source ./bootstrap.sh | |
| ./configure | |
| make # takes a very long time | |
| make install | |
| cd ../mapnik-vector-tile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) mapnik.VectorTile.composite should support compositing tiles and clipping to max_extent (reencode): | |
| AssertionError: 54521 == 54462 | |
| + expected - actual | |
| -54521 | |
| +54462 | |
| at Context.<anonymous> (test/vector-tile.composite.test.js:304:16) |
OlderNewer