Posts

Showing posts from 2015

JAVA Project - Student Information System

Image
*Student Information System is a software which is developed using Java , MySql. Download Project :-   SIS Project

Simple BASH programming tutorials using Fedora 22

Image
In Bash programming, all the user written scripts has to be run using some commands infront of the script name if the script execute permission  is not set to the user and also the path of the script should be in the $PATH global variable. There fore before executing the scripts i'm going to set these path variable and change the user permission. For this i will get the below mentioned script name as an example. To change the Permission chmod u+x oddeven To change the Path PATH=$PATH:/home/<User>/<directory path containing the script>  Now will look at some of the programs and there outputs. So the first Image will be the Script and the second will be the output of it. Script 1: Script 2: Script 3: Script 4: This is the text file which used by the Script 4 to change directories.(filelist.txt)

Dynamic Routing Demonstration Using CISCO PACKET TRACER and RIP

Image
Dynamic routing is all about configuring a network using dynamic routing protocols. Dynamic Routing Protocol is divided in to two main parts. 1.Interior Gateway Protocol 2.Exterior Gateway Protocol In this section will look at Interior Gateway Protocols. -this is an autonomous system and handled by only one admin. -this protocol is also divide into two parts, 1. Distant Vector Protocols(Bellman-Ford Algorithm) - distance is measured by `hop count` and use for simple networks 2. Link State Protocol(Dijkstra Algorithm) - this uses some other information like neighbour router info and this is best for complex network designs In this Scenario we are using Routing Information Protocol(RIP) as the dynamic routing protocol. So below mentioned diagram is the network plan for a small network. In this Network diagram,            192.168.10.0 , 192.168.30.0 , 192.168.20.0 , 10.0.0.0 , 11.0.0.0 are 5 different networks...

web services in php

WEB SERVICES Web services are using not by human beings, it is using from programs, softwares which are developed in different languages. These web services help to communicate between two software's. Mainly these web services are made based on storing data and retrieving data. /* this is the index page(index.php) of the web service */ <?php include './functions.php';         // headers to tell that result is JSON         header("Content-Type:application/json");         // process client request  via url         // then process happpens $a=customers(); // send the result now echo json_encode($a); ?> /* this is the function.php file, which includes in the index.php file */ function customers(){ //attributes to connect to the database         $host="127.0.0.1"; $username="root"; $password=""; $db_name="shopdb";      ...

Simple java programs

Image
Includes :- String manipulation methods.(StringTokenizer,String buffer)                  Input and output files.(fileInputStream,FileOutputStream)                  keyboard inputs.(Scanner,InputStreamReader) Download all these programs from below link: java_programs Video URL: https://www.dropbox.com/s/cp3q58tuualgq80/Rec004.avi?dl=0 Steps to follow:           1)install jdk 1.8.0_20 or above.           2)open command prompt(cmd) and type javac and press enter.              If it gives an error like this,            you should set the relative path to that folder which you have saved your work.         3)Setting up the path,            type this on your cmd.                ...