Skip to content

Instantly share code, notes, and snippets.

View j-hernandez's full-sized avatar

James Hernandez j-hernandez

  • Atlanta, GA
View GitHub Profile
@j-hernandez
j-hernandez / passthrough-example.js
Created July 5, 2021 16:30 — forked from santosh-rumsan/passthrough-example.js
Using Stream PassThrough to pass same output buffer to multiple destination
const PDFMake = require("pdfmake");
const AWS = require("aws-sdk");
const nodemailer = require("nodemailer");
const { PassThrough } = require("stream");
//aws: update your AWS credentials
const accessKeyId = "{aws_accesskey}";
const secretAccessKey = "{aws_secret}";
const region = "us-east-1";

Keybase proof

I hereby claim:

  • I am j-hernandez on github.
  • I am jhernandez (https://keybase.io/jhernandez) on keybase.
  • I have a public key ASDOt8seEH9npNsA49iQEVvdbnusmKANbm1nB8Ul608BjAo

To claim this, I am signing this object:

@j-hernandez
j-hernandez / hubot-digitalocean.md
Created November 9, 2015 10:28 — forked from trdarr/hubot-digitalocean.md
Deploying Hubot on DigitalOcean (with Slack integration)
@j-hernandez
j-hernandez / .tmux.conf
Created November 9, 2015 01:36 — forked from NickLaMuro/.tmux.conf
My .tmux.conf
# # act like GNU screen
unbind C-b
set -g prefix C-a
# Allow C-A a to send C-A to application
bind C-a send-prefix
# start window index of 1
set -g base-index 1