Skip to content

Instantly share code, notes, and snippets.

View andrewwylde's full-sized avatar

Andrew Wylde andrewwylde

View GitHub Profile
@andrewwylde
andrewwylde / update-portal-links.user.js
Last active March 24, 2022 19:10
Why does this not work
@andrewwylde
andrewwylde / README.md
Created November 8, 2021 23:09
Modifying `swagger-ui` before building

Problem: We need to make changes to swagger-ui that aren't fixed upstream

Solution: Update swagger-ui directly and bundle for ourselves!

Steps:

  • clone swagger-ui
  • check out v3.26.0 (git checkout v3.26.0) or whatever version we're working on
  • make your changes!
@andrewwylde
andrewwylde / aliases
Created February 16, 2020 23:23
Useful Git Aliases
g=git
ga='git add'
gaa='git add --all'
gap='git apply'
gapa='git add --patch'
gau='git add --update'
gav='git add --verbose'
gb='git branch'
gbD='git branch -D'
gba='git branch -a'
@andrewwylde
andrewwylde / recover.c
Created February 21, 2019 12:57
Attempt at cs50 recover solution
#include <stdio.h>
#include <cs50.h>
#include <stdint.h>
#include <string.h>
int logerror(char *msg, int errNum)
{
fprintf(stderr, "%s\n", msg);
return errNum;
}
import { get } from "lodash-es";
interface Person {
name: string;
age: number;
children?: Person[];
}
declare type DriverType = "Race" | "Commercial" | "Personal";
@andrewwylde
andrewwylde / Learnings.md
Last active May 9, 2018 15:43
This is for snippits of knowledge that I randomly need to document, but don't deserve a blog post.
  • Find the version of ubuntu you're running by using lsb_release -a in the terminal. docs
  • Human-readable filesystem information (how much space is there on my drive?): df-h docs examples
  • How much space do I have on my computer? du -h
    • Can do total for current directory (du -c)
    • Is recursive
    • Can exclude
  • Run chrome w/ custom timezone (great for testing): StackOverflow Post
    • mkdir ~/chrome-profile
  • TZ='US/Pacific' open -na "Google Chrome" --args "--user-data-dir=$HOME/chrome-profile"
@andrewwylde
andrewwylde / NoteFrequencies.json
Created November 23, 2015 21:59
Keyed JSON array of musical notes.
{
"C0": {
"Frequency (Hz)":16.35,
"Wavelength (cm)":2109.89
},
" C#0/Db0 ": {
"Frequency (Hz)":17.32,
"Wavelength (cm)":1991.47
},
"D0": {

Project #3: Building Your Own API

Overview

Project 2 had you working with Ruby, SQL, and Rails to build a full-stack application that was integrated via an API. For Project 3, you'll be working in teams to build one of several exciting projects, with a back-end API that's built on Node, Express, and Mongo.

This project is meant to push you both technically and collaboratively. In many ways, it’s a lot harder to work in a team than to work by yourself, but that's most likely you’re going to find yourself doing in your first development job after WDI, and it's important to learn how to work together.

At a high level, here's what we're looking for with this project, irrespective of which prompt you're working from: