Skip to content

Instantly share code, notes, and snippets.

Franco Zanki fazanki

Block or report user

Report or block fazanki

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@fazanki
fazanki / _bem.scss
Last active Aug 29, 2015 — forked from simmo/_bem.scss
Sass: BEM Mixins
View _bem.scss
$bem-element-separator: '__' !default;
$bem-modifier-separator: '--' !default;
// BEM: Block (New)
@mixin new($name, $description) {
/**
* #{$name}
* #{$description}
*/
.#{$name} {
View api.js
var express = require('express'),
Bourne = require('bourne'),
bodyParser = require('body-parser'),
db = new Bourne('data.json'),
router = express.Router();
router
.use(function(req, res, next){
if(!req.user) req.user = { id: 1 };
You can’t perform that action at this time.