Skip to content

Instantly share code, notes, and snippets.

View xtina-starr's full-sized avatar

Christina xtina-starr

View GitHub Profile
var christina = 100;
for (var i = 1; i <= christina; i++) {
if (i % 3 === 0 && i % 5 === 0)
{
console.log("FizzBuzz");
}
else if(i % 3 === 0)
{
console.log("Fizz");
}

##Christina Thompson##

cthompsonms@gmail.com
305-801-6561


###Education### Ada Developers Academy, Web Development - October 2014
Barry University, M.S. Sport Management - May 2012

@xtina-starr
xtina-starr / node-primer.md
Last active August 29, 2015 14:04
A node.js primer that is a work in progress

Node Primer

What is node.js?

Node.js is an event-driven programming model for server-side JavaScript. In addition to being a server, it's also a runtime environment in the same way that Perl, Python, and Ruby are. It uses the V8 JavaScript Engine developed by Google to compile JavaScript.

Highlights & Key Concept To Understand:

@xtina-starr
xtina-starr / node-rest-frameworks.md
Last active February 14, 2017 04:12
Framework options for creating a REST API with node.

Frameworks

Framework options for creating a REST API with node:

  • Hapi
  • Restify
  • Connect
  • Loopback
  • Actionhero.js (?)
@xtina-starr
xtina-starr / oauth-2.md
Last active August 29, 2015 14:04
Quick overview of OAuth 2.

OAuth 2


The OAuth 2.0 authorization process enables a third-party application to obtain limited access to an HTTP service and data through an authentication process. It is a protocol that lets external apps request authorization to private details without getting their password. This is preferred over Basic Authentication because tokens can be limited to specific types of data, and can be revoked by users at any time.

The OAuth roles:

  • Third-party Application: Client - the party seeking to gain access to resources (ex. Houston ISD's student management platform)
  • The API: Resource Server (ex. The API we will create)
  • Resource Owner: An entity capable of granting access to a protected resource (ex. Apex Learning)
@xtina-starr
xtina-starr / events_effects.md
Last active August 29, 2015 14:14
V4: jQuery Events & Effects

Accessing form elements:
A) What is the property/attribute of the text field that stores what the user has typed in?
-input

B) Which property do we check to see if a radio button or checkbox was selected?
-For radio buttons and checkboxes, you use the checked attribute to determine whether they were selected or not.

Preventing a form from being submitted:
C) What would happen if we did not return false upon checking a form and finding something unacceptable?
-The form would submit the invalid or unacceptable data

@xtina-starr
xtina-starr / week_4_class_exercises.js
Created February 3, 2015 23:38
JScript 200 WN15 Week 4 Class Exercises
// JScript 200 WN15 Week 4 Class Exercises
//Christina Thompson
// 1) Here is an element which uses HTML5 required attribute:
<input type="text" name="Name" required="required"/>
// 2) Here is how we can validate a single text box:
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title>Adopt A Pet</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<style>
#size-choice {
display: none;
}
@xtina-starr
xtina-starr / translator.html
Created May 21, 2015 15:35
Espanol translator
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>JS Debugging Test</title>
</head>
<body>
<div style="float:left; width:75%;">
<h2>Word Translator</h2>
<p>

Pair Programming

What is pair programming?

Pair programming is an agile software development technique in which two programmers work together at one workstation. One member, the driver, writes code while the other, the observer or navigator, reviews each line of code as it is typed in. The two people work together to design, code and test user stories.

  • perhaps talk about what pair programming looks like at Artsy today (ad-hoc).

Benefits of Pair Programming