Skip to content

Instantly share code, notes, and snippets.

View twhite96's full-sized avatar
☢️
Cookin

tiff twhite96

☢️
Cookin
View GitHub Profile
@twhite96
twhite96 / styleGuide.md
Created August 31, 2016 02:47 — forked from matty-digital/styleGuide.md
Style guide for writing code in cs0134 and cs1520

Introduction

This is the style guide that you will be required to follow for any and all code submissions in this class. There is a very good chance that, should you decide to venture out into the wild and develop software professionally, you will be required to follow some sort of coding standard. All submissions must adhere to this style guide, if they don't there will be penalties up to and including the submission not being accepted or cosidered for a grade. You're in luck though, as this is a relatively easy style guide to follow. Suggestions are always welcome and above all else, even if you hate style guides and vow solemnly never to follow one again in your whole life...just make sure your code is consistent. Your future self will thank you. On a side note, it will be relatively apparent to me if you don't follow the style guide.

If changes are made to this guide throughout the semester, I will be sure to let you know and discuss the change with you.

General

Indentation

@twhite96
twhite96 / Project Part 1 Proposal.md
Last active September 4, 2016 23:26
Project Part 1 Proposal for Matty-digital's CS 0134 Class

Project Part 1 Proposal

I will be building an ecommerce site with:

  • HTML
  • CSS
  • Bootstrap
  • And CSS animations.

Product

@twhite96
twhite96 / Procfile
Created September 17, 2016 07:33
Procfile
web: node server.js
@twhite96
twhite96 / server.js
Created September 17, 2016 07:33
Serving static files with an Express server on Heroku
var express = require('express');
var app = express();
app.use(express.static('public'));
var port = process.env.PORT || 8080;
app.get('/', function (req, res) {
res.send('Hello World!');
});
@twhite96
twhite96 / package.json
Created September 17, 2016 07:40
e-commerce site package.json file
{
"name": "cs0134-ecommerce-site",
"version": "1.0.0",
"description": "site for cs0134",
"main": "server.js",
"scripts": {
"start": "node server.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Tiffany White",
@twhite96
twhite96 / gist:50e3011f1e2992d878565dca02d02bbe
Created September 23, 2016 06:00 — forked from paulallies/gist:0052fab554b14bbfa3ef
Remove node_modules from git repo
#add 'node_modules' to .gitignore file
git rm -r --cached node_modules
git commit -m 'Remove the now ignored directory node_modules'
git push origin master
@twhite96
twhite96 / Project Part 2 Proposal.md
Created October 24, 2016 05:10
Project Proposal Part 2

Project Proposal Part 2

What I Will Get Done

The site is finished. Now all I need is to do user tests. I will make tweaks here and there but it is pretty much done.

User Testing

These are the questions I will ask my users:

@twhite96
twhite96 / bookstore.java
Created November 5, 2016 06:53
Bookstore Assignment
+// This is a potential solution for Assignment 1
+
+import java.util.Scanner;
+
+public class Assignment1 {
+
+ // Execution starts here
+
+ public static void main(String[] args) {
+
@twhite96
twhite96 / Assignment 1.md
Created November 5, 2016 07:04
CS 0401 Assignment 1

CS 0401 Intermediate Programming

Assignment 1
Topics: Review of expressions, conditions, loops and I/O

ASSIGNMENT DATE: 13 JAN 2016 (MW class), 14 JAN 2016 (TH class)
DUE DATE: 1 FEB 2016 (MW class), 2 FEB 2016 (TH class)
LATE DUE DATE: 3 FEB 2016 (MW class), 4 FEB (TH class)

You have opened a bookstore, and have decided to write your own point-of-sale system to sell books. You sell several items:

@twhite96
twhite96 / Full Stack JavaScript.md
Created November 13, 2016 05:26 — forked from royshouvik/Full Stack JavaScript.md
Learn Full Stack JavaScript Web Development for FREE using resources like YouTube, Udacity and NodeSchool