protobuf + zmq
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
"\033[F" – move cursor to the beginning of the previous line | |
"\033[A" – move cursor up one line |
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
ZMQ PUB SUB |
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
;----------------------------------------------------------- | |
; LAYERS | |
(c-c++ :variables | |
c-c++-backend 'lsp-ccls | |
c-c++-adopt-subprojects t) | |
(lsp :variables | |
lsp-ui-peek-enable nil | |
lsp-use-lsp-ui nil | |
lsp-headerline-breadcrumb-enable nil | |
lsp-remap-xref-keybindings t |
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
(use-package evil | |
:config | |
(setq evil-jmp-list '( | |
xref-goto-xref xref-quit-and-goto-xref | |
evil-scroll-page-down evil-scroll-page-up | |
jump-to-register)) | |
(dolist (jumper evil-jmp-list) | |
(evil-add-command-properties jumper :jump t)) | |
) |
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 <memory> | |
using namespace std; | |
unique_ptr<int> factory(int i) | |
{ | |
return unique_ptr<int>(new int(i)); | |
} |
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> | |
class Exhibit; | |
class Season; | |
class Zoo { | |
public: | |
Zoo(); | |
virtual ~Zoo(); |
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> | |
#include <cstdint> | |
#include <fmt/format.h> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
uint8_t a = 0b1111'0000; |
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 <cstring> | |
class String | |
{ | |
public: | |
String () = default; | |
String (const char* string) | |
{ |