Skip to content

Instantly share code, notes, and snippets.

View shaunthomas999's full-sized avatar

Shaun Thomas shaunthomas999

View GitHub Profile
@shaunthomas999
shaunthomas999 / gencert.sh
Last active March 29, 2016 13:13 — forked from bradland/gencert.sh
Generate a self-signed SSL cert. This script has to be used with openssl that comes with Nginx installation. Note: Run the script with `sudo`.
#!/bin/bash
# Bash shell script for generating self-signed certs. Run this in a folder, as it
# generates a few files. Large portions of this script were taken from the
# following artcile:
#
# http://usrportage.de/archives/919-Batch-generating-SSL-certificates.html
#
# Additional alterations by: Brad Landers
# Date: 2012-01-27
@shaunthomas999
shaunthomas999 / npm-log2
Created June 30, 2015 21:13
sqlite3 install error
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/extracter.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/packer.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/examples/reader.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/buffer-entry.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry-writer.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/entry.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header-writer.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_modules/tar-pack/node_modules/tar/lib/extended-header.js
npm sill gunzTarPerm extractEntry node_modules/node-pre-gyp/node_m
@shaunthomas999
shaunthomas999 / npm-log
Created June 29, 2015 15:26
Error during npm install with node-gyp rebuild when trying to build from Dockerfile
npm info install node-pre-gyp@0.6.7
npm info postinstall node-pre-gyp@0.6.7
npm info install sqlite3@3.0.8
npm info libxmljs@0.13.0 Failed to exec install script
> ref@1.0.2 install /tmp/hub_node_modules/node_modules/exec-sync/node_modules/ffi/node_modules/ref
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp verb cli [ 'node',