Skip to content

Instantly share code, notes, and snippets.

View seaseng's full-sized avatar

Navid Mostafavi seaseng

View GitHub Profile
//------------------------------------------------------------------------------------------------------------------
// 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.
//------------------------------------------------------------------------------------------------------------------
@seaseng
seaseng / carousel.js
Created August 21, 2013 11:14 — forked from ksolo/carousel.js
Image Carousel
@seaseng
seaseng / carousel.js
Created August 21, 2013 08:02 — forked from ksolo/carousel.js
Image Carousel
@seaseng
seaseng / form-validator.js
Created August 19, 2013 23:49 — forked from ksolo/form-validator.js
Form Validation
// shorthand for $(document).ready();
$(function(){
//Your code...
});
@seaseng
seaseng / index.html
Created July 2, 2013 14:05 — 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.
# module Vehicle
# attr_reader :color, :wheels, :num_seats
# attr_accessor :status
# def post_initialize(args)
# @color = args[:color]
# @wheels = args[:wheels]
# @status = :stopped
# @num_seats = args[:num_seats]
@seaseng
seaseng / git.mdown
Last active December 18, 2015 02:29

Create a Repository

Go to github and create a repository. Follow the instructions for cloning your repository to your local machine. (Shown below and on github.com everytime you create a new repo.)

For the case of Flashcards 1.0, follow these instructions:

mkdir <your_flashcard_dir>
cd <your_flashcard_dir>
git clone https://gist.github.com/b5e5f90484436f1e7b95.git gist_files # flashcards gist