Skip to content

Instantly share code, notes, and snippets.

View jaygiang's full-sized avatar

Jay Giang jaygiang

  • San Diego, CA
View GitHub Profile
@melsoriano
melsoriano / change-default-java-version-mac.md
Last active January 16, 2020 00:51
Changing default Java version on Mac OS
  1. Verify the default Java version in terminal by running the command: java -version

  2. Download the appropriate JDK from Oracle website for Mac OS

  3. After installation completes, cd into /usr/libexec from a terminal window

  4. From the libexec directory, verify all installed Java versions by running the command: ./java_home -V

  5. Open your shell config file

  • zsh & vscode users, run: code ~/.zshrc
@lorecrafting
lorecrafting / gist:d66f2e5a51b3e2d0c2a3596832c14322
Last active October 23, 2018 05:53
Containerizing http-socket-server
@lorecrafting
lorecrafting / aws-deployment.md
Last active October 23, 2018 03:58 — forked from taesup/s3-deployment-devleague.md
aws-deployment-ec2

EC2 Deployment for DevLeague

{username} = your username
{ip} = your EC2 ip address
{repo} = your repo address
{email} = your email

AWS

@NigelEarle
NigelEarle / Knex-Setup.md
Last active September 12, 2024 21:32
Setup Knex with Node.js

Knex Setup Guide

Create your project directory

Create and initialize your a directory for your Express application.

$ mkdir node-knex-demo
$ cd node-knex-demo
$ npm init
@sgnl
sgnl / serverCodes.md
Last active June 24, 2023 07:07
status codes

1xx: Information

Code Message Description
100 Continue The server has received the request headers, and the client should proceed to send the request body
101 Switching Protocols The requester has asked the server to switch protocols
103 Checkpoint Used in the resumable requests proposal to resume aborted PUT or POST requests

2xx: Successful

Code Message Description