Skip to content

Instantly share code, notes, and snippets.

@msolorio
msolorio / snippets.cson
Created January 13, 2018 08:14 — forked from fernandoguedes/snippets.cson
console.log snippet to atom
'.source.js':
'Console log':
'prefix': 'log'
'body': 'console.log("$1", $1)'
@msolorio
msolorio / gist:28ef9f1e3c626f0d9f195f2c1efc36be
Last active August 24, 2017 13:41
Action, Reducer, and Store Drills
Setting a Language
https://glitch.com/edit/#!/modern-boat?path=src/reducers/index.js:7:58
CRUD operations
https://glitch.com/edit/#!/cautious-singer?path=src/reducers/index.js:8:0
Surprise - show an image on button click
https://receptive-factory.glitch.me/
https://glitch.com/edit/#!/receptive-factory?path=src/components/surprise.js:25:0
Hourly Rate Calcultor
https://picayune-floor.glitch.me/
https://glitch.com/edit/#!/picayune-floor?path=src/components/number-input.js:17:6
Search Characters List
https://glitch.com/edit/#!/nonstop-basket?path=src/components/live-search.js:30:44
Navigation bar
Live: https://small-helmet.glitch.me/
Files: https://glitch.com/edit/#!/small-helmet?path=src/components/navigation-bar.js:9:24
Address Book
Live: https://glitch.com/edit/#!/nimble-danger?path=src/components/address-book.js:31:49
Files: https://nimble-danger.glitch.me/
- as a user I should be able to log in with my Github, Google, or Facebook account
- as a user I should have the browser remember my session when close and open the site and not have to log in
- as a user I should be able add an item to my inventory
- as a user I should be able to view my inventory
- as a user I should be able to increment or decrement the amount I have of a certain item
- as a user I should be able to generate shopping lists for my food items partitioned by store
@msolorio
msolorio / react.md
Created June 30, 2017 03:40 — forked from michaelerobertsjr/react.md
Resources to learn React

Resources for Learning React

Course

Complete the React Basics course on Team Treehouse, or the equivelant on CodeSchool, PluralSight, etc.

Read

Read Thinking in React and quickly review the React docs.

Watch

Watch Thinking in React follow along carefully and if time permits build the project along side watching.

### returns all restaurants
db.restaurants.find()
### sort restaurants alphabetically and retrieve first 10 restaurants
db.restaurants.
find().
sort({name: 1}).
limit(10).
pretty();
@msolorio
msolorio / gist:f87ec129eb421ce9e9842de4565a1957
Created May 20, 2017 07:03
U1-L1-as7 Server Side - Request and Response Drills -
Echo Endpoint, request params
https://glitch.com/edit/#!/glen-spandex?path=server.js:1:0
Mad Libs, query params
https://glitch.com/edit/#!/button-hygienic?path=server.js:1:0
Setting a Cookie
https://glitch.com/edit/#!/first-cold?path=server.js:1:0
@msolorio
msolorio / gist:ec262f80c8a5f58b98003575cb903a7a
Created May 8, 2017 03:25
User Feedback on front end capstone - My Kinda Town
- ***Many users were confused as to what the numbers represent and what if they they were ratings what do the ratings represent
- can put numbers as fraction out of 10 (e.g. 4/10)
- labeling section ‘city ratings’
- *some users noted that they needed to be given some context for what the app is for
- provide a headline explaining the premise
- include a dropdown explaining what the city ratings are
- users noted that styles can be enhanced, make prettier
- tighten up styles on different screen sizes
@msolorio
msolorio / gist:17f4db85cdb102485f0748cb11d505f0
Last active April 26, 2017 00:08
Integrate with API Capstone Ideas

Help users decide where they want to live by providing information about cities