(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
<img [imageData]="imageAsNumberArray" /> |
import {Action, ActionCreator, Dispatch} from 'redux'; | |
import {ThunkAction} from 'redux-thunk'; | |
// Redux action | |
const reduxAction: ActionCreator<Action> = (text: string) => { | |
return { | |
type: SET_TEXT, | |
text | |
}; | |
}; |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Save branch history and revert easily | |
git merge --no-ff | |
git revert -m 1 <hash> | |
# Show n lines of context around diff lines instead of the usual +/- 3 | |
git diff -U<n> | |
# Check which branches are merged | |
git branch --merged |
// Boring | |
if (isThisAwesome) { | |
alert('yes'); // it's not | |
} | |
// Awesome | |
isThisAwesome && alert('yes'); | |
// Also cool for guarding your code | |
var aCoolFunction = undefined; |
[alias] | |
# Source: http://stackoverflow.com/questions/7066325/how-to-list-show-git-aliases#answer-7067489 | |
# Found on stackoverflow list all available aliases == | |
alias = config --get-regexp '^alias.*' | |
s = status | |
ss = status --short | |
ssb = status --short --branch | |
co = commit |