I'd probably break this interview down into the goals of hiring someone:
- Cares About the Craft
- Immediately Productive
- Computer Science Thinking
const express = require('express') | |
const get = require('lodash.get') | |
const keyBy = require('lodash.keyBy') | |
/** | |
* Initializes express application | |
* You should include whatever middleware you need here (cors, etc.) | |
*/ | |
const app = express() |
const fs = require("fs"); | |
const axios = require("axios"); | |
const svg2img = require("svg2img"); | |
const getSVGSource = async (id) => { | |
const { data } = await axios.get( | |
`https://www-league.nhlstatic.com/images/logos/teams-current-primary-light/${id}.svg` | |
); | |
return data; | |
}; |
import React from 'react' | |
import { View } from 'react-native' | |
import { WebView } from 'react-native-webview' | |
type ShowVGSTextProps = { | |
token: string | |
cardId: string | |
copyable: boolean | |
height?: number | |
fontSize?: number |
import pkg from '../../../package' | |
import _ from 'lodash' | |
import { | |
ApolloClient, | |
from, | |
HttpLink, | |
InMemoryCache, | |
split, | |
} from '@apollo/client' | |
import { onError } from '@apollo/link-error' |
import _ from 'lodash' | |
import * as Network from 'expo-network' | |
import * as Segment from 'expo-analytics-segment' | |
import ExpoMixpanelAnalytics from '@eeon/expo-mixpanel-analytics' | |
import { env } from '../../../constants/environment' | |
const mixpanelClient = new ExpoMixpanelAnalytics(env.mixpanelAppToken) | |
const createDomainPrefixer = (domain) => (event) => `${domain}_${event}` |
import React, { Fragment } from 'react' | |
import { | |
CardStyleInterpolators, | |
createStackNavigator, | |
} from '@react-navigation/stack' | |
import MainNavigator from './MainNavigator' | |
import { magic } from '../lib/authentication' | |
import SearchNavigator from './SearchNavigator' | |
import AccountNavigator from './AccountNavigator' | |
import PricingPlans from '../screens/PricingPlans' |
I like collecting wisdom/anecdotes/sayings/philosophies that I think are cool. Here's a few I like:
One of my life goals is to take fun very seriously
Don't do anything stupid - Bud
The more you do, the more you do; quad days are the game
Brevity is wit
import { useMemo } from 'react' | |
import pipe from 'lodash/fp/pipe' | |
import omit from 'lodash/fp/omit' | |
import concat from 'lodash/concat' | |
import getOr from 'lodash/fp/getOr' | |
import isEqual from 'lodash/isEqual' | |
import filter from 'lodash/fp/filter' | |
import isObject from 'lodash/fp/isObject' | |
import { gql, useQuery } from '@apollo/client' | |
import { flattenSecurities, flattenSecurity } from '../../lib/data' |