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, { Component } from 'react'; | |
import { Text, View } from 'react-native'; | |
import axios from 'axios'; | |
import Product from '../../models/Product' | |
// Note the special import here! | |
interface ICardCollectionProps { | |
} |
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, { Component } from 'react'; | |
const BTC_URL = 'http://54.213.83.132/hackoregon/http/oregon_individual_contributors/'; | |
export default class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
sortOrder: 'ascending', | |
data: [], |
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 { connect } from 'react-redux'; | |
import Vote from './Vote'; | |
import Winner from './Winner'; | |
export default function Voting(props) { | |
return ( | |
<div className="voting"> |
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
var React = require('react'); | |
var TodoBox = React.createClass({ | |
render: function() { | |
return ( | |
<div className="todoBox"> | |
<h1>Todos</h1> | |
<TodoList data={this.props.data} /> | |
<TodoForm /> | |
</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
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <cmath> | |
using namespace std; | |
// declaring the functions | |
double findInt( double intRate, int yearlyPayments ); | |
double loanAmountFunc( double i, double y, double periodicPayment ); | |
double monthlyPaymentFunc( double i, double y, double periodicPayment ); |
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
#!/usr/bin/env ruby | |
def is_mac? | |
RUBY_PLATFORM.downcase.include?("darwin") | |
end | |
def getc_input | |
# http://stackoverflow.com/a/174967/250407 | |
# http://bit.ly/PMZdKv | |
begin |
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
//Name: Derrik Fleming | |
//Class: CS162 | |
//Prof: Karla Fant | |
#include <iostream> | |
#include <fstream> | |
#include <stdlib.h> | |
using namespace std; |
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
//Name: Derrik Fleming | |
//Class: CS162 | |
//Prof: Karla Fant | |
#include <iostream> | |
using namespace std; |