- API
- Application Programming Interface
- exposes HTTP request endpoints for public access to data
- http:///////
- http:///
- http://mylibraryserver.com/books/1
- request data
- Promises
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import csv | |
| import json | |
| import os | |
| __author__ = "Arjun Ray" | |
| __license__ = "MIT" |
master: should be most stable version of project, imagine the general public using the code this branch. basically only every make commits to this branch- for your initial commit
- when you merge from the main development branch
dev: the branch where new features are accumulating, based on merges from feature branches- branched directly off of master
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
| // function expression | |
| function myFunction () { | |
| console.log('hello world') | |
| } | |
| // function declaration | |
| const myFunction = function () { | |
| console.log('hello world') | |
| } |
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
| import React, { Component } from 'react'; | |
| import './App.css'; | |
| class App extends Component { | |
| state = { | |
| firstName: "Samantha", | |
| lastName: "Ambroise" | |
| } |
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
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import argparse | |
| import csv | |
| import json | |
| import os | |
| __author__ = "Arjun Ray" | |
| __license__ = "MIT" |
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
| atom_resize () { | |
| FONT_SIZE="32px" | |
| BASE_DIR=".atom" | |
| TEACHING_STYLE="teaching-styles.less" | |
| ATOM_STYLE="styles.less" | |
| if grep -q Microsoft /proc/version > /dev/null 2>&1 | |
| then | |
| TEACH_STYLE_PATH=~/winhome/${BASE_DIR}/${TEACHING_STYLE} | |
| ATOM_STYLE_PATH=~/winhome/${BASE_DIR}/${ATOM_STYLE} | |
| else |
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
| #!/usr/bin/env python | |
| from itertools import combinations | |
| USER_TYPES = [ | |
| 'Instructor', | |
| 'Course Preparer', | |
| 'Mentor', | |
| 'Student', | |
| 'Observer', |