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
# see available devices for the simulator | |
xcrun simctl list devices | |
react-native run-ios --simulator="iPhone 10" |
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
this is for the free code camp course on Redux https://learn.freecodecamp.org/front-end-libraries/redux/create-a-redux-store |
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
// React - Bind 'this' to a Class Method | |
class MyComponent extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
visibility: false | |
}; | |
// change code below this line | |
this.toggleVisibility = this.toggleVisibility.bind(this) | |
// change code above this line |
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
const axios = require('axios'); | |
const baseURL = 'https://rest.coinapi.io'; | |
const apiKey = 'X'; | |
const bitcoinPath = '/v1/exchangerate/BTC'; | |
getDetails(); |
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
const axios = require('axios'); | |
const githubURL = 'https://api.github.com/users/'; | |
const jackGithubUrl = githubURL + 'jackhowa'; | |
const mattGithubUrl = githubURL + 'mattzuzolo'; | |
getDetails(); |
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
// this should be presentation | |
const Card = (props) => { | |
return ( | |
<div style={{margin: '1em'}}> | |
<img width='75' src={props.avatar_url} /> | |
<div style={{display: 'inline-block', marginLeft: 10}}> | |
<div style={{fontSize: '1.25em', fontWeight: '1.25em'}}>{props.name}</div> | |
<div>{props.company}</div> | |
</div> | |
</div> |
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
function checkCashRegister(productPrice, cashGiven, cashInDrawer) { | |
let changeNeeded = cashGiven - productPrice; | |
let errors = checkErrors(changeNeeded, cashInDrawer); | |
if (typeof errors == "string") { | |
return errors; | |
} else { | |
return []; | |
} | |
} |
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
<div id='rating'> | |
<span>*</span> | |
<span>*</span> | |
<span>*</span> | |
<span>*</span> | |
<span>*</span> | |
</div> |
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
/* questions | |
find file status? better way than checking whether there's a document signed? | |
// best way to identify loans? can do file id and document id. but what about multiple documents? find all the documents that are signed for an individual unit? | |
-is there an id? | |
relevant info | |
Add a basic implementation of sertifi get link, create signature and get status based on file id | |
Add a basic template outline for the show page of sertifi | |
note: routes don't currently take in relevant info. and there's no front-end. but I think this satisfies the given request of getting a sertifi loan status and investigating the api. |
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
<table id="card-container"> | |
<tbody> | |
<tr> | |
<td class="card">down</td> | |
<td class="card">down</td> | |
</tr> | |
<tr> | |
<td class="card">down</td> | |
<td class="card">down</td> | |
</tr> |