Skip to content

Instantly share code, notes, and snippets.

View mwdhouse's full-sized avatar

Chris White mwdhouse

  • Massachusetts
  • 04:16 (UTC -04:00)
View GitHub Profile
#include <v8.h>
#include <node.h>
#include <node_buffer.h>
#include <node_version.h>
#include <unistd.h>
#include <string>
#include <map>
#include <exception>
#include <exiv2/image.hpp>
#include <exiv2/exif.hpp>
@mwdhouse
mwdhouse / GLOBALS
Last active December 20, 2015 20:19
Decoding Malware (https://twitter.com/andrewsmhay/status/365605589344206849) GLOBALS array becomes the below.
array(1) {
["_584730172_"]=>
array(39) {
[0]=>
string(15) "error_reporting"
[1]=>
string(14) "set_time_limit"
[2]=>
string(6) "define"
[3]=>
@mwdhouse
mwdhouse / gist:5198678
Created March 19, 2013 18:20
npm install failure whilst adding the bignumber.js dependency of node-mysql.
cwhite@debian:~/devel/node-mysql/node-mysql-master$ npm remove node-mysql
npm WARN uninstall not installed in /home/cwhite/devel/node-mysql/node-mysql-master/node_modules: "node-mysql"
cwhite@debian:~/devel/node-mysql/node-mysql-master$ npm remove mysql
cwhite@debian:~/devel/node-mysql/node-mysql-master$ npm install
npm http GET https://registry.npmjs.org/bignumber.js/1.0.1
npm http 304 https://registry.npmjs.org/bignumber.js/1.0.1
npm http GET https://registry.npmjs.org/bignumber.js/-/bignumber.js-1.0.1.tgz
npm http 200 https://registry.npmjs.org/bignumber.js/-/bignumber.js-1.0.1.tgz
npm ERR! cb() never called!
npm ERR! not ok code 0