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
import React, { Component } from 'react'; | |
import {AppRegistry, View, StyleSheet, Animated, Easing } from 'react-native'; | |
export default class animatedbasic extends Component { | |
componentWillMount() { | |
this.animatedValue = new Animated.Value(1); | |
} | |
componentDidMount() { | |
Animated.timing(this.animatedValue, { |
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
{ "swagger": "2.0", | |
"info": { | |
"title": "Loan Application API V2", | |
"version": "v2" | |
},"basePath":"/","tags":[{"name":"Loan Application API v2"},{"name":"Loan Application Document API v2"}],"paths":{"/loan/{loanUuid}/document":{"get":{"tags":["Loan Application Document API v2"],"summary":"Return documents associated with a loan.","description":"","operationId":"index","produces":["application/json"],"parameters":[{"name":"loanUuid","in":"path","required":true,"type":"string","x-example":"318120e7-9a8b-4f69-871e-ee06fed7419b"}],"responses":{"200":{"description":"successful operation","schema":{"$ref":"#/definitions/Loan Documentation"}}},"security":[{"Mirador API Token.":[]}]}},"/loan/{loanUuid}/document/{documentUuid}/download":{"get":{"tags":["Loan Application Document API v2"],"summary":"Download a loan document. Response is binary data, with an associated content-type.","description":"","operationId":"download","produces":["*/*"],"parameters":[{"name":"loanUuid","in":"path","required":true,"type" |
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 keyMe = (key) => ({ key, specialId: key}) | |
<Comp {...keyMe(key)} /> |
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
{ | |
"Create Panresponder": { | |
"prefix": "pancreate", | |
"body": [ | |
"PanResponder.create({", | |
" onStartShouldSetPanResponder: (evt, gestureState) => true,", | |
" onMoveShouldSetPanResponder: (evt, gestureState) => true,", | |
" onPanResponderGrant: (e, gestureState) => {", | |
" ", | |
" },", |
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
import React, { Component } from "react"; | |
import { View, Text, StyleSheet } from "react-native"; | |
class componentName extends Component { | |
_scrollEnabled = false; | |
enable = () => { | |
this._scrollEnabled = true; | |
this._scrollView.setNativeProps({ |
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
// Master Nav Setup | |
const Main = StackNavigator( | |
{ | |
Landing: { | |
screen: LandingScreen, | |
}, | |
SignIn: { | |
screen: SignInScreen, |
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
Quickbooks Process | |
------------------- | |
1) A QWC file is generated (file generateQWC.php). This creates the XML for the web connector, adds in the username to the qwc file, also writes the username/password to the quickbooks_user database. | |
2) The top of the server.php builds the global constants, and builds arrays that get passed into the web connector handler/php sdk. | |
2 a) QB_QUICKBOOKS_MAX_RETURNED is the amount of items that we tell quickbooks to send to us at one time. Limit this to a minimal amount. | |
2 b) Then we set up priorities (ie.QB_PRIORITY_CUSTOMER_IMPORT, QB_PRIORITY_INVOICE_IMPORT, etc). The higher the number means that this queue item will get run before the lower numbers. | |
This comes in handy when you are doing a customer import, and then an invoice import that has to link all invoices to customers. Setting customer import ot | |
higher than the invoice import will ensure that all customers are imported first. | |
2 c) $map variable: This links all the SDK functions to PHP functions. These obj |
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 NavItem = styled.li( | |
{ | |
margin: "15px 0", | |
}, | |
({ sub }) => ({ | |
fontSize: ".8rem" | |
}), | |
); | |
<NavItem sub /> |
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
import React from "react"; | |
import { render } from "react-dom"; | |
import { BrowserRouter, Switch, Route } from "react-router-dom"; | |
import RenderTo from "./render_to"; | |
import Header from "./components/header"; | |
import Nav from "./components/nav"; | |
import Home from "./pages/home"; | |
import AccountsReview from "./pages/accounts_review"; |