Skip to content

Instantly share code, notes, and snippets.

View mwurzberger's full-sized avatar

Matthew Wurzberger mwurzberger

View GitHub Profile
@mwurzberger
mwurzberger / custom-error.js
Last active March 23, 2016 13:51 — forked from justmoon/custom-error.js
Creating custom Error classes in Node.js
'use strict';
module.exports = function CustomError(message, extra) {
Error.captureStackTrace(this, this.constructor);
this.name = this.constructor.name;
this.message = message;
this.extra = extra;
};
require('util').inherits(module.exports, Error);
@mwurzberger
mwurzberger / gist:7b1987488e69cc621407
Created May 4, 2015 13:41 — forked from askehansen/gist:11253752
Parsley 2.x config for twitter bootstrap 3.x
window.ParsleyConfig = {
errorClass: 'has-error',
successClass: 'has-success',
classHandler: function (ParsleyField) {
return ParsleyField.$element.parents('.form-group');
},
errorsContainer: function (ParsleyField) {
return ParsleyField.$element.parents('.form-group');
},
errorsWrapper: '<span class="help-block">',

Sublime Text 3 - Monokai Extended Sidebar Theme

A theme for the sidebar in Sublime Text 3 to match the workspace of the Monokai Extended theme.

This theme only modifies the sidebar to better match the Monokai Extended theme, without modifying any of the styling elsewhere defined by Monokai Extended.

File location: SublimeText_ROOT\Data\Packages\User

For the Monkai Extended Theme, visit https://github.com/jonschlinkert/sublime-monokai-extended