- Download this application skeleton.
- Convert the app to use AJAX.
- Add any files you changed to your gist and submit your code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Type a word:" | |
list = [] | |
while true | |
input = gets.chomp | |
break if input == "" | |
list << input | |
puts "Type another word (or press enter to finish):" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/generalzhou/ar-student-schema.git | |
Successfully creates a student table that includes the correct column headers | |
Created Student model and includes validation for age, email format and uniqueness, and phone number. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//------------------------------------------------------------------------------------------------------------------ | |
// YOUR CODE: Create your Zoo "object literal" and Animal "constructor" and "prototypes" here. | |
//------------------------------------------------------------------------------------------------------------------ | |
var Zoo = { | |
init: function(animals) { | |
this.animals = animals; | |
}, | |
bipeds: function() { | |
var biped_array = []; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[#<LoanDocument id: 180, name: "Supplement Form_Jaseboards", file: "Supplement_Form_Jaseboards.pdf", created_at: "2014-07-28 18:44:20", updated_at: "2014-07-28 18:44:20", loan_application_id: "635bbb27-2785-4832-b49c-61b74886e310">, #<LoanDocument id: 111, name: "Benthic Fishing__Supplement", file: "Benthic_Fishing__Supplement.pdf", created_at: "2014-07-09 14:58:00", updated_at: "2014-07-09 14:58:00", loan_application_id: "3fff82e2-5286-4147-8d9a-092551db4088">, #<LoanDocument id: 138, name: "Supplement Form_WhiteOakAuto", file: "Supplement_Form_WhiteOakAuto.pdf", created_at: "2014-07-21 20:01:44", updated_at: "2014-07-21 20:01:44", loan_application_id: "f6a95040-286e-494e-9eed-d79c32747698">, #<LoanDocument id: 113, name: "Giftcardrescue.com__Supplement", file: "Giftcardrescue.com__Supplement.pdf", created_at: "2014-07-09 16:43:04", updated_at: "2014-07-09 16:43:04", loan_application_id: "1395741a-1d9e-44cc-a61c-c1411deae420">, #<LoanDocument id: 142, name: "Supplement Form_Five Star Equity", file: "Suppleme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'httparty' | |
require 'awesome_print' | |
public_token = "" | |
class PlaidAdapter | |
CLIENT_ID = '' | |
CLIENT_SECRET = '' | |
attr_reader :public_token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Asteroids | |
# first create an array that represents the relative positions of the asteroids | |
# once we do this, we can ignore the actual distance from the space station as it's not relevant | |
# example: | |
# 0 | . | o | space station | |
# -----------------|-------|----- | |
# mass: 3 | 1 | 2 |
OlderNewer