#Comprehensive Introduction to @ngrx/store 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!
window.the_catalog = {"03_11_11 An Open System of Intelligence.mp3": "https://gf-media.s3.amazonaws.com/Livestreams from Bolinas/03_11_11 An Open System of Intelligence.mp3", "7.23.07 P Int 9 Q&A pm.mp3": "https://gf-media.s3.amazonaws.com/Free%20cc%20audio%20downloads/7.23.07%20P%20Int%209%20Q&A%20pm.mp3", "11_12_07 Never Give Up.mp3": "https://gf-media.s3.amazonaws.com/Free%20cc%20audio%20downloads/11_12_07%20Never%20Give%20Up.mp3", "03_28_07 The Storehouse of Great Benefit.ed.mp3": "https://gf-media.s3.amazonaws.com/Free%20cc%20audio%20downloads/03_28_07%20The%20Storehouse%20of%20Great%20Benefit.ed.mp3", "12_21_07 One Simple Change.ed.mp3": "https://gf-media.s3.amazonaws.com/Free%20cc%20audio%20downloads/12_21_07%20One%20Simple%20Change.ed.mp3", "04_28_11 Take Residence in OI.mp3": "https://gf-media.s3.amazonaws.com/Livestreams from Bolinas/04_28_11 Take Residence in OI.mp3", "02_23_11 Total Power-Total Clarity.mp3": "https://gf-media.s3.amazonaws.com/Livestreams from Bolinas/02_23_11 Total Power-Total Cla |
{ | |
"name": "simple-vue-starter", | |
"version": "1.0.0", | |
"description": "vue start app boilerplate", | |
"main": "index.js", | |
"config": { | |
"browserifyTransforms": "-t [babelify ext .js .html] -t scssify -g browserify-css -t [stringify ext .html]" | |
}, | |
"scripts": { | |
"test": "ava src/**/*.spec.js", |
// get /stories?uid=(string|undefined) | |
{ | |
"blobs": [ | |
"<p>En pleno corazón de Europa, escuchar criterios discriminatorios contra la mujer es poco usual. Y mucho más si quien los pronuncia es un mandatario extranjero que ha llegado en visita oficial y es acogido por los más altos cargos del país sede.</p>", | |
"<p><img alt=\"Aisha Buhari\" title=\"Aisha Buhari\" height=\"480\" width=\"338\" class=\"media-element file-full\" src=\"http://stage.telemundo.com/sites/nbcutelemundo/files/styles/large/public/ap_16288474753222.jpg?itok=JajMh368\">", | |
"<p>En medio de una rueda de prensa conjunta, al mandatario africano le preguntaron cuál era el pronunciamiento político de su esposa con respecto a la situación interna de su país.</p>" | |
], | |
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", | |
"heroImg": "http://...", |
license: mit |
process.stdin.resume(); | |
process.stdin.setEncoding("ascii"); | |
var input = ""; | |
process.stdin.on("data", function (chunk) { | |
input += chunk; | |
}); | |
process.stdin.on("end", function () { | |
handleInput(input) | |
}); |
#Comprehensive Introduction to @ngrx/store 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!
var test = [[1,2,[3]],4,[5,[6],[[7,8],9]],10] | |
var superFlatten = function(arr) { | |
return arr.reduce(function(acc, curr) { | |
// If item in array is an array, superFlatten(it) then concat, else just concat | |
return (Array.isArray(curr)) ? acc.concat(superFlatten(curr)) : acc.concat(curr) | |
}, []) | |
} | |
console.log(superFlatten(test)) |