Skip to content

Instantly share code, notes, and snippets.

View JackHowa's full-sized avatar

Jack Howard JackHowa

View GitHub Profile
const axios = require('axios');
const githubURL = 'https://api.github.com/users/';
const jackGithubUrl = githubURL + 'jackhowa';
const mattGithubUrl = githubURL + 'mattzuzolo';
getDetails();
const axios = require('axios');
const baseURL = 'https://rest.coinapi.io';
const apiKey = 'X';
const bitcoinPath = '/v1/exchangerate/BTC';
getDetails();
@JackHowa
JackHowa / react curriculum
Created May 28, 2018 19:06
react fcc beta code snippets
// 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
@JackHowa
JackHowa / fcc-redux
Last active May 22, 2022 17:49
fcc redux curriculum snippets
this is for the free code camp course on Redux https://learn.freecodecamp.org/front-end-libraries/redux/create-a-redux-store
@JackHowa
JackHowa / react native - latr 2.0
Created June 1, 2018 00:23
this is a running list of helpful commands for react native
# see available devices for the simulator
xcrun simctl list devices
react-native run-ios --simulator="iPhone 10"
@JackHowa
JackHowa / AreaGraph.js
Created June 21, 2018 15:42
voronoi label component victory
want it to be similar to this https://jsfiddle.net/boygirl/z00r6h45/
@JackHowa
JackHowa / d3-notes.txt
Created June 24, 2018 23:37
this is notes about the d3 portion of the fcc code camp
d3 on fcc won't let be me
this is notes for the fcc course
@JackHowa
JackHowa / App.js
Created August 9, 2018 15:29
Custom headers in react-navigation from
// via https://snack.expo.io/Sydk-FD_W
import React from 'react';
import { ScrollView, Text, View, StyleSheet, Button } from 'react-native';
import { StackNavigator } from 'react-navigation'; // 1.0.0-beta.11
// import { Constants } from 'expo';
const CustomHeader = ({ title, subtitle }) => (
<View style={styles.header}>
<Text style={styles.title}>{title}</Text>
@JackHowa
JackHowa / route.js
Created August 9, 2018 18:58
Tab navigator within tab nav within stack
import React from 'react';
import { createStackNavigator, createBottomTabNavigator, createMaterialTopTabNavigator, TabBarTop, TabNavigator } from 'react-navigation';
import { Text } from 'react-native';
import Welcome from './screens/Welcome';
import Loading from './screens/Loading';
import Offerings from './screens/Offerings';
import CreateAccount from './screens/signup/CreateAccount';
import ReferInformationScreen from './screens/signup/ReferInformationScreen';
import NetWorth from './screens/signup/NetWorth';
import EmploymentStatus from './screens/signup/EmploymentStatus';