Skip to content

Instantly share code, notes, and snippets.

@Gres
Gres / README.md
Created June 23, 2020 13:37 — forked from twolfson/README.md
Audit logging via sequelize

We prefer to have audit logging in our services that leverage databases. It gives us clarity into sources of where ACL issues might originate as well as gives us a general timeline of activity in our application.

Audit logging is tedious to set up so this gist contains our latest iteration of audit logging support for a sequelize based service.

@Gres
Gres / package.json
Created June 7, 2016 11:30 — forked from xtrasmal/package.json
Npm all the things
{
"name": "npm-all-the-things",
"version": "0.0.7",
"description": "",
"author": "X.Smalbil",
"license": "DBAD",
"main": "index.js",
"scripts": {
"build": "npm run build-js & npm run build-sass & npm run build-images",
"build-images": "imagemin './assets/images/*' './assets/build/images/*' -p",
@Gres
Gres / package.json
Created June 7, 2016 10:56 — forked from enijar/package.json
React + Babelify + Watchify with Node Scripts
{
"private": true,
"name": "ReactValidation",
"version": "1.0.0",
"description": "Validates form elements.",
"repository": {
"type": "git",
"url": "git@bitbucket.org:Enijar/reactvalidation.git"
},
"dependencies": {
@Gres
Gres / npm-scripts.md
Created June 7, 2016 02:02 — forked from hashrock/npm-scripts.md
awesome-npm-scripts
{
    "build-js": "browserify browser/main.js | uglifyjs -mc > static/bundle.js",
    "build-css": "cat static/pages/*.css tabs/*/*.css",
    "build": "npm run build-js && npm run build-css",
    "watch-js": "watchify browser/main.js -o static/bundle.js -dv",
    "watch-css": "catw static/pages/*.css tabs/*/*.css -o static/bundle.css -v",
    "watch": "npm run watch-js & npm run watch-css",
@Gres
Gres / gulpfile.js
Last active August 29, 2015 14:22 — forked from mlouro/gulpfile.js
'use strict';
var gulp = require('gulp');
var gutil = require('gulp-util');
var del = require('del');
var uglify = require('gulp-uglify');
var gulpif = require('gulp-if');
var exec = require('child_process').exec;
var notify = require('gulp-notify');