Skip to content

Instantly share code, notes, and snippets.

View mastercactapus's full-sized avatar

Nathaniel Caza mastercactapus

  • Eagan, MN
  • 00:33 (UTC -05:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mastercactapus on github.
  • I am mastercactapus (https://keybase.io/mastercactapus) on keybase.
  • I have a public key whose fingerprint is B71D 2C34 381E BB6A C536 EE8B 8B22 AE9F A0E0 DC1F

To claim this, I am signing this object:

@mastercactapus
mastercactapus / webpack.config.js
Created February 24, 2016 03:12
webpack 2.x strict mode (with harmony imports)
"use strict";
var ConcatSource = require("webpack-sources").ConcatSource;
class StrictPlugin {
constructor(options){
this.options = options;
}
apply(compiler) {
compiler.plugin("compilation", compilation=>{
compilation.moduleTemplate.plugin("render", (moduleSource, module, chunk, dependencyTemplates)=>{
@mastercactapus
mastercactapus / gist:ba7074f1fd11a713f512
Created April 17, 2015 01:40
truncated tar "cb() never called!" trace
$ npm install cb-never-called
npm WARN package.json cb-never-called@1.0.1 No description
npm WARN package.json cb-never-called@1.0.1 No repository field.
npm WARN package.json cb-never-called@1.0.1 No README data
cb#11 never called -- errorHandler args:1 -- was passed to 1 handler(s) (none called back)
Passed to function install at /home/nathan/.nvm/v0.10.38/lib/node_modules/npm/lib/install.js:115:0
cb#19 never called -- cb args:2 -- was passed to 1 handler(s) (none called back)
Passed to function installManyTop at /home/nathan/.nvm/v0.10.38/lib/node_modules/npm/lib/install.js:596:0
cb#20 never called -- cb args:2 -- was passed to 1 handler(s) (none called back)