Skip to content

Instantly share code, notes, and snippets.

View jaychoo's full-sized avatar
☢️

Jay Choo jaychoo

☢️
  • New York, NY
View GitHub Profile
{
"additional_services": [
"destination_unpacking",
"origin_condition_check",
"installation",
"debris_disposal"
],
"created_at": "2020-12-01T16:54:37.983705+00:00",
"currency": "USD",
"customer_reference": null,
{
"additional_services": [
"destination_unpacking",
"origin_condition_check",
"installation",
"debris_disposal"
],
"created_at": "2020-12-01T15:37:19.264426+00:00",
"currency": "USD",
"customer_reference": null,
{
"additional_services": [
"origin_condition_check",
"destination_unpacking",
"installation",
"debris_disposal"
],
"destination_locations": [
{
"address_line_1": "11 West 53rd Street",
@jaychoo
jaychoo / index.md
Created February 11, 2019 04:16 — forked from ericandrewlewis/index.md
C++ Pointer Tutorial

C++ Pointer Tutorial

Because pointers can be ugh

"Regular" variables (not pointers)

To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".

When declaring a variable by identifier (or name), the variable is synonymous with its value.

@jaychoo
jaychoo / postgres-cheatsheet.md
Created November 2, 2018 17:56 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)
@jaychoo
jaychoo / tutorial.md
Created July 17, 2018 15:17 — forked from swalkinshaw/tutorial.md
Designing a GraphQL API

Tutorial: Designing a GraphQL API

This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.

It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.

@jaychoo
jaychoo / docker-macos-terraform.md
Created July 11, 2018 12:46 — forked from brianshumate/docker-macos-terraform.md
The Simplest Terraform with Docker on macOS

If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:

1. Install Docker

Install Docker for Mac if you have not already.

@jaychoo
jaychoo / docker-macos-terraform.md
Created July 11, 2018 12:46 — forked from brianshumate/docker-macos-terraform.md
The Simplest Terraform with Docker on macOS

If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:

1. Install Docker

Install Docker for Mac if you have not already.

@jaychoo
jaychoo / ramdisk.sh
Created February 15, 2018 20:28 — forked from rxin/ramdisk.sh
ramdisk create/delete on Mac OS X.
#!/bin/bash
# From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/
#
ARGS=2
E_BADARGS=99
if [ $# -ne $ARGS ] # correct number of arguments to the script;
then

Keybase proof

I hereby claim:

  • I am jaychoo on github.
  • I am jaychoo (https://keybase.io/jaychoo) on keybase.
  • I have a public key ASBdg4ZJ5aZBaNIQSrv8lJcvlrd6gKt685-Rjp3ab2oE7Ao

To claim this, I am signing this object: