(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.
| {"lastUpload":"2020-06-02T09:16:19.677Z","extensionVersion":"v3.4.3"} |
(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.
| function memorySizeOf(obj) { | |
| var bytes = 0; | |
| function sizeOf(obj) { | |
| if(obj !== null && obj !== undefined) { | |
| switch(typeof obj) { | |
| case 'number': | |
| bytes += 8; | |
| break; | |
| case 'string': |
| var each = function (arr, callback){ | |
| for(var i=0, l=arr.length; i<l; i++){ | |
| callback.call(arr[i], i, arr[i]); | |
| } | |
| }; | |
| each([1, 2, 3], function (i, n){ | |
| console.log([i, n]); | |
| }); |
| var myImage = (function (){ | |
| var imgNode = document.createElement('img'); | |
| document.body.appendChild(imgNode); | |
| return { | |
| setSrc: function(src){ | |
| imgNode.src = src; | |
| } | |
| } | |
| })(); |
| /** | |
| * This casper scipt checks for 404 internal links for a given root url. | |
| * | |
| * Usage: | |
| * | |
| * $ casperjs 404checker.js http://mysite.tld/ | |
| * $ casperjs 404checker.js http://mysite.tld/ --max-depth=42 | |
| */ | |
| /*global URI*/ |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.