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
[28650,06,16:35:35.288] 1000000 requests completed in 180581ms (5537.68 reqs per sec). | |
>>> fastest: 0 | |
quintiles | |
20% : 0-0 | |
40% : 0-0 | |
60% : 0-1 | |
80% : 1-1 | |
100% : 1-80 | |
90% : 1 |
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
curl http://127.0.0.1:2113/streams/newstream | |
{ | |
"title": "Event stream 'newstream'", | |
"id": "http://127.0.0.1:2113/streams/newstream", | |
"updated": "2014-05-01T19:42:41.256511Z", | |
"streamId": "newstream", | |
"author": { | |
"name": "EventStore" | |
}, | |
"headOfStream": true, |
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
Connection Times (ms) | |
min mean[+/-sd] median max | |
Connect: 0 1 0.6 0 7 | |
Processing: 1 4 1.1 4 16 | |
Waiting: 1 4 1.1 4 16 | |
Total: 3 5 1.1 4 16 | |
WARNING: The median and mean for the initial connection time are not within a normal deviation | |
These results are probably not that reliable. | |
UMM I DONT CARE! |
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
if(request.ip == knownip) { | |
if(popups.blockednormally) { | |
if(!tryPopupWithPostBack()) { | |
//possibly user | |
} | |
} else { | |
if(tryPopupWithPostBack()) { | |
//almost certainly user | |
} | |
} |
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
First go to the head of the stream (in this case we are using the default chat of the chat sample) | |
greg@orc:~/src/EventStore$ curl -i http://127.0.0.1:2113/streams/chat-GeneralChat -H "Accept: application/json" | |
HTTP/1.1 200 OK | |
Access-Control-Allow-Methods: POST, DELETE, GET, OPTIONS | |
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-PINGOTHER, Authorization, ES-LongPoll | |
Access-Control-Allow-Origin: * | |
Access-Control-Expose-Headers: Location, ES-Position | |
Cache-Control: max-age=0, no-cache, must-revalidate | |
Vary: Accept |
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
06:12Brent R.: Thank you for contacting NHL support | |
06:13Greg: ok ill repeat myself I have been trying to buy gamecenter this evening and have been given a 500 response every time I try (before I enter paypal details). I am guessing a 500 error is likely a http 500 :) | |
06:14Brent R.: To confirm, you received the error code 500. And then registered a new www.nhl.com account, and you're receiving that code again? | |
06:14Greg: when I try to pay to watch games I receive a 500 | |
06:15Greg: i would prefer to pay refreshing with dynamic ips is annoying | |
06:15Brent R.: If you are receiving the 'Error code 500' before entering your PayPal information, there may be an issue with your NHL.com. Please sign out of your current account at www.nhl.com , and then purchase a subscription with a new email address and username. | |
06:15Greg: I have already done this | |
06:15Greg: today | |
06:15Greg: your broken integration is really not my problem??? | |
06:16Greg: I have money in my paypal. I want to give it to you. How do I do this? |
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
greg@orc:~/src/EventStore.UI$ git reset --hard | |
HEAD is now at 00e2772 fixing issue with readme for master branch | |
greg@orc:~/src/EventStore.UI$ git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. | |
nothing to commit, working directory clean | |
greg@orc:~/src/EventStore.UI$ git pull --rebase origin dev | |
From github.com:EventStore/EventStore.UI | |
* branch dev -> FETCH_HEAD |
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
static class my_tests { | |
public Specification my_specification = new ConstructorSpecification<Account>() | |
{ | |
When = () => new Account("Jane Smith", 17), | |
Expect = | |
{ | |
account => account.AccountHolderName == "Jane Smith", | |
account => account.UniqueIdentifier == 17, | |
account => account.CurrentBalance == new Money(0m), | |
account => account.Transactions.Count() == 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
public class AccountSpecifications | |
{ | |
const decimal perTransactionFee = 0.99m; | |
public Specification when_withdrawing_money() | |
{ | |
var currentBalance = 13.0m; | |
return new ActionSpecification<AccountContext> | |
{ |
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
public class shitbird { | |
const int x = 5; | |
int j = x + 6; | |
} |