Getting environment set up
easy_install pip
pip install videodigest
pip install autosub
pip install nltk
- Go enroll for Google Cloud Translation API
- Grab key, store in bashrc / zshrc
| function sum (...args) { | |
| return Object.assign( | |
| sum.bind(null, ...args), | |
| { valueOf: () => args.reduce((a, c) => a + c, 0) } | |
| ) | |
| } | |
| // console.log(+add(1)(2)(3)(1, 2, 3)) = 12 |
| const peak = items => items[items.length - 1]; | |
| const isEmpty = items => items.length < 1; | |
| const isPromise = v => v instanceof Promise; | |
| const isFunction = v => typeof v === 'function'; | |
| const isGeneratorFunction = v=> isFunction(v) && v.constructor.name === 'GeneratorFunction'; | |
| function resolve(iterator) { | |
| function _resolve (iteratorStack, previousValue) { | |
| if (isEmpty(iteratorStack)) { | |
| return previousValue; |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Ansi 0 Color</key> | |
| <dict> | |
| <key>Alpha Component</key> | |
| <real>1</real> | |
| <key>Blue Component</key> | |
| <real>0.0</real> |
| REMOTE=$(git config --get remote.origin.url); | |
| VERSION=$(node -e "console.log(require('./package.json').version)"); | |
| cd docs; | |
| rm -rf .git; | |
| git init; | |
| git remote add origin $REMOTE; | |
| git checkout -b gh-pages; | |
| git add -A .; | |
| git commit -m "docs($VERSION)"; |
Getting environment set up
easy_install pip
pip install videodigest
pip install autosub
pip install nltk
brew install irssi
Setting up irssi Go here to grab oauth key http://www.twitchapps.com/tmi/
.irssi/config
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle' | |
| }); |
| A graph is said to be 2 connected if from every pair of vertices (u,v), there exists a vertex disjoint path from u to v. | |
| That is to say that for every vertex x in V(G), G - x is still connected. | |
| Theorem 1 (Whitney, 1927) | |
| A connected graph G with at least | |
| three vertices is 2-connected iff for every two vertices x, y ∈ | |
| V (G), there is a cycle containing both. | |
| If every two vertices belong to |
| Given | |
| G = (V,E) | |
| s = some arbitrary starting vertex v in V | |
| wt = function that returns the weight of e given edge | |
| d = {} | |
| S = {} -> Result set | |
| Q = V | |
| for each v in V | |
| d[v] = Infinity |