Skip to content

Instantly share code, notes, and snippets.

View aukai84's full-sized avatar

Aukai Tirrell aukai84

View GitHub Profile

Keybase proof

I hereby claim:

  • I am aukai84 on github.
  • I am aukai84 (https://keybase.io/aukai84) on keybase.
  • I have a public key ASAzuZKm5pqisf8PrpJSkBwLFqi90SCPSJ4Lq_BgBkWdZAo

To claim this, I am signing this object:

@aukai84
aukai84 / 1-6-2019-api-v2-questions.md
Last active January 6, 2020 20:44
1-6-2019 API v2 Questions

1-6-2019 API v2 Questions

1. Adding a User to a distribution list search query

https://projects.invisionapp.com/d/main#/console/18197265/377755390/preview

Currently when querying the list of cases and distribution lists that we are doing:

GET /api/v2/case_follows?include="distributionList,case

Is this correct or is there a better way to get this data? The reason why we are getting all case follows is in case we need to PATCH a user's case follow (add them back to the list).

@aukai84
aukai84 / keybase.md
Created November 6, 2018 00:45
keybase credential

Keybase proof

I hereby claim:

  • I am aukai84 on github.
  • I am aukai84 (https://keybase.io/aukai84) on keybase.
  • I have a public key ASB-ulmsCeK5Kqp2RxoI--nNtDdbVLFWv8kG8_wqxcuGQAo

To claim this, I am signing this object:

@aukai84
aukai84 / resume.md
Last active August 23, 2017 06:11
Resume
@aukai84
aukai84 / tmux-cheatsheet.markdown
Created May 9, 2017 23:27 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@aukai84
aukai84 / gist:771cf12bea1ef45ce622b982cc46beee
Created February 25, 2017 21:25 — forked from thgaskell/gist:5987fccbd8473b5ef78f
Introduction to Sequelize Migrations

What are Migrations

Just like how we use Git to version control source code, we use migrations to manage the state of our database schemas.

I'm not really sure what that means...

Imagine you're working on project with another developer, and you're both tasked with creating a specific part of an event planning application. Let's say you are in charge of creating the Users and your friend is going to create the Events.

Let's say you and your friend divided the work in a way so that neither of you will have to to use each other's code to finish your tasks. While you're working on your part of the application, you only really need to touch the Users table when you are working with the database.

Before you begin

Make sure that the project you are in is a node project (it has a package.json) and you have already installed and initialized sequelize (npm install --save sequelize, sequelize init). Also make sure that your config.json file has the correct credentials to connect to your database.