Categories
Github Server

Private Remote Git Repository Debian Wheezy and other stories from Hell

Setting up your Private Remote Git Repository So you need a private remote git repository for collaborative, backup or convenience reasons. You have your local repository setup and now you want another repository in the cloud. Recently, a few moments ago, I started this task and here I am about an hour and a half […]

Categories
Programming

Progam Writing and Coding Style and Commenting Code

Your Coding Style should contain Comments /* comment */ /********************************************************************* * Program Name: description * * Author: Name Surname * * Purpose: Reason for program * * Usage: What to Expect * *********************************************************************/ Commenting: Commenting in HTML Commenting in Bourne Shell(unix, Shell, perl, Python, Ruby) # comment Commenting in Java, C, C#, C++, PHP /* […]

Categories
Server

BasH: Command Not Found

It is not part of the path echo $PATH to run a program in your working directory run: ./prog_name Explanation: Since you’re running an executable in the current working directory, you should prefix it with ./. So for your program run it as ./a.out Explanation The terminal searches for executables in $PATH. This is a […]

Categories
C Programming

Basics of Writing Computer Programs

Overview Writing Computer Programs: Programs start as a set of instructions written by humans. They start as an idea, which are put into text as a source file, containing source code. The source file is transformed into an object file by the compiler. Then a program called a linker takes the object file and combines […]

Categories
C Programming

What is C?

C is a programming language, it is a method of communicating with a computer. C is a particularly flexible language and has been used for micro-controllers, operating systems, applications and graphics programming. An improved C language called C++ has been invented and it does lots of things you don’t know about like calling constructors and […]