Build instructions:
git clone https://github.com/ReactiveX/RxCpp.git
make
./main
This is the output of the program:
===== println stream of std::string =====
| #!/usr/bin/perl | |
| use Email::Valid; | |
| use WWW::Mechanize; | |
| use LWP::UserAgent; | |
| #use Thread qw/async yield/; | |
| use threads; | |
| use threads::shared; |
| #!/usr/bin/perl | |
| #-------------------------------------------------- | |
| # Usage: | |
| # ./speak.pl en input.txt output.mp3 | |
| # | |
| # Prerequisites: | |
| # sudo apt-get install libwww-perl libhtml-tree-perl sox libsox-fmt-mp3 | |
| # | |
| # Compiling sox: |
| #include "agg_basics.h" | |
| #include "agg_rendering_buffer.h" | |
| #include "agg_rasterizer_scanline_aa.h" | |
| #include "agg_scanline_u.h" | |
| #include "agg_renderer_scanline.h" | |
| #include "agg_pixfmt_rgb.h" | |
| #include "platform/agg_platform_support.h" | |
| #include "ctrl/agg_slider_ctrl.h" | |
| #include "ctrl/agg_cbox_ctrl.h" |
| #include "agg_basics.h" | |
| #include "agg_rendering_buffer.h" | |
| #include "agg_rasterizer_scanline_aa.h" | |
| #include "agg_scanline_u.h" | |
| #include "agg_renderer_scanline.h" | |
| #include "agg_pixfmt_rgb.h" | |
| #include "platform/agg_platform_support.h" | |
| #include "ctrl/agg_slider_ctrl.h" | |
| #include "ctrl/agg_cbox_ctrl.h" |
| // Compiling: | |
| // | |
| // just put this file into agg24/examples and run: | |
| // g++ -DRECT_X=1 -DRECT_Y=1 -DAGG_GRAY16 -I. -I../include -g -O2 -o aa_float aa_float.cpp | |
| #if !defined(AGG_GRAY8) && !defined(AGG_GRAY16) && !defined(AGG_GRAY32) | |
| #define AGG_GRAY32 | |
| #endif | |
| #if defined(AGG_GRAY8) |
| #!/bin/bash | |
| if [ $# -lt 2 ]; then | |
| echo "Usage: $0 LIB_IN LIB_OUT STRIP_PARAMS" | |
| echo "Example: $0 mylib_debug.a mylib_release.a --strip-debug" | |
| fi | |
| LIB_IN="$1"; shift; | |
| LIB_OUT="$1"; shift; | |
| LIB_IN="`realpath "$LIB_IN"`" |
| #!/bin/bash | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: $0 MACOSX_SDK_PATH" | |
| echo "Example: $0 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk" | |
| exit 1 | |
| fi | |
| for tbd in $(find -L "$1" -name '*.tbd'); do |
| // standard C++ header: | |
| #include <iostream> | |
| #include <string> | |
| // Qt header: | |
| #include <QApplication> | |
| #include <QBoxLayout> | |
| #include <QFrame> | |
| #include <QGroupBox> | |
| #include <QLabel> |
Build instructions:
git clone https://github.com/ReactiveX/RxCpp.git
make
./main
This is the output of the program:
===== println stream of std::string =====
| #!python | |
| # Tested with `SC-8110-2D-B` 1d & 2d barcode scanner | |
| # | |
| # Inspired by https://github.com/julzhk/usb_barcode_scanner | |
| # which was inspired by https://www.piddlerintheroot.com/barcode-scanner/ | |
| # https://www.raspberrypi.org/forums/viewtopic.php?f=45&t=55100 | |
| # from 'brechmos' - thank-you! | |
| # | |
| # This implementation doesn't directly decode hidraw stream, but uses |