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 <thread> | |
| #include <atomic> | |
| #include <mutex> | |
| #include <vector> | |
| class example { | |
| std::atomic<std::size_t> counter; | |
| std::size_t stop = 160; |
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 <fstream> | |
| #include <string> | |
| void gen_random(char *s, const int len) { | |
| static const char alphanum[] = | |
| "0123456789" | |
| "ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
| "abcdefghijklmnopqrstuvwxyz"; |
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
| Host ruapehu | |
| HostName ruapehu.example.com | |
| Host aoraki | |
| ProxyCommand ssh -q ruapehu nc -q0 aoraki 22 | |
| Host tongariro | |
| ProxyCommand ssh -q aoraki nc -q0 %h 22 |
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
| XVFB=/usr/bin/Xvfb | |
| XVFBARGS=":100 -screen 0 1600x1200x24 -auth /etc/conf.d/Xvfb.cfg -nolisten tcp" | |
| PIDFILE=/var/run/Xvfb.pid |
NewerOlder