Skip to content

Instantly share code, notes, and snippets.

export class App {
configureRouter(config, router) {
config.title = 'Carries';
config.options.pushState = true;
config.map([
{
route: ['', 'home'],
name: 'home',
moduleId: './pages/home',
nav: true,
@DamnedScholar
DamnedScholar / PCHB16C041A660531
Created June 16, 2016 12:11
PCHB16C041A660531
PCHB16C041A660531
@DamnedScholar
DamnedScholar / language-sampleGrammar.cson
Last active January 25, 2023 20:14
Grammar boilerplate with annotations.
# TextMate tutorial: http://manual.macromates.com/en/language_grammars
# Regex to convert keys to unquoted: '(include|match|captures|begin|end|beginCaptures|endCaptures|name|patterns|0|1|2|3|4|5|6|7|8|9|comment|fileTypes|scopeName|repository|contentName|firstLineMatch|foldingStartMarker|foldingStopMarker)':
scopeName: 'source.<scope>' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: '<name>' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
'txt'
'exif'
]
var gulp = require('gulp');
var watch = require('gulp-watch');
var shell = require('gulp-shell')
var stylus = require('gulp-stylus');
var paths = {
'src':['./models/**/*.js','./routes/**/*.js', 'keystone.js', 'package.json']
@DamnedScholar
DamnedScholar / npm-debug.log
Last active May 12, 2016 08:38
Atom Installation Error
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'D:\\github\\atom\\atom\\build\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli '--userconfig=D:\\github\\atom\\atom\\build\\.npmrc',
1 verbose cli 'install',
1 verbose cli '--loglevel',
1 verbose cli 'error' ]
2 info using npm@2.13.3
3 info using node@v4.4.4
4 verbose config Skipping project config: D:\github\atom\atom\build/.npmrc. (matches userconfig)