Using cpprestsdk

I posted a “relatively simple” example app on github that uses cpprestsdk to provide host information via REST interface calls (JSON over HTTP/HTTPS). This is mainly just a reference for myself (I plan to use cpprestsdk in some other projects). Source code / additional info: Binary releases: I originally looked at cpprestsdk as …

Using cpprestsdk Read More »

Installing GCC 7.2.0 on RHEL7

For compatibility with another SDK I’m using, I have to use GCC 7.2.0 (RHEL devtoolset-7 provides GCC 7.3 at the time of this writing). So it should also be noted that I’m using GCC 7.3.1 to compile GCC 7.2.0; although the instructions should be generally applicable to other combinations. Notes on installing devtoolset-7: RHEL7 devtoolset-7 …

Installing GCC 7.2.0 on RHEL7 Read More »

Installing git from source

RHEL7/CentOS7 use a relatively old version of git. Here’s how to update (using git 2.19.1 as example) GITVERSION=2.19.1 mkdir -p ~/src && cd ~/src git clone wget$GITVERSION.tar.gz tar xf git-$GITVERSION.tar.gz cd git-$GITVERSION && ./configure && make && sudo make install git –version  

Bash – Launch new terminals

A simple example to launch terminals (gnome-terminal) with bash. This example launches 4 terminals; each monitoring the system in a different way. #!/bin/bash # [Eaxample] Helper script to launch CLI apps # Created to use gnome-terminal (e.g. instead of pterm, etc) ROUTING_TABLE_CMD=”watch -n 30 netstat -r” DISK_USAGE_CMD=”watch -n 60 df -h” ACTIVE_PROCESSES_CMD=”top -a” MEMORY_UTILIZATION_CMD=”watch -n …

Bash – Launch new terminals Read More »