- An alternative approach to RESTful APIs
- Clients issue queries/mutations to read and update data
- Clients can fetch only the entity fields that are required
- GraphQL query syntax can express complex entity relations => nested objects
- Mitigates the explosion of RESTful endpoints in scenarios where many different representations of an entity are needed
- Graphiql is a query execution UI, also provides good documentation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| patbenatar.advanced-new-file | |
| formulahendry.auto-close-tag | |
| formulahendry.auto-rename-tag | |
| fosshaas.fontsize-shortcuts | |
| BriteSnow.vscode-toggle-quotes | |
| Zignd.html-css-class-completion | |
| christian-kohler.npm-intellisense | |
| christian-kohler.path-intellisense | |
| octref.vetur | |
| dbaeumer.vscode-eslint |
- Homebrew/terminal/bash
- OSX Productivity - Window Management/Quick Launcher/Hyperswitch
- OSX Settings - Dock/Finder
- Web Browser - Extensions - AdBlock, Privacy Badger, OneTab, JSONViewer, Stylus, Vue Devtools, React Devtools
- Node.js - nvm
- Code Editor - vs code
- Code Editor Extensions
- Break timer and Flux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def combinations(n, list, combos=[]): | |
| # initialize combos during the first pass through | |
| if combos is None: | |
| combos = [] | |
| if len(list) == n: | |
| # when list has been dwindeled down to size n | |
| # check to see if the combo has already been found | |
| # if not, add it to our list | |
| if combos.count(list) == 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def combinations(n, list, combos=[]): | |
| # initialize combos during the first pass through | |
| if combos is None: | |
| combos = [] | |
| if len(list) == n: | |
| # when list has been dwindeled down to size n | |
| # check to see if the combo has already been found | |
| # if not, add it to our list | |
| if combos.count(list) == 0: |
db.votes.aggregate([{
$lookup: {
from: "users",
localField: "createdBy",
foreignField: "_id",
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add the email package | |
| meteor add email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template name="ForgotPassword"> | |
| <form action="/forgot" id="forgotPasswordForm" method="post"> | |
| <input id="forgotPasswordEmail" type="text" name="email" placeholder="Email Address"> | |
| <input class="btn-submit" type="submit" value="Send"> | |
| </form> | |
| <!-- end #forgot-password-form --> | |
| </template> |