git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
const createToggler = (name) => () => { | |
const app = App.find(name) | |
if (App.focusedApp() === app) { | |
app.hide() | |
} else { | |
App.open(name) | |
} | |
} | |
// Hotkey.activate(['command'], '\\', createToggler('WebStorm')); |
'use strict'; | |
/** | |
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers) | |
* to customize this controller | |
*/ | |
const { parseMultipartData, sanitizeEntity } = require('strapi-utils'); | |
module.exports = { |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
{this.state.isLoading ? ( | |
<ActivityIndicator size="large" style={{ alignSelf: 'center', marginTop: 150 }} /> | |
) : null} | |
<WebView | |
useWebKit | |
style={{ width: '100%', display: !this.state.isLoading ? 'flex' : 'none' }} | |
source={{ uri: 'https://google.com' }} | |
injectedJavaScript={` | |
window.ReactNativeWebView.postMessage('loaded') | |
`} |
This tutorial was created by Shopify for internal purposes. We've created a public version of it since we think it's useful to anyone creating a GraphQL API.
It's based on lessons learned from creating and evolving production schemas at Shopify over almost 3 years. The tutorial has evolved and will continue to change in the future so nothing is set in stone.
This is a solution on how to theme/customize Ant Design (which is written in Less) with Sass and webpack. Ant itself offers two solutions and a related article on theming, but these are only applicable if you use Less, the antd-init boilerplate or dva-cli.
const type = val => | |
val === null | |
? 'Null' | |
: val === undefined | |
? 'Undefined' | |
: Object.prototype.toString.call(val).slice(8, -1) |
// https://hackernoon.com/redux-flow-type-getting-the-maximum-benefit-from-the-fewest-key-strokes-5c006c54ec87
// https://github.com/facebook/flow/issues/4002
// eslint-disable-next-line no-unused-vars
type _ExtractReturn<B, F: (...args: any[]) => B> = B;
export type ExtractReturn = _ExtractReturn<*, F>;