123
abc
| curl 'http://www.devprev.com/arlington/api/orders' \ | |
| -H 'Connection: keep-alive' \ | |
| -H 'Pragma: no-cache' \ | |
| -H 'Cache-Control: no-cache' \ | |
| -H 'Credentials-Token: 9f58a1dc99e8f92f3ec1a441136108c8' \ | |
| -H 'Accept: application/json, text/plain, */*' \ | |
| -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36' \ | |
| -H 'Auth-Token: 4D1D8902094FE083' \ | |
| -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7gRu0s0iWZ0G3FkZ' \ | |
| -H 'Origin: http://localhost:8081' \ |
| curl 'http://www.devprev.com/arlington/api/orders' \ | |
| -H 'Connection: keep-alive' \ | |
| -H 'Pragma: no-cache' \ | |
| -H 'Cache-Control: no-cache' \ | |
| -H 'Credentials-Token: 29475c3df10f35aa2163671493c15595' \ | |
| -H 'Accept: application/json, text/plain, */*' \ | |
| -H 'X-Requested-With: XMLHttpRequest' \ | |
| -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36' \ | |
| -H 'Auth-Token: 4D1D8902094FE083' \ | |
| -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryMyhgBRqQUzKq6tJl' \ |
| curl 'http://www.devprev.com/arlington/api/orders' \ | |
| -H 'Connection: keep-alive' \ | |
| -H 'Pragma: no-cache' \ | |
| -H 'Cache-Control: no-cache' \ | |
| -H 'Credentials-Token: 9f58a1dc99e8f92f3ec1a441136108c8' \ | |
| -H 'Accept: application/json, text/plain, */*' \ | |
| -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36' \ | |
| -H 'Auth-Token: 4D1D8902094FE083' \ | |
| -H 'Content-Type: application/x-www-form-urlencoded' \ | |
| -H 'Origin: http://localhost:8081' \ |
| from bs4 import BeautifulSoup | |
| import codecs | |
| excluded_strings = [ | |
| "google", | |
| "youtube" | |
| ] | |
| header = "title,link" | |
| with open('file.csv', 'w') as my_csv: |
| class ParentComponent extends Component { | |
| render() { | |
| // My basic render function structure: | |
| // 1) Extract values from props and state | |
| const {a, b, someBoolean, someList} = this.props; | |
| // 2) Render any dependent items into temporary variables, such as conditional components or lists | |
| const conditionalComponent = someBoolean ? <SomeComponent /> : null; | |
| const listItems = someList.map(item => <ListItem item={item} />); |
| yarn add enzyme flow immutable jquery material-ui materialize-css react react-dom react-motion react-redux react-router react-router-dom react-styleguidist react-test-renderer react-transition-group redux redux-actions redux-immutable redux-logger redux-observable redux-orm serve styled-components |
| import { createStore, applyMiddleware, compose } from 'redux'; | |
| import thunkMiddleware from 'redux-thunk'; | |
| import { createLogger } from 'redux-logger'; | |
| import rootReducer from './reducers'; | |
| const loggerMiddleware = createLogger(); | |
| const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; | |
| export default function configureStore(preloadedState) { | |
| return createStore( |
| // Action creators can be impure. | |
| export const addChat = ({ | |
| // cuid is safer than random uuids/v4 GUIDs | |
| // see usecuid.org | |
| id = cuid(), | |
| msg = '', | |
| user = 'Anonymous', | |
| timeStamp = Date.now() | |
| } = {}) => ({ | |
| type: ADD_CHAT, |
Cheng Lou, a former member of the React team, gave an incredible talk at React Europe 2016 entitled "On the Spectrum of Abstraction". That talk is available for viewing here: https://www.youtube.com/watch?v=mVVNJKv9esE
It's only a half-hour, but it is mind-blowing. It's worth re-watching two or three times, to let the ideas sink in.
I just rewatched the talk for some research, and wrote down a summary that's semi-transcript-ish. I didn't see any other transcripts for this talk, other than the auto-generated closed captions, so I wanted to share for reference.