This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {Builder, By} = require('selenium-webdriver'); | |
const {BROWSERSTACK_USERNAME, BROWSERSTACK_KEY} = process.env; | |
if (!BROWSERSTACK_USERNAME || !BROWSERSTACK_KEY) | |
throw Error('Specify BROWSERSTACK_USERNAME and BROWSERSTACK_KEY env vars!'); | |
const chrome = { | |
browserName: 'Chrome', | |
browser_version: '70.0', | |
os: 'Windows', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Not ready yet, don't try this at home | |
import React, { useState } from 'react'; | |
type Model = number; | |
interface AgGridMethods { | |
getModel: () => Model; | |
setModel: (model: Model) => void; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// POST request body to /stub BFF endpoint | |
interface StubSetup { | |
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | |
path: string | |
headers: { [headerName: string]: string } | |
responseCode: number | |
responseBody: any | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# A Mac utility to transcribe audio files using OpenAI's API (Whisper) | |
# | |
# Usage: | |
# | |
# $OPENAI_API_KEY='your-key-here' sh ./transcribe.sh [/path/to/the/dir/with/the/audio/files] | |
# | |
# If the path to the files is not specified, the utility will work in the current directory |
OlderNewer