This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat test.js | |
function foo () { while (true) { } } | |
function bar () { return foo(); } | |
bar(); | |
$ node test.js & | |
$ gdb attach $(pidof node) | |
0x00000bf778c63d5f in ?? () | |
(gdb) b v8::internal::Runtime_StackGuard | |
Breakpoint 1 at 0x84a1f0 | |
(gdb) print 'v8::V8::TerminateExecution'(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var request = require('request'); | |
// app below needs to be a Connect/Express app. | |
// Subscribing: use https://push.superfeedr.com/ to use Superfeedr (works with any feed!) | |
function subscribe(url, conf, cb) { | |
var hub = conf.hub; | |
var params = { | |
method: 'POST', | |
uri: hub, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wordpress hubs are formatted like this: http://www.example.com/?pushpress=hub | |
17605 http://pubsubhubbub.appspot.com/ | |
1493 http://hubbub.api.typepad.com/ | |
797 http://tumblr.superfeedr.com/ | |
185 http://superfeedr.com/hubbub | |
144 http://pubsubhubbub.appspot.com | |
103 http://posterous.superfeedr.com | |
103 http://www.pheedo.com/api/hub/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* There is now an Angular directive, filter and provider! | |
* It can be found here: https://github.com/i18next/ng-i18next | |
* ng-i18next is now part of the i18next rganization! | |
* | |
*/ | |
/* | |
* AngularJS directive for using i18next (http://jamuhl.github.com/i18next) |