Blog Archive

Understanding RapidJson

An introduction to generating, parsing, and manipulating JSON with the RapidJSON C++ library, with full sample code for writers, documents, and DOM manipulation.

Finally integrating Gcov and Lcov tool into Cppagent build process

(Updated on )
Wiring gcov/lcov code coverage into the CMake-generated build for MTConnect Cppagent, including a custom "make cov" target that runs tests and generates an HTML coverage report.

Using Gcov and Lcov to generate Test Coverage Stats for Cppagent

Tracing through the CMake-generated Makefiles for MTConnect Cppagent to find where to add the --coverage flag so gcov/lcov can produce test coverage data.

Using Gcov and Lcov to generate beautiful C++ code coverage statistics

A step-by-step walkthrough of using gcov and lcov to generate HTML code coverage reports for a simple C++ program.

Setting up MTConnect C++ Agent

How to build MTConnect Cppagent from source, run it against the adapter simulator, query it with curl, and run its test suite.

Setting up a web-server for flask-app deployment in mod_wsgi :: Part-2 ::

(Updated on )
Deploying a Flask app on Apache with mod_wsgi: installing packages, setting up a virtualenv, writing the .wsgi file, configuring Apache, and locking down file permissions with a dedicated group.

Setting up a web-server for flask-app deployment in mod_wsgi :: Part-1 ::

Launching an AWS EC2 instance and connecting to it via SSH as the first step toward deploying a Flask app with mod_wsgi.

10 years of DGPLUG

A day-by-day recap of the 5-day workshop at NIT Durgapur celebrating 10 years of DGPLUG, covering Fedora, Python, Vim, Flask, unit testing, documentation, and Git.

Subscribe to Codenamesubho Newsletter

One update per week. All the latest posts directly in your inbox.