Skip to content

Instantly share code, notes, and snippets.

View chasingSublimity's full-sized avatar
👨‍🎓

Blake Sager chasingSublimity

👨‍🎓
View GitHub Profile
@chasingSublimity
chasingSublimity / Answers + Comments.js
Created April 9, 2017 03:25
Big O Drill Answers and Comments
// Constant Time O(1)
function isEven(value){
// function does not allow for an input > than 1
// so it is Constant Time by default
if (value % 2 == 0){
return true;
}
else
return false;
@chasingSublimity
chasingSublimity / Statement and Stories.txt
Last active March 14, 2017 20:01
React Capstone Purpose Statement and User Stories
Purpose Statement:
- This app will allow users to track, among other minor analytics, the amount of money they owe to the groupchat swearjar. The analytics will be pulled from the groupme api.
User Stories:
- As a user, I can view the analytics of chat group members by clicking on their image in the app UI.
@chasingSublimity
chasingSublimity / yuh.js
Created March 11, 2017 18:02
redux dev tools with middleware
import { createStore, applyMiddleware } from 'redux';
import reduxThunk from 'redux-thunk';
import reducers from './reducers';
const store = createStore(reducers,
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),
applyMiddleware(reduxThunk));
@chasingSublimity
chasingSublimity / codeComments.txt
Created February 14, 2017 19:19
capstone-two-feedback
Code is well organized, but the variable names could be a little clearer.
Endpoints are built well.
Tests could be rearranged to mimic use cases of PUT requests to /setlist endpoint.
Instead of seeding database before each test, the tests could be arranged in such a way that items are added
and removed as a part the tests, and not programatically.
@chasingSublimity
chasingSublimity / doc.txt
Created January 21, 2017 18:09
Descoped MVP and Screen Inventory
## Descoping to MVP
* As a user, I should be able to log in
* As a user, I should be able to access my tracks from the Spotify API
* As a user, I should be able to read the differences between 3 setlist templates.
* As a user i should be able to create and save a setlist
* As a user, i should be able to make edits to the saved setlist
* As a user, I should be able to delete a saved setlist
* As a user i should be able to retrieve a saved setlist.
* As a user, I should be able to export a setlist to a word processor
* As a user, I should be able to see the tempo and key of tracks
@chasingSublimity
chasingSublimity / Statement and Stories.txt
Created January 20, 2017 00:33
Purpose Statement and User Stories
## App Purpose Statement
* Help artists gather, organize, and present their analytics to clients, agents and labels.
## User Stories
* As a user, I should be able to sign up .
* As a user, I should be able to log in.
* As a user, I should be able to pull and save semi-raw analytics from the Spotify API.
* As a user, I should be able to compare my analytics against my peers.
* As a user, I should be able to manually input my competitors as well as see suggested peers.
* As a user, I should be able to choose, or “stage”, data from the data base to display.
@chasingSublimity
chasingSublimity / mongoDrills.txt
Last active January 14, 2017 00:42
mongoDrills
db.restaurants.find();
db.restaurants.find().sort({name: 1}).limit(10);
var itemId = db.restaurants.findOne({}, {_id: true})._id;
db.restaurants.findOne({_id: myId});
db.restaurants.find({borough: "Queens"});
db.restaurants.count();
@chasingSublimity
chasingSublimity / links
Last active January 6, 2017 04:44
send/request drill links
@chasingSublimity
chasingSublimity / feedback.txt
Created December 27, 2016 19:12
capstone-one-feedback
#Feedback
UI is inconsistent. images display at different heights and the text boxes are inconsistently sized.
Bugs with continuous API calls, due to starting point offset
Low res pictures
Those who looked at the code said it was well structured
#Fixes
Need to set minimum heights for text-boxes and images.
@chasingSublimity
chasingSublimity / userflow.txt
Last active December 14, 2016 13:12
1stCapstonUserflow
1
Title in top left hand corner
Search bar in center with instructions as placeholder text
----------------------------------------------------------
Enter Character Name into input field and submit via click or enter
2
Title in top left hand corner
search bar in center w/ instructions as placeholder text
Character Name