Skip to content

Instantly share code, notes, and snippets.

View PhouvanhKCSV's full-sized avatar
🌴
On vacation

Phouvanh KCSV PhouvanhKCSV

🌴
On vacation
View GitHub Profile
@PhouvanhKCSV
PhouvanhKCSV / oci8.pc
Last active October 29, 2019 07:35 — forked from fredericobenevides/oci8.pc
Setup for go-oci8
prefix=/opt/oracle
includedir=${prefix}/instantclient_12_1/sdk/include
libdir=${prefix}/instantclient_12_1
Name: oci8
Description: Oracle Instant Client
Version: 12.1
Cflags: -I${includedir}
Libs: -L${libdir} -lclntsh
@PhouvanhKCSV
PhouvanhKCSV / handle-binary-upload-in-lambda.js
Created November 22, 2019 01:23 — forked from DavidWells/handle-binary-upload-in-lambda.js
Handle Zip uploads through lambda function
/**
* For future use
* Handle Zip uploads through lambda
*/
const AWS = require('aws-sdk')
const s3 = new AWS.S3()
const fileType = require('file-type')
const sha1 = require('sha1')
exports.handler = function(event, context) {