This file contains 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 "Consumer.h" | |
#include <aws/sqs/model/GetQueueUrlRequest.h> | |
#include <aws/sqs/model/ReceiveMessageRequest.h> | |
#include <aws/sqs/model/DeleteMessageBatchRequest.h> | |
using namespace Aws; | |
using namespace Aws::Client; | |
using namespace Aws::SQS; | |
using namespace Aws::SQS::Model; |
This file contains 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 "Encode.h" | |
#include <openssl/evp.h> | |
#include <openssl/bio.h> | |
#include <openssl/buffer.h> | |
std::string Base64Encode(uint8_t const* input, size_t length) | |
{ | |
BIO *b64 = BIO_new(BIO_f_base64()); | |
BIO *mem = BIO_new(BIO_s_mem()); | |
mem = BIO_push(b64, mem); |
This file contains 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
cmake_minimum_required(VERSION 3.0) | |
project(CasablancaRestServer CXX) | |
find_package(Boost) | |
find_package(OpenSSL) | |
set(CASABLANCA_INCLUDE_DIR "" CACHE PATH "") | |
set(CASABLANCA_LIB "" CACHE FILEPATH "") | |
include_directories( |
This file contains 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
cmake_minimum_required(VERSION 3.0) | |
project(HeavyMetal) | |
add_executable(HeavyMetal MACOSX_BUNDLE | |
metal.m | |
library.metal) | |
set_source_files_properties(library.metal PROPERTIES LANGUAGE METAL) | |
set_property(TARGET HeavyMetal APPEND_STRING PROPERTY COMPILE_FLAGS "-fobjc-arc") |
This file contains 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
using System; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using Microsoft.AspNetCore.Http; | |
using Microsoft.Extensions.DependencyInjection; | |
using Moq; | |
using Xunit; | |
namespace Something.Something.Tests | |
{ |