Skip to content

Instantly share code, notes, and snippets.

View cedricium's full-sized avatar
👨‍💻
writing code, slaying bugs

Cedric Amaya cedricium

👨‍💻
writing code, slaying bugs
View GitHub Profile
@cedricium
cedricium / deploying.md
Created February 27, 2018 07:31
How to Deploy `codyseibert/tab-tracker` (Vue / Express Fullstack Web App)

How to Deploy tab-tracker

Heroku:

Prerequisites:

The following will need to be known / obtained before getting started:

  • Node.js and npm
  • command-line (cli) / terminal
  • Heroku account
  • Heroku CLI installed and setup with your Heroku account
@cedricium
cedricium / QuadrantDeterminer.java
Created April 17, 2017 01:53
Simple Program that Determines an Angle's Quadrant
public class QuadrantDeterminer {
public static void main(String[] args) {
displayQuadrant(/* angle */);
}
public static int determineQuadrantPos(int angle) {
if (angle < 0)
return -1;
if (angle > 360)
return determineQuadrantPos(angle - 360);
#include <iostream>
#include <cctype>
using namespace std;
char matrix[3][3] = {'1', '2', '3', '4', '5', '6', '7', '8', '9'};
char player = 'X';
int turns = 0;
int menu()
{