I hereby claim:
- I am eckardt on github.
- I am eckrdt (https://keybase.io/eckrdt) on keybase.
- I have a public key ASAxrPWyk6iO0KrVq0luvd4eXT5OUni-FTCrqC9sA2sfYgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/core/operators/retrywhen.md | |
| function exponentialBackOffScheduler(options) { | |
| return function(errors) { | |
| return errors.scan(options, function(currentOptions, err) { | |
| if (currentOptions.maxRetries <= 0) { | |
| throw err; | |
| } | |
| return { | |
| maxRetries: currentOptions.maxRetries - 1, |
| auto eth0 | |
| iface eth0 inet static | |
| address 10.0.1.2 | |
| netmask 255.255.255.0 | |
| up /../ucarp_up_down.sh | |
| down /../ucarp_up_down.sh | |
| ucarp-vid-0 3 | |
| ucarp-vip-0 10.0.1.3 | |
| ucarp-password-0 badpasswd | |
| ucarp-vid-1 10 |
| $ influxdb -v | |
| InfluxDB v0.4.4 (git: 8dcf3f537f374c5bf0b10526952a58abb2d19d8a) | |
| # The following data is in a: | |
| test> select * from a | |
| ┌──────────────────┬─────────────────┬─────┐ | |
| │ time │ sequence_number │ foo │ | |
| ├──────────────────┼─────────────────┼─────┤ | |
| │ 16/2/14 21:34:31 │ 2448960001 │ 2 │ |
| class User; after_initialize { puts "You will never see this"}; end | |
| User.new.login # return nil |
| // original code from http://michaelspeer.knome.net/2010/05/pattern-for-non-local-returns-in.html | |
| var WithNonLocalReturn = function( block ){ | |
| var nonLocalReturnException = function(){ | |
| var value = null; | |
| this.setReturnValue = function( retVal ){ value = retVal }; | |
| this.getReturnValue = function( retVal ){ return value }; | |
| } | |
| var nonLocalReturnEx = new nonLocalReturnException(); |