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 <chrono> | |
#include <filesystem> | |
#include <fstream> | |
#include <memory> | |
#include <optional> |
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 <algorithm> | |
#include <array> | |
#include <atomic> | |
#include <condition_variable> | |
#include <cstring> | |
#include <deque> | |
#include <functional> |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <time.h> | |
#include <errno.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> |
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 <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <getopt.h> | |
#include <unistd.h> | |
#include <time.h> | |
#include <errno.h> | |
#include <fcntl.h> |
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
# coding=utf-8 | |
import discord | |
import logging | |
import aiohttp | |
CO2_API = 'http://www.hqcasanova.com/co2/' | |
IPCC_REPORTS = { | |
'ar5': { | |
'wg1': { |
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 <nanomsg/nn.h> | |
#include <nanomsg/reqrep.h> | |
#include <string> | |
#include <cstring> | |
#include <cstdio> | |
#include <iostream> | |
#include <vector> | |
#include <memory> | |
#include <limits> |
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 <stdexcept> | |
#include <cassert> | |
#include <limits> | |
#include <algorithm> | |
class Cell { | |
public: | |
friend class Angel; |
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 "list.h" | |
#include <stdlib.h> | |
static bool list_empty(struct list *this) | |
{ | |
return this == NULL ? TRUE : | |
this->m_size == 0 ? TRUE : FALSE; | |
} |
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
#ifndef OPTION_H | |
#define OPTION_H | |
#include <cstdlib> | |
#include <cstring> | |
#include <utility> | |
#include <iostream> | |
#include <tuple> | |
#include <functional> |
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 "string.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <assert.h> /* DEBUG */ | |
static string_err string_enlarge(String *this, size_t add) | |
{ | |
string_err err = STRING_ERR_OK; |
NewerOlder