Categories
PHP PHP 5 Web Development

PHP Developer Checklist: Application Level Package Managers

PHP Application Level Package Manager: Composer What is Composer? Ever used apt, dpkg, yum?  These are package managers for unix systems, they automatically update your server with latest updates and install dependant libraries. Composer does the same thing just for PHP. It allows you to declare the dependant libraries for your project in a: composer.json […]

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 […]