Complete working example of Protocol Buffers in C++ with CMake and a Dockerfile

Posted on Thu 30 September 2021 in tech • Tagged with programming, Protobuf, C++, CMake, Linux, Docker

Protocol Buffers complete working example with CMake and Docker for C++

Protobuf


Complete working example gRPC in C++ with CMake and a Dockerfile

Posted on Thu 23 September 2021 in tech • Tagged with programming, gRPC, C++, CMake, Linux, Docker

Sometimes and example is worth a thousand words. In this installment gRPC C++ with CMake FetchContent and a Dockerfile.

gRPC


istream_iterator

Posted on Fri 18 June 2021 in tech • Tagged with programming, chunked, iterator, c++

Although c++ is already imbued with the kitchen sink, it seems to lack a chunked character iterator for input streams.

Here is a little repository to implement that: Block Iterator

An example looks like any istream iterator idiom:

constexpr auto N = 3;
const auto example = "AAABBBCCC";
std::istringstream ss(example …

Continue reading

Twenty Spheres

Posted on Mon 17 May 2021 in tech • Tagged with programming, graphics, c++

twenty speheres

A little c++ shader toy that I wrote for rendering a light model. Twenty Spheres This program is based on a classic computer graphics problem.

Yes...15 spheres are shown here!


dnsmasq adblock fetcher using python

Posted on Wed 23 December 2020 in tech • Tagged with programming, python, adblocker

If you are using Pi Hole or Unifi Edgerouter for Ad Blocking via a host file, check out fetch_blocker. This is a straightforward python script to pull the Steven Black Hosts consolidated adblocker list and convert it to dnsmasq format.


Post an order on Binance using Python

Posted on Sat 19 December 2020 in tech • Tagged with programming, python, tech, bitcoin, tutorial, crypto

Tutorial: Post an order on Binance using Python


Continue reading