Skip to content

Instantly share code, notes, and snippets.

View TanguyDucky's full-sized avatar
♻️

Tanguy TanguyDucky

♻️
View GitHub Profile
@TanguyDucky
TanguyDucky / parsePostmanResults.js
Created December 19, 2022 10:31
Parse Postman Runner results: avgResponseTime, minResponseTime, maxResponseTime
/**
* Export Postman Runner result into JSON
* Usage:
*
* node parsePostmanResults.js <PATH_TO_JSON>
*
* The average response time for each endpoint is shown in a table,
* along with the maximum and minimum response time.
*/
@TanguyDucky
TanguyDucky / index.js
Created November 12, 2019 17:02
Host a static website with Google Cloud Storage using Firebase Cloud Function as a proxy to secure the access with HTTP basic authentication
/**
* Declare a single cloud function "componentsProxy"
*/
const functions = require("firebase-functions");
const { server } = require("./server");
const componentsProxy = functions.https.onRequest(server);
module.exports = {