Skip to content

Instantly share code, notes, and snippets.

View mpapierski's full-sized avatar

Michał Papierski mpapierski

View GitHub Profile
if [ x$INCEPTION != 'x' ]; then
echo "We need to go deeper..."
echo "This was built inside docker container" > /build/hello.txt
exit 0
fi
# For storing .deb
VOLUME="$(docker volume create)"
echo "Volume is $VOLUME"
#include <iostream>
#include <string>
#include <system_error>
#include "sqlite3.h"
#include "git2.h"
struct sqlite_error_category
: std::error_category
{
const char *name() const noexcept override
{
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <array>
int
main()
{
std::ifstream ifs("/etc/passwd");
#include <iostream>
#include <string>
#include <stdexcept>
#include <fstream>
#include <memory>
struct stop : std::runtime_error
{
stop() : std::runtime_error("nie dla psa xD") {}
};

Keybase proof

I hereby claim:

  • I am mpapierski on github.
  • I am mpapierski (https://keybase.io/mpapierski) on keybase.
  • I have a public key whose fingerprint is 4D58 E8BC 76A4 A993 5CDD F21C 136D AA18 A11D 9ED9

To claim this, I am signing this object:

#include "http-server/http-server.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <strings.h>
#include <string.h>
typedef struct
{
char body[1024];
#include "http-server/http-server.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
void http_server_string_init(http_server_string * str)
{
assert(str);
str->buf = NULL;
#include <cassert>
#include <boost/asio.hpp>
#include <boost/bind.hpp>
#include <boost/lexical_cast.hpp>
extern "C" {
#include "http-server/http-server.h"
}
struct http_error_category
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <uv.h>
#include "http-server/http-server.h"
uv_loop_t * loop;
http_server srv;
http_server_handler handler;
input {
tcp {
port => 55555
type => syslog
}
udp {
port => 55555
type => syslog
}
}