This file contains hidden or 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
| [StatsdInput] | |
| address = ":8125" | |
| [StatAccumInput] | |
| ticker_interval = 10 | |
| emit_in_payload = true | |
| [CarbonOutput] | |
| message_matcher = "Type == 'heka.statmetric'" | |
| address = "graphite.example.com:2003" |
This file contains hidden or 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
| erlangA(Lambda, H) -> | |
| Lambda * H. |
This file contains hidden or 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
| erlangB(_, 0) -> | |
| 1; | |
| erlangB(E, M) -> | |
| N = E * erlangB(E, M - 1), | |
| N / (N + M). |
This file contains hidden or 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
| erlangC(_, 0) -> | |
| 1; | |
| erlangC(E, M) -> | |
| B = erlangB(E, M), | |
| (M * B) / (M - (E * (1 - B))). |
This file contains hidden or 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
| -module(agner). | |
| -export([erlangA/2, erlangB/2, erlangC/2]). | |
| erlangA(Lambda, H) -> | |
| Lambda * H. | |
| erlangB(_, 0) -> | |
| 1; | |
| erlangB(E, M) -> | |
| N = E * erlangB(E, M - 1), |
This file contains hidden or 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
| set from = "[email protected]" | |
| set realname = "YOUR NAME" | |
| set imap_user = "[email protected]" | |
| set imap_pass = "YOURDEVICEPASSWORD" | |
| set folder = "imaps://imap.gmail.com:993" | |
| set spoolfile = "+INBOX" | |
| set postponed ="+[Google Mail]/Drafts" | |
| set trash = "+[Google Mail]/Trash" | |
| set header_cache =~/.mutt/cache/headers | |
| set message_cachedir =~/.mutt/cache/bodies |
This file contains hidden or 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
| if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) | |
| goto fail; | |
| goto fail; |
This file contains hidden or 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
| if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) | |
| goto fail; | |
| goto fail; |
This file contains hidden or 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
| # A | |
| if some_condition: | |
| goto fail | |
| goto fail | |
| # B | |
| if some_condition: | |
| goto fail | |
| goto fail |
This file contains hidden or 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
| // A | |
| if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) { | |
| goto fail | |
| goto fail | |
| } | |
| // B | |
| if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) { | |
| goto fail | |
| } |