Category Archives: Programming

My favourite error: exec_tty error: Cannot run program: Unknown reason

By | November 4, 2015

Well, almost my favourite, but it is pretty cryptic to say the least. All I was trying to do was run the default Hello World C program after a fresh install of Eclipse. (4.4 in this case) on Ubuntu 14.04 After a bit of searching, this post nailed it. http://stackoverflow.com/questions/11390163/running-ubuntu-eclipse-c-helloworld I was trying to execute… Read More »

How to run bash scripts in Mule ESB

By | September 29, 2015

Intro I wanted to figure out how to run bash scripts in Mule ESB so my first point of call? Google. Google returned a few useful results. Primarily: http://stackoverflow.com/questions/13039604/running-shell-scripts-from-mule-esb and http://mule.1045714.n5.nabble.com/Can-I-run-a-shell-script-from-Mule-Jython-td2658688.html Being new to this I couldn’t make out much but 2 things stuck out. Groovy and “ls”.excute(). Armed with these 2 clues, I tried… Read More »

Simple multi threading in C

By | July 22, 2015

Looking for a simple and easy to understand explanation of multi threading in C using pthread? Here is a great article with examples and a step by step break down. https://vcansimplify.wordpress.com/2013/03/08/pthread-tutorial-simplified/

argp basic tutorial – step by step

By | July 21, 2015

This document is by far the best out there on the net explaining step by step how argp works! http://ftp.yzu.edu.tw/nongnu/argpbook/step-by-step-into-argp.pdf Download actual file here If you have ever wondered where to find the text “Give this help list”, it is contained in the file argp_parse.c This file is in the argp folder in the package… Read More »