Skip to content

Instantly share code, notes, and snippets.

@mikeymaio
mikeymaio / gist:fb4c42aa2fbd7559eeed9f9f1fb920bf
Created July 28, 2017 19:47
Doyle-Salewski Production Prep
REPO: doyle-salewski-calculator
/helpers.js
1. change request paths from absolute to relative:
comment out lines 86 and 110 (for development purposes)
uncomment lines 87 and 111
The initial MVP did not have the timetracker and users had to create their own invoices. This proved to be the biggest
problem freelancers wanted solved, so a timetracker was implemeneted.
Users noticed that the timetracker would not persist if the browser was closed. Users requested a persistent timetracker, that would not
stop until the user clicks "stop"
@mikeymaio
mikeymaio / gist:3a4e3ba5a9acfb63c72479410c8f54d3
Last active April 14, 2017 19:12
Freelance App Data Models/Schemas
USER : {
name: {
first,
last
},
email,
phone,
address,
hashedPassword,
salt,
Description:
Me-Lance is an app for freelancers to manage clients, projects, and invoicing.
User Stories:
As a user, I want to create an account, so that I can save my session
As a user, I want to log in, so that I can pickup where I left off
As a user, I want to log out, so that anyone using my computer cannot tamper with my account
Initial load time for app takes too long
Users want to see the waveform behind the seekbar to line up the start time with the first transient (sometimes there is silence at the
beginning of a track)
Users want to see the bpm of the track and have it update as they change the playbackRate
isEven has 0(1) run time complexity
areYouHere has O(n^2) run time complexity
doubleArrayValues has O(n) run time complexity
naiveSearch has O(n) run time complexity
createPairs has O(n^2) run time complexity
generateFib has O(n) run time complexity
efficientSearch has O(log n) run time complexity
findRandomElement has O(1) run time complexity
isPrime has O(n) run time complexity
As a user, I want to import songs so I can play them
As a user, I want to play songs
As a user, I want to load a song while another song is play without interrupting the currently playing song
As a user, I want to crossfade between songs, so the music never stops
As a user, I want to have an "auto-mix-mode" so I do not have to manually crossfade between songs
@mikeymaio
mikeymaio / gist:2adc743e554b186f2c37a952e50adf11
Created February 24, 2017 19:59
Band Mom User Feedback
FEEDBACK:
Users would like an option to do a "quick add" to the event list (add a new row and fill in each cell without the guide)
Users would like to customize there list items more (not being limited to [1/4" cables, xlr cables, etc])
SOLUTIONS:
Maybe the table structure is not best. For events, It may be best to pull up a modal to add/edit fields and show full details
while keeping the dashboard view clean, with only a few necessary fields visible. Same goes for the list. Maybe more of a traditional to-do
@mikeymaio
mikeymaio / gist:ba52e0d8e697ea29e0ba1b0b1071e224
Created January 13, 2017 22:02
Capstone 2 : Getting Specific With Database / Models / Schemas
BandMom / Roadie
Functions for MVP:
User login
User logout
User CRUD {
@mikeymaio
mikeymaio / gist:cda9b2486229f7137ec8782568023cc3
Last active January 12, 2017 16:10
Capstone 2 High Level Planning
Musician's Gig Planner
What is it?
An app that guides users through preparing their band for a gig, step by step, ensuring they do not forget anything, as well as
providing any necessary reminders.
Ideal Guide: