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
groups: | |
- name: ami | |
deadlinesUrl: https://gitlab.com/hse-cpp/hse-base-cpp/-/raw/main/deadlines/ami.yml | |
subgroups: | |
- name: 244-1 | |
secret: ami-cpp-244-1 | |
- name: 244-2 | |
secret: ami-cpp-244-2 | |
- name: 245-1 | |
secret: ami-cpp-245-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
groups: | |
- name: ami | |
deadlinesUrl: https://gitlab.com/hse-cpp/hse-base-cpp/-/raw/main/deadlines/ami.yml | |
subgroups: | |
- name: 244-1 | |
secret: ami-cpp-244-1 | |
- name: 244-2 | |
secret: ami-cpp-244-2 | |
- name: 245-1 | |
secret: ami-cpp-245-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
#include <cstdint> | |
#include <cstdio> | |
bool check() { | |
uint32_t a = 1; | |
uint32_t b = 1; | |
uint32_t c = 1; | |
while (true) { | |
while (true) { | |
while (true) { |
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
{ | |
"jsonrpc": "2.0", | |
"method": "textDocument/publishDiagnostics", | |
"params": { | |
"diagnostics": [ | |
{ | |
"code": "ovl_ambiguous_call", | |
"message": "Call to 'foo' is ambiguous", | |
"range": { | |
"end": { |
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 <linux/perf_event.h> | |
#include <linux/hw_breakpoint.h> | |
#include <sys/syscall.h> | |
#include <sys/ioctl.h> | |
#include <unistd.h> | |
#include <stdexcept> | |
#include <optional> | |
namespace perf { |
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 <linux/perf_event.h> | |
#include <linux/hw_breakpoint.h> | |
#include <sys/syscall.h> | |
#include <sys/ioctl.h> | |
#include <unistd.h> | |
#include <stdexcept> | |
#include <optional> | |
namespace perf { |
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
#pragma once | |
#include "huffman.h" | |
#include "quantization.h" | |
#include "dct.h" | |
#include "mcu.h" | |
#include "octet.h" | |
#include "block.h" | |
#include <cstddef> |
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
flatten_dirs: | |
find . -type f -wholename '*/*' -not -path './.git/*' | sed 's@^\./@@g' | grep / | xargs -n1 ./gistify.sh pack | |
fold_dirs: | |
ls | grep '%' | xargs -n1 ./gistify.sh unpack | |
driver_c: | |
$(CC) -c driver.c -o driver-c.o -Wall -Werror -fpic -std=c17 -O3 | |
$(CC) driver-c.o -o libmydriver-c.so -shared -O3 | |
rm driver-c.o |
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
1.txt |
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 <array> | |
#include <istream> | |
#include <limits> | |
#include <memory> | |
#include <optional> | |
#include <sstream> | |
#include <string> | |
#include <variant> | |
struct SyntaxError : public std::runtime_error { |
NewerOlder