Tuesday, November 18, 2014

Answers.gitspot.com for Discussion on various topics.

answers.gitspot.com Launch today. The site looks fantastic you can have a look.

Answers Gitspot aims at providing helps and howtos for various technological things.

Wednesday, September 24, 2014

Sansri Literary Trust Just created

The website www.sansri.org is created just now. This website main objective are simple and straight
  • A Literary Trust
  • List of Journals
  • Various activities in the field of Literature
  • Common place for literature section
This website is hosted in a speedhost network. Hope a fruitful result.

Monday, September 15, 2014

GATE 2015 Online Test Conducted by CIT Kokrajhar

Every department of CIT Kokrajhar is Conducting free online test targetted for GATE 2015. Every quiz sample you can be able to find at http://quiz.gitspot.com

GATE is a national level entrance exam conducted by IITs and IISc to test engineers fit for doing masters or research.

Most of the PSUs and Private sector companies considers GATE for screening the candidate.

GATE is mandatory to Join M.Tech/ME/MArch etc in IITs, IISc and NITs or in CFTIs institutes.

You can find more about GATE here http://gate.iitk.ac.in

Sunday, August 31, 2014

The Alayaran.com a platform for discussion, questions and answers

The www.alayaran.com is a new website for discussion of polical or technological issues opinion and various kinds of categories. Using this website you ask for help, help other by replying the answers to the user topic or you can use it as a general website.

The website is good in design and is viewable in small devices also. It is waiting for more user to use. The advertisement is yet not allowed. But they may include it soon.

A good startup we wish a good luck.

Tuesday, June 24, 2014

The war between Gamer and Game Developer

Game is not a new term for everyone. People like to play games whether you are a young kid, a girl, a boy or an elderly person still they like to play games. There are many types of games ranges from Indoor to Outdoor or electronically. You can choose from a range of Outdoor games or choose from a range of Indoor games. If you want to play for the electronic games there are also many, that may include pc games, console games or even in phone games. Depending on your requirement you can be able to play games on either on smartphones or in PC/Consoles. Since almost all of the Indoor or Outdoor games have alternative to play in Electronic also. The demand for electronic game business is much higher than that of Real Game.

Now consider about a Outdoor game Football where almost twenty two payers actively take part in the game. If you dont have enough friends you may not be able play the real game football. But if you prefer to play the same football game in PC that may be easier or you can be able taste the football match even sitting in front of a PC. To play in the real football you may have to be physically fit but for electronic play the requirement is less. Because of this may be there are many user base in electronic world.

So we know that there are many user base, now how you are going to provide your service as a programmer. You know that if you build good game you will be huge. Since if you study about the game industry they earn billions of money using a single game. Like electronic arts earn billion using EA FIFA. So if you stress on what people are like to play and which have not much in the electronic market you can be able to make a good start; and earn a lots.

Monday, October 28, 2013

Telegram a Secure SMS Application an Open Source alternative to whatsapp

Telegram is an open source implementation of secured SMS application. It is like SMS, but more powerful. You can send messages, photos and videos to people who are in your phone contacts (and have Telegram). You can also create groups for up to 100 people.

telegram an open source alternative to whatsapp

Unlike WhatsApp a popular instant messaging service and free SMS service, Telegram is cloud-based, decentralized and heavily encrypted. As a result, you can access your messages from several devices and store an unlimited number of photos and videos in the cloud. Thanks to decentralization and encryption, Telegram is also faster and way more secure. On top of that, Telegram is free and will stay free — no ads, no subscription fees, forever.

Telegram is currently available for iPhones (iOS 5 and above) and Androids (2.2 and up). It support tablets and smartphones alike, as well as iPods (they don't have a dedicated iPad app yet, but Telegram works well on iPads too). Their also have an open API for developers, should you want to build your own applications for other platforms. In the meantime, get your best friends to switch back to iPhones and Androids.

It is Very secure. It is based on a new protocol, MTProto, built by their own specialists from scratch, with security in mind. At this moment the biggest security threat to your Telegram messages is your mother reading over your shoulder. They said they will took care of the rest.

The code available for Telegram is available on github.com. You can be able to download it from here https://github.com/DrKLO/Telegram or have a look at http://www.telegram.org their main home page.

Monday, April 1, 2013

MySQL Database Connection at OpenShift Redhat Cloud using PDO Class

I was very unhappy when my code was correct but could not connect to my mysql database in openshift. But after trying some tricks it got to work. So I will share some tips that you can also put to your PHP MySQL application in openshift.
First thing to be noted is that when you create a PHP Application in OpenShift you will get some environmental variable. Which you can view them by using echo $ENV_NAME in the shell.
Some of MYSQL DB Environmental variables in openshift clouds are follows.
You can Find more about it here OpenShift Variables

Considering we have database name 'gitspot' and have a table name having demo where there is a field 'name' and has a record 'RedHat Openshift'
Now create a php file conf.php which contains all the Database Host Port etc and the way to connect using PDO Class.
        define('DB_HOST', getenv('OPENSHIFT_MYSQL_DB_HOST'));
function mysqlConnector(){
    $dsn = 'mysql:dbname='.DB_BASE.';host='.DB_HOST.';port='.DB_PORT;
    $dbh = new PDO($dsn, DB_USER, DB_PASS);
    return $dbh;

Now include that in your app.php

 try {
                require_once 'conf.php';
                $conn = mysqlConnector();
                $stmt = $conn->prepare('SELECT * FROM demo');

                while($row = $stmt->fetch()) {

        } catch(PDOException $e) {
                echo 'ERROR: ' . $e->getMessage();


The result of https://app-appname.rhcloud.com/app.php

Array ( [name] => RedHat Openshift [0] => RedHat Openshift ) 

That is all how you can connect to mysql database in RedHat OpenShift cloud.