Skip to content

Instantly share code, notes, and snippets.

View trentmurray's full-sized avatar

Trent trentmurray

View GitHub Profile
trentmurray / api-calls.ts
Created May 1, 2020 06:22
API calls in typescript
import {AxiosError} from "axios";
export interface Request<DataType = {}> {
endpoint: string;
params?: object;
data?: DataType;
headers?: object;
withCredentials?: boolean;
ownAPI?: boolean;
trentmurray /
Last active March 16, 2020 06:43
Project skeleton automation
# You should use lowercase, all one word project names
# If your base projects directory doesn't exist, create it.
if [ ! -d ${PROJECTS_DIR} ]; then
echo "Creating ${PROJECTS_DIR}..."
mkdir -p ${PROJECTS_DIR}
trentmurray /
Last active March 16, 2020 05:43
Our docker-machine install command
docker-machine create --driver=virtualbox ${1}