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
module preprocessor | |
go 1.16 | |
require github.com/stretchr/testify v1.7.0 // indirect |
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
# REPLACED BY: https://github.com/eruffaldi/cmakego | |
# assuming to ave the correct find_package above ... | |
# requires CMakew 3.0 for supporting INTERFACE library type | |
if(ZeroMQ_FOUND) | |
add_library(p::zeromq INTERFACE IMPORTED) | |
set_property(TARGET p::zeromq PROPERTY INTERFACE_LINK_LIBRARIES ${ZeroMQ_LIBRARY}) | |
set_property(TARGET p::zeromq PROPERTY INTERFACE_INCLUDE_DIRECTORIES "${ZeroMQ_INCLUDE_DIR}") | |
endif() |
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 <string> | |
#include <iostream> | |
#include <map> | |
typedef std::map<std::string, std::string> Defines; | |
bool evaluate(const Defines& defines, std::string *value) { | |
std::string::reverse_iterator i = value->rbegin(); | |
std::string::iterator e = value->end(); | |
while (i != value->rend()) { |
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 <bsl_vector.h> | |
#include <bsl_string.h> | |
#include <bsl_iostream.h> | |
#include <bdlb_variant.h> | |
#include <ball_administration.h> | |
#include <ball_defaultobserver.h> | |
#include <ball_loggermanagerconfiguration.h> | |
#include <ball_loggermanager.h> | |
#include <ball_severity.h> | |
#include <ball_log.h> |
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
#EXTM3U | |
#EXTINF:-1,Digitally Imported - Ambient | |
http://pub1.diforfree.org:8000/di_ambient_hi | |
#EXTINF:-1,Digitally Imported - Big Room House | |
http://pub1.diforfree.org:8000/di_bigroomhouse_hi | |
#EXTINF:-1,Digitally Imported - Breaks | |
http://pub1.diforfree.org:8000/di_breaks_hi |
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
#!/usr/bin/env python | |
# Collected and testing code written by Yu-Jie Lin | |
# Blog: http://blog.yjl.im/2013/08/autovivification-in-python.html | |
# Gist: https://gist.github.com/livibetter/6258145 | |
from __future__ import print_function | |
# http://code.activestate.com/recipes/537637/ | |
# @ 2007-12-19 by Mirko Dziadzka | |
class auto_dict(dict): |