Skip to content

Instantly share code, notes, and snippets.

@oxyyyyy
oxyyyyy / marked_comments.js
Last active May 19, 2017 21:36
I should use them..
// NOTE: Description of how the code works (when it isn't self evident).
// XXX: Warning about possible pitfalls, can be used as NOTE:XXX:.
// HACK: Not very well written or malformed code to circumvent a problem/bug. Should be used as HACK:FIXME:.
// FIXME: This works, sort of, but it could be done better. (usually code written in a hurry that needs rewriting).
// BUG: There is a problem here.
@oxyyyyy
oxyyyyy / gulpfile.js
Last active June 21, 2017 09:53
My gulpfile boilerplate
var gulp = require('gulp'),
sass = require('gulp-sass'),
browserSync = require('browser-sync').create(),
concat = require('gulp-concat'),
uglify = require('gulp-uglifyjs'),
cssnano = require('gulp-cssnano'),
rename = require('gulp-rename'),
concatCss = require('gulp-concat-css'),
imagemin = require('gulp-imagemin'),
del = require('del');