Skip to content

Instantly share code, notes, and snippets.

View ZacharyJacobCollins's full-sized avatar
☁️
head in the clouds

Zac Collins ZacharyJacobCollins

☁️
head in the clouds
View GitHub Profile
//The footer
Vue.component('footer-component', {
template: `
<footer id="footer" class="main">
<ul>
<template v-for="footerSection in footerSections">
<li><a href="{{ footerSection.link }}">{{ footerSection.text }}</a></li>
</template>
</ul>
<p> MIT <a href="https://github.com/ZacharyJacobCollins">@Zachary Collins {{footerSections}}</a></p>
import java.util.ArrayList;
import java.util.Scanner;
//Zachary Collins
//100% Vegetarian Code
public class One {
//The main class
public static void main(String[] args) {
@ZacharyJacobCollins
ZacharyJacobCollins / Linked List implementation
Last active October 20, 2016 19:42
Linked List Implementation in Java
public class LinkedList {
private Node head;
public int listCount;
public LinkedList() {
head = new Node("");
listCount = 1;
}
@ZacharyJacobCollins
ZacharyJacobCollins / BinaryToDecimal.java
Created October 17, 2016 20:25
School project for binary to decimal conversions
import java.util.Scanner;
import java.lang.reflect.*;
public class Converter {
public String Type, Number, Excess, TwosComp, OnesComp, SignedMag;
public boolean isNegative = false;
//TODO add input.close not sure why throwing nosuch element exception
public static void main(String[] args) throws Exception {
boolean done = false;
@ZacharyJacobCollins
ZacharyJacobCollins / Gulpfile.js
Created October 19, 2016 19:42 — forked from wrouesnel/Gulpfile.js
webpack, react, golang self-contained gulpfile
var path = require('path');
var gulp = require('gulp');
var run = require('gulp-run');
var gutil = require('gulp-util');
var minimist = require('minimist');
var options = minimist(process.argv.slice(2), {
string: 'env',
/**
* Zachary Collins
* Lab 2
* 314
*/
import java.util.Scanner;
/** Class Warshall **/
public class Warshall
/**
*
* Testing all java operators to experience how they work
* bitwise: designating an operator in a programming language that manipulates the individual bits in a byte or word.
*
*/
public class Driver {
public static void main(String[] args) {
/*
* Zachary Collins
* Discrete 314
* November 29
* Lab 3
*/
import java.util.*;
import java.lang.*;
import java.io.*;
@ZacharyJacobCollins
ZacharyJacobCollins / Bipartite.java
Created December 1, 2016 19:20
Lab 4 314 tell if a graph is bipartite
import java.util.*;
public class Bipartite
{
private int colors = 2;
private int n;
/**
* Check to ensure that we can move to the desired position within the adjacency matrix
*
@ZacharyJacobCollins
ZacharyJacobCollins / Bipartite.java
Created December 1, 2016 19:20
Lab 4 314 tell if a graph is bipartite
import java.util.*;
public class Bipartite
{
private int colors = 2;
private int n;
/**
* Check to ensure that we can move to the desired position within the adjacency matrix
*