Instantly share code, notes, and snippets.

View mattdailey-reading.md

Books I will read, am reading or have read. This list starts around March 2015.

Future

We are Legion

Shoe Dog

New Spring (Wheel of Time prequel)

View mattdailey-projects.md

Software Projects

Larger Projects

Trym

Trym delivers a barber on-demand to your home to cut your hair. I worked on this project with a friend, he got the barbers and did marketing while I build the site.

Arshia is working on this full-time as his start up but I couldn't fully commit to another startup so I put this on hold.

Selbi

A mobile marketplace for 'selling to your friends first,' similar to letgo or OfferUp but taking advantage of your social network. It's a React Native app (iOS is stable, Android was under construction when we stopped working on the project) with a Firebase / Google Cloud backend.

View gist:4a074869587ad3db9993b44f2ed422cb
15:52:35.317 raven.js:1380 POST https://app.segment.com/api/graphql 400 ()
(anonymous) @ raven.js:1380
(anonymous) @ httpLink.js:123
s @ zen-observable.js:103
subscribe @ zen-observable.js:229
(anonymous) @ index.js:17
e @ Observable.js:179
value @ Observable.js:258
(anonymous) @ index.js:20
Promise.then (async)
View trym-example-tookan-payload.json
{
"orderId": "fakeorderid",
"services": { "haircut": 1},
"name": "Matt Dailey",
"phone": "+12064379006",
"email": "matthew.j.dailey@gmail.com",
"requestedBarber": "Any",
"address": "376 San Carlos St",
"orderDate": "2018-03-25T17:24:19.726Z",
"orderTimestamp": "2018-03-25T17:24:19.726Z",
View AppRoutes.js
import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { TextField } from 'material-ui';
import { Title, Content, ContentBold } from './components/Text';
import ContainerWithNav from './components/ContainerWithNav';
import { Button } from './components/Buttons';
View parsejobs.py
import re
'''
To run:
- select all from https://angel.co/jobs#find/f!%7B%22locations%22%3A%5B%221624-California%22%5D%2C%22roles%22%3A%5B%22Software%20Engineer%22%5D%2C%22types%22%3A%5B%22full-time%22%5D%2C%22company_size%22%3A%221-10%22%2C%22company_stage%22%3A%5B%22Seed%22%2C%22Series%20A%22%5D%7D
- copy&paste in to 'jobs.txt'
- in the same directory, put this file ('parsejobs.py') and run 'python parsejobs.py' to print output.
'''
f = open('jobs.txt')
View Set up ES6 + js tests
npm install chai --save
npm install dirty-chai --save
npm install babel-core --save
npm install babel-cli --save
npm install babel-preset-es2015 --save
npm install eslint --save-dev
npm install eslint-config-airbnb --save-dev
npm install eslint-plugin-import --save-dev
View gist:164f9ead47c33b54a750
- Variable rewards. Humans are wired to keep searching for variable rewards http://www.nirandfar.com/2012/03/want-to-hook-your-users-drive-them-crazy.html
-- Pop up gif after each session with timing information and positive feedback (similar to asana unicorn)
Hook Model
----------
1. Trigger: How does the loop initiate? In the beginning this may be through external triggers (such as an email, notification, icon
badge, etc) but through successive loops the user eventually creates internal triggers where a particular thought or emotion will send
them back to your product.