linux

How to write Pluggable Authentication Module (PAM) application

We are going to develop PAM application to check whether user is authenticated or not not using PAM. The detail tutorial about PAM can be found here.   First install the library for PAM in linux, in my case it is Ubuntu: [crayon-5a36e11895133490036035/] After that, I write the code like this: [crayon-5a36e11895141458597516/] Then, compile the […] Read more»

git

how to configure github ssh public key

[crayon-5a36e118956ed804540781/] Give the name, git_rsa and press enter for empty password. Then, copy the git_rsa.pub and add it to SSH key in github profile settings and save it. Add the git identity in the local computer, [crayon-5a36e118956f7423673572/]   And, test with [crayon-5a36e118956fb741647448/]     Read more»

php

How to generate entity from database tables in PHP automatically

If you have followed my previous tutorial, then you already know about, how to create object relational mapping  (ORM) in object oriented programming system.  Before proceed, you can go through this at least once. Here is the link ORM PHP using OOP In this tutorial, we will be developing application which generates entities automatically either of […] Read more»

git

How to work with GIT

Suppose, we have one remote server for remote repository, remote1 and two local repository machines local1 and local2, where two different developer1 and developer2 are working separately on the same project. Now, the whole process goes like this. Assumption, you have created user called ‘git’ and working under /var/git-repo directory in remote1 machine. [crayon-5a36e11895e55748595463/]   […] Read more»

eclipse

how to install color theme in eclipse

Go to Help>Eclipse Marketplace..search for eclipse color theme and install. Then, go to windows>preferences  and search for theme..which displays color theme..select the theme as you like and click apply. Alternatively you can download and import from http://eclipsecolorthemes.org/ Read more»