Skip to content

Instantly share code, notes, and snippets.

View Akram-Hassan's full-sized avatar

Akram Hassan Akram-Hassan

View GitHub Profile
@Akram-Hassan
Akram-Hassan / gist:700cfdecb3f5b299a132582b5a4d0141
Created January 26, 2026 14:49
Example tcl tracing from C++
#include <iostream>
#include <sstream>
#include <string>
#include <tcl.h>
// Helper to extract a string value from a Tcl dict
static std::string GetDictString(Tcl_Interp* interp, Tcl_Obj* dict, const char* key)
{
Tcl_Obj* keyObj = Tcl_NewStringObj(key, -1);
Tcl_Obj* value = nullptr;
@Akram-Hassan
Akram-Hassan / Install Python 3.10 on CentOS 7.md
Last active January 12, 2024 10:20
Install Python 3.10 on CentOS 7

Installing Python 3.10.6 on CentOS 7 (7-2009)

Prerequisites:

yum -y groupinstall "Development Tools"
yum -y install gcc openssl-devel bzip2-devel libffi-devel

Add another repo for openssl11

yum install epel-release