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
| /* | |
| USAGE: | |
| copy and paste all of this into the javascript console. you can then call falseVote(ians_comment_id, times) to upvote | |
| ian as partygoer times times. you can also provide your own comment_id by doing an inspect element on the voting div | |
| on anyone's profile. | |
| the ajax requests are synchronous to allow for the coockie bs. this makes the execution seem slow for large times. | |
| i wonder how long it takes to run it for thousands of iterations... | |
| */ |
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
| #include <iostream> | |
| #include <vector> | |
| using namespace std; | |
| class Animal | |
| { | |
| public: | |
| virtual void sound() | |
| { |
NewerOlder