I hereby claim:
- I am peterpme on github.
- I am peterpme (https://keybase.io/peterpme) on keybase.
- I have a public key ASDd9ipiMIdjkzvqnBaqXLvRHaN2-tVZtgHng-YSVYRv4Ao
To claim this, I am signing this object:
| const Layout = () => ( | |
| <ScrollView | |
| contentContainerStyle={{ | |
| flex: 1, | |
| justifyContent: 'space-between' | |
| }}> | |
| <Row /> | |
| <Row /> | |
| <Row /> | |
| <Row /> |
| import { Constants } from 'expo' | |
| const ENV = { | |
| dev: { | |
| apiUrl: 'http://localhost:1337/api' | |
| }, | |
| staging: { | |
| apiUrl: 'https://staging.orchard.ai/api' | |
| }, | |
| prod: { |
| updateUser: (variables) => { | |
| return mutate({ | |
| variables, | |
| // when using optimisticResponse and I don't include the values, I get a warning. | |
| optimisticResponse: { | |
| updateUser: { | |
| __typename: 'User', | |
| id: 'xyz', | |
| setting: undefined, |
I hereby claim:
To claim this, I am signing this object:
| <ApolloTote | |
| query={` | |
| query { | |
| user { | |
| imageUrl | |
| } | |
| } | |
| `} | |
| renderLoading={() => <Avatar.Loading />} | |
| render={value => <Avatar imageUrl={value.user.imageUrl} />} |
| # symlink to ~/.ssh/config | |
| Host github.com | |
| ControlMaster auto | |
| ControlPersist 120 | |
| Host * | |
| # Always use SSH2. | |
| Protocol 2 |
| const handleFieldUpdate = (key) => (value) => setState({ [key]: value }) | |
| const SomeForm = () => ( | |
| <Input | |
| placeholder='Name' | |
| onChange={handleFieldUpdate('name')} | |
| /> | |
| ) | |
| const Input = ({ |
| // ... | |
| atom-workspace, | |
| atom-text-editor { | |
| font-family: "Fira Code"; | |
| text-rendering: optimizeLegibility; | |
| font-size: 17px; | |
| font-weight: 400; | |
| line-height: 1.8; | |
| } |
| # belongs in ~/.zshrc | |
| #chpwd is a zsh hook | |
| function chpwd() { | |
| [ -e .nvmrc ] && nvm install | |
| } |