Skip to content

Instantly share code, notes, and snippets.

Setting up SSH

There's a lot of ways of hosting web apps onto AWS EC2, I did it the old-fashion/barebone way where you literally SSH into the EC2 instance and run everything there.

  1. Download the digitalmenu-keypair.pem file off the Credentials folder in our team's Google Drive; this file is your login key into the AWS EC2 instance.
  2. Move the downloaded digitalmenu-keypair.pem file into your SSH folder, typically located in ~/.ssh
  3. To start the SSH connection:
    ssh -i ~/.ssh/digitalmenu-keypair.pem ubuntu@ec2-34-219-160-173.us-west-2.compute.amazonaws.com
    
  4. You should now be login as ubuntu@ip-172-31-17-175
@SimonJinaphant
SimonJinaphant / README.md
Last active April 3, 2019 00:29
Capstone

Setting up the Fake SQL backend

Perform the following commands in your Terminal or Git Bash

git clone https://gitlab.com/benk9/cpen491.git backendServer

cd backendServer/backend

git checkout mobile-fake-sql

npm install
@SimonJinaphant
SimonJinaphant / glfwNotes.java
Last active August 29, 2015 14:21
LWJGL - GLFW Notes
/*
GLFW LIBRARY
============
GLFW is an alternative multi-platform context and windowing library for OpenGL
Unlike other libraries, it does not take control of the main loop
One notable feature is GLFWErrorCallback which provides meaningful error messages,
are not alavilible in older libraries like GLUT. This feature can be set before initalizing.
*/
@SimonJinaphant
SimonJinaphant / glNotes.c
Last active October 12, 2022 18:02
OpenGL Notes
/*
CREATING THE VAO & VBO
======================
Objects must be generated via its corresponding glGen...() function
To perform any operations on any of OpenGL's objects, we must bind
the objects by invoking it corresponding glBind...() function
For @param GLenum target:
GL_ARRAY_BUFFER for Vertex attributes (Non-indexing method)
GL_ELEMENT_ARRAY_BUFFER for Vertex array indices (Indexing method)