Skip to content

Instantly share code, notes, and snippets.

View klustig88's full-sized avatar

Kevin Lustig klustig88

View GitHub Profile
@klustig88
klustig88 / Possible Application Questions
Created October 19, 2013 21:08
Adopt-a-Coder Possible Application Questions and Testamonials
-Describe your most meaningful achievements and how they relate to your field of study and your future goals.
-Pick an experience from your own life and explain how it has influenced your development.
-Describe something you have done in the past year that has made a difference in your community.
-What would you like to do to change the world for the better?
- We know you are a talented student; what motivates you to be a good learner and to put forth your best effort?
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Stripe Sample Form</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.min.js"></script>
<script type="text/javascript" src="https://js.stripe.com/v1/"></script>
<script type="text/javascript">
@klustig88
klustig88 / zoo.js
Created September 30, 2013 18:12 — forked from dbc-challenges/zoo.js
//------------------------------------------------------------------------------------------------------------------
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here.
//------------------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------------------
// DRIVER CODE: Do **NOT** change anything below this point. Your task is to implement code above to make this work.
//------------------------------------------------------------------------------------------------------------------
@klustig88
klustig88 / form-validator.js
Last active December 24, 2015 00:49 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
function verifyEmail (email) {
var em_reg = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return em_reg.test(email);
}
$(function(){
$('form').on("submit", function(event){
$('#errors').empty();
@klustig88
klustig88 / zoo.js
Last active December 24, 2015 00:19 — forked from dbc-challenges/zoo.js
//------------------------------------------------------------------------------------------------------------------
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here.
//------------------------------------------------------------------------------------------------------------------
function Animal(name, legs) {
this.name = name;
this.legs = legs;
}
Animal.prototype.identify = function() {
@klustig88
klustig88 / index.html
Last active December 24, 2015 00:10 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
@klustig88
klustig88 / player.js
Created September 25, 2013 21:05
java_racer js
// function Player(name, strip){
// this.name = name;
// this.current_position = 1;
// this.strip = strip;
// this.finished = false;
// }
// Player.prototype.move() = function(){
// $("#player"_+ this.strip + "_strip ." + (this.current_position - 1) + " img").attr('src', "mushroom.jpeg");
// $("#player" + this.strip + "_strip ." + (this.current_position) + " img").attr('src', this.photos[this.strip]);
@klustig88
klustig88 / index.html
Created September 24, 2013 20:54 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>

Instructions:

  1. Download this application skeleton.
  2. Convert the app to use AJAX.
  3. Add any files you changed to your gist and submit your code.