Skip to content

Instantly share code, notes, and snippets.

View mayeedwin's full-sized avatar
🚩
Tooling...

Maye Edwin mayeedwin

🚩
Tooling...
View GitHub Profile
@nhattan
nhattan / upload.js
Last active December 4, 2021 17:38
Create a blob by uploading data from a browser (ReactJS)
/*
https://www.npmjs.com/package/@azure/storage-blob
npm install @azure/storage-blob
OR
yarn add @azure/storage-blob
Remember to set up the CORS rules for your storage https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-javascript-client-libraries#setting-up-storage-account-cors-rules
*/
const { BlobServiceClient } = require("@azure/storage-blob")
@tatianamac
tatianamac / tatiana-mac-speaker-rider.md
Last active April 22, 2025 22:44
Tatiana Mac's Speaker Rider

Speaker Rider

by Tatiana Mac

Last updated 14 April 2021

What is a speaker rider?

As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.

Considerations

😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.

function findProduct(arr) {
// First find the total product of all indeces
let totalProduct = arr[0];
for (let i = 1; i < arr.length; i++) {
totalProduct *= arr[i];
}
// Then, return a new array where each index is the
// product of all numbers, except for the current value of that index
// i.e. newArr[0] = arr[1] * arr[2] * arr[3]... arr[length-1];