Skip to content

Instantly share code, notes, and snippets.

View lizTheDeveloper's full-sized avatar

lizthedeveloper lizTheDeveloper

View GitHub Profile
var http = require("http");
var url = require("url");
var fs = require("fs");
var router = {
"/" : function() {
return "Home"
},
"/submit" : function (request) {
// write submitted info to file
@lizTheDeveloper
lizTheDeveloper / Bootstrap Boilerplate with CDNs
Created March 17, 2015 20:25
Good starting point for live code!
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Bootstrap 101 Template</title>
<!-- Bootstrap -->
@lizTheDeveloper
lizTheDeveloper / gist:7e393ce0aae9ff85c8c1
Created March 30, 2015 18:22
Another Example Server
// Create a Server
var http = require('http');
var url = require('url');
var fs = require('fs');
var router = {
"/" : function(request, response) {
response.write('<form method="GET" action="/submit">Username: <input name="username" type="text"> <input type="submit"></form>');
next();
},
@lizTheDeveloper
lizTheDeveloper / how-to-start-a-project
Last active November 16, 2015 19:19
Rules of Engagement to start Project 1
## To start a project:
Navigate to a desired directory and make a new directory for your project:
```shell
cd ~/<your-projects-directory>
mkdir <first-project-name>
```
Change into your new directory and create a Git repository with a `.gitignore` file:
@lizTheDeveloper
lizTheDeveloper / supplementalJS.md
Last active December 7, 2015 19:24
Supplemental Curriculum

Supplemental JavaScript Curriculum

For supplemental curriculum, it will be up to you to make it through this self-paced curriculum and lean on instructors for support. This is designed to help you get to the same "Order Of Growth" as your classmates. You're encouraged to pair program together through these challenges, which will help ensure you're clear on the concepts presented.

Start by doing Khan Academy's Intro to Programming. Start with the "Drawing Basics" unit, and continue to the end. This should give you a good review of the fundamental syntax available in JavaScript. For additional review in structuring programs and problem solving, go through the advanced Javascript course. If you get through all of that and still feel like you can't make it through the Node.js curriculum, take a look at the [Advanced JS Natrual Simulations](

var pg = require("pg");
var client = new pg.Client("postgres://localhost:5432/books");
client.connect(function(err) {
if (err) throw err;
client.query("SELECT title FROM books;", function(err, result) {
console.log(result.rows);

Lecture Notes: Trees

  • Abstract Data Types
    • Emergent Properties come from structure
  • Draw a tree
  • Talk about Nodes being part of all Graphs
  • Trees are Graphs
  • Trees are special Graphs that have particular constraints
  • Trees are recursive
  • Draw a file structure

##New Article Title

This paragraph briefly explains what the article is about.

###Standard List the standard(s) covered in this article

###Objectives

  • List the objectives of the article
  • Make sure that all objectives are covered in the article

Computer Science Project

Your week long project for the computer science module is a chance to explore the analytical nature of computers. It's also a chance to use your web development and design skills to make complex topics more accessible, both for yourself and for others. Because Computer Science is a very broad topic, the requirements for this project are also somewhat broad, giving you flexibility to focus on areas where you have interest.

Why?

This project is meant to augment your future capstone. You'll want to creating something general enough that it can be integrated into a web application. The point of this is to make your capstone stand out by adding a complex algorithm or data structure that you'll then actually use in a webapp. This will give you a lot to talk about in interviews, and it'll look great in a presentation or video.

Requirements

  1. Your project must have a focus on a data-structure or an algorithm.

Capstone Expectations

Today marks the beginning of your capstone time. During this time, there will be no lectures, and little formal structure to your day. We do still expect you attend regularly, but recognize that you may have interviews and such during this time.

The only formal requirement is that you check in with an instructor by 10:00 AM every day, or that an instructor has approved working from home for the day. Failure to check in on two consequtive days means you will not graduate (final push! You can do it!)

Capstones are due: 9/28

  • Practice Presentations will occur that day. We'll run through your presentations, offer notes, and then you'll have time to practice them again to groups.
  • In order to graduate, as well as present (and make a great impression!) you will need to turn in an approved capstone by 9/28.