Skip to content

Instantly share code, notes, and snippets.

View joelbowen's full-sized avatar

Joel Bowen joelbowen

View GitHub Profile
@joelbowen
joelbowen / Example.js
Created September 13, 2016 21:16
An example of reducing a set of data
/*
Implement a function that given two arbitrary dates ‘dateFrom’ and ‘dateTo’, will display a sorted list of the stocks based on their performance over those dates. For example:
*/
const stocks = {
AAPL: [
{
'date': '2016-03-02',
'price': 98.32,
'dayChange': -1.5
},
@joelbowen
joelbowen / README.md
Last active September 19, 2018 13:49
create-react-native-app environment variables

Change your app.json to base-app.json and untrack the original file in your .gitignore

Then add something like "generateConfig": "rimraf app.json && node generateConfig" to your package.json scripts, and yarn generateConfig && react-native-scripts start to scripts like "start" or any others that may need app.json generated.

Keybase proof

I hereby claim:

  • I am joelbowen on github.
  • I am joelbowen (https://keybase.io/joelbowen) on keybase.
  • I have a public key ASCjsyeWtoOjnvyaWIFEa2kaR7uVwVgtNC6_HnLkrq0LVgo

To claim this, I am signing this object: