This file contains hidden or 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
| **Instructions for Windows 8/10 Users** | |
| #Pre-Req's# | |
| -Python 2.7/3.x | |
| -libspotify module | |
| -A functional Spotify Premium Account | |
| -Command Line Knowledge! | |
This file contains hidden or 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
| import React from 'react'; | |
| import { Meteor } from 'meteor/meteor'; | |
| Contact = React.createClass({ | |
| render(){ | |
| return( | |
| <div> | |
| </div> | |
This file contains hidden or 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
| Contact = React.createClass({ | |
| render(){ | |
| return ( | |
| <div className="container"> | |
| <div className="card-panel"> | |
| <div className="row"> | |
| <h4>Contact Me</h4> | |
| <form className="col s12" onSubmit={this.onSubmit}> | |
| <div className="row"> | |
| <div className="input-field col m6 s12"> |
This file contains hidden or 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
| onSubmit(e){ | |
| // grab form elements using jquery... i think there's a better way for this. | |
| e.preventDefault(); | |
| var element = $(e.target); | |
| var firstName = element.find("#firstName").val(); | |
| var lastName = element.find("#lastName").val(); | |
| var emailVal = element.find("#emailVal").val(); | |
| var companyVal = element.find("#companyVal").val(); |
This file contains hidden or 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
| if(Meteor.isServer){ | |
| Meteor.methods({ | |
| sendEmail:function(subForm){ | |
| var sparky = new SparkPost(process.env.SPARKPOST_AUTHKEY); | |
| sparky.transmissions.send({ | |
| transmissionBody: { | |
| content: { | |
| from: '[email protected]', // take in users email for from | |
| subject: subForm.email_val +' contacted you!', |
This file contains hidden or 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
| import React, { | |
| Linking, | |
| Platform, | |
| ActionSheetIOS, | |
| Dimensions, | |
| View, | |
| Text, | |
| Navigator, | |
| Component, | |
| ListView, |
This file contains hidden or 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
| import React, { | |
| Linking, | |
| Platform, | |
| ActionSheetIOS, | |
| Dimensions, | |
| View, | |
| Text, | |
| Navigator, | |
| Component, | |
| ListView, |
This file contains hidden or 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
| class ListComment extends Component { | |
| constructor(props){ | |
| super(props); | |
| this.state = { | |
| // prop is an init value, legal baby | |
| commentId: this.props.comment.id, | |
| }; | |
| } | |
| // handle time precision |
This file contains hidden or 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
| Running tests for sequence Class with a linked sequence | |
| START OF TEST 4: | |
| Testing the copy constructor (2 points). | |
| Copy constructor test: for an empty sequence. | |
| COPIED SEQUENCE: SIZE: 0 | |
| ATTACH COND 1 | |
| SEQUENCE: 1 |
OlderNewer