Addy Osmani氏によるごく短い解説: Chasing Leaks With The Chrome DevTools Heap Profiler Views …
そこからリンクされていたより詳しい解説: Slightly Delusional: Using the Heap Profiler in Chrome Dev Tools
知らない事も結構あるので、是非。
| /* | |
| * @example 1 | |
| * Promise.when( | |
| * asyncFunc1(), | |
| * asyncFunc2() | |
| * ).then( | |
| * function done (p1, p2){ console.log("resolved: ", p1.isResolved, p2.isResolved); }, | |
| * function reject(p1, p2){ console.log("rejected: ", p2.isRejected, p2.isRejected); } | |
| * ); | |
| * function asycFunc1 () { |
Addy Osmani氏によるごく短い解説: Chasing Leaks With The Chrome DevTools Heap Profiler Views …
そこからリンクされていたより詳しい解説: Slightly Delusional: Using the Heap Profiler in Chrome Dev Tools
知らない事も結構あるので、是非。
| <?xml version="1.0" encoding="UTF-8"?> | |
| <opml version="1.0"> | |
| <head> | |
| <title>studiomohawk の Google リーダー登録フィード</title> | |
| </head> | |
| <body> | |
| <outline text=".net" title=".net" type="rss" | |
| xmlUrl="http://feeds.feedburner.com/net/topstories" htmlUrl="http://www.netmagazine.com"/> | |
| <outline text="0 FPS" title="0 FPS" type="rss" | |
| xmlUrl="http://0fps.wordpress.com/feed/" htmlUrl="http://0fps.wordpress.com"/> |
| var app = require('../app'); | |
| console.log(); | |
| app.routes.all().forEach(function(route){ | |
| console.log(' \033[90m%s \033[36m%s\033[0m', route.method.toUpperCase(), route.path); | |
| }); | |
| console.log(); | |
| process.exit(); |
| /** | |
| * アルゴリズム by Perlクックブック | |
| * http://www.amazon.co.jp/Perlクックブック〈VOLUME1〉-トム-クリスチャンセン/dp/4873112028/ | |
| **/ | |
| var num = 1000000000000000000; | |
| function commify(num, sep) { | |
| return Array.prototype.slice.call( | |
| Array.prototype.slice.call(num + '') | |
| .reverse() |
| #!/usr/bin/env perl | |
| use strict; | |
| use warnings; | |
| use Pod::Usage; | |
| use Text::Markdown 'markdown'; | |
| use HTML::TreeBuilder; | |
| use List::Util 'max'; |