By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
# requires: 256 color terminal | |
/script install iset.pl | |
/script install buffers.pl | |
/script install colorize_nicks.py | |
/set weechat.look.buffer_notify_default message | |
/set weechat.look.color_nick_offline on | |
/set weechat.look.prefix_action " •" | |
/set weechat.look.prefix_join "▬▶" |
Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
ActivityTweet | |
generic_activity_highlights | |
generic_activity_momentsbreaking | |
RankedOrganicTweet | |
suggest_activity | |
suggest_activity_feed | |
suggest_activity_highlights | |
suggest_activity_tweet |
cd fonts | |
mv *.ttf /usr/share/fonts/truetype | |
cd /usr/share/fonts/truetype | |
mkfontscale | |
mkfontdir | |
fc-cache | |
xset fp rehash |
//Example 1 - Calculate average value of an array (transform array into a single number) | |
var scores = [89, 76, 47, 95] | |
var initialValue = 0 | |
var reducer = function (accumulator, item) { | |
return accumulator + item | |
} | |
var total = scores.reduce(reducer, initialValue) | |
var average = total / scores.length | |
/*Explain about function |
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents