Skip to content

Instantly share code, notes, and snippets.

View WattyRev's full-sized avatar

Spencer Watson WattyRev

View GitHub Profile
@WattyRev
WattyRev / transaction-data.json
Last active April 16, 2024 21:49
Mock transaction data for an interview question
[
{
"id": "4b245c1e8aa0c5a06dd0ab4afee567fc0f082280",
"agent": "Allen",
"date": "2024-01-01",
"salePrice": 795028
},
{
"id": "4b245c1e8aa0c5a06dd0ab4afee567fc0f082280",
"agent": "Allen",
{"tsu":1658359603.0228817,"app":"log.fluentd-z1.web-platform-deploy.velocity-nonprod","hst":"ip-10-37-212-82.us-west-2.compute.internal","lvl":"INFO","ctr":"web-platform-deploy/web-platform-deploy-6b8c6f5bb8-xtf4d","kns":"web-platform-deploy-review-12","cid":"4f79188d6e5dc9ee87a670d4950a7fac07eb86d2ea9b8368ede9d256f1b47115","pod":"web-platform-deploy-6b8c6f5bb8-xtf4d","env":"velocity-nonprod","cna":"velocity-nonprod-1","tsi":"2022-07-20T23:26:43.022Z","msg":"Successfully made Gitlab request ","fmt":"ne1"}
{"tsu":1658359602.8116982,"app":"log.fluentd-z1.web-platform-deploy.velocity-nonprod","hst":"ip-10-37-212-82.us-west-2.compute.internal","lvl":"INFO","ctr":"web-platform-deploy/web-platform-deploy-6b8c6f5bb8-xtf4d","kns":"web-platform-deploy-review-12","cid":"4f79188d6e5dc9ee87a670d4950a7fac07eb86d2ea9b8368ede9d256f1b47115","pod":"web-platform-deploy-6b8c6f5bb8-xtf4d","env":"velocity-nonprod","cna":"velocity-nonprod-1","tsi":"2022-07-20T23:26:42.811Z","msg":"Starting Gitlab request","fmt":"ne1"}
{"tsu":16583
[
{
"commit": "4b245c1e8aa0c5a06dd0ab4afee567fc0f082280",
"author": "zillowuser",
"date": "2019-01-01",
"subject": "commit message"
},
{
"commit": "4b245c1e8aa0c5a06dd0ab4afee567fc0f082280",
"author": "zillowuser",
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@WattyRev
WattyRev / REST API.md
Last active January 8, 2019 00:50
REST API format example

Models

Dog

{
  id: *<String>*,
  name: *<String>*,
  ownerId: *<Human>*,
  dateOfBirth: *<DateTime>*,
  breed: *<Enum>*
}
@WattyRev
WattyRev / .gitconfig
Last active August 23, 2022 20:33
Aliases for pushing branches to remote, and delete remove branches
[core]
editor = code --wait
[alias]
co = checkout
br = branch
ci = commit
st = status
me = merge
pul = pull
pus = push