Its All About: 0 and 1, Me and God.

As a computer engineer, if I describe my world with zero(0) and one(1).   I can say one is me. In Hinduism, I mean Atama (soul) and other energy which govern “I” is Parmatma (god). It means I, that’s me and zero is a God. For a computer engineer this to numbers are most important in

Digital Library of India

Digital Library of India (DLI) is a digital collection of freely accessible rare books collected from various libraries in India. DLI project started in early 2000 with the vision to archive all the significant literary, artistic and scientific works of mankind and to preserve digitally and make them available freely for every one over Internet

HTTP Webserver Using Java

import java.net.*;import java.io.*; class myserver{public static void main(String str[]){ String myIp=null;int port=786;try{ //Get Systems current ip addressmyIp= Inet4Address.getLocalHost().getHostAddress();System.out.println(“Server is Running with “+ myIp +”:”+ port); //Create Server SocketServerSocket welcome = new ServerSocket(port); //Accept incomming connection SocketSocket sskt = welcome.accept(); PrintWriter out = new PrintWriter(sskt.getOutputStream()); //Create MIME type to describe that, This is HTML Codeout.println(“HTTP/1.1 200

Download webpage using java server socket.

Download webpage using java server socket.  import java.net.*;import java.io.*; class readWebPage{public static void main(String arg[]){try{ Socket s = new Socket(“10.0.0.1″,8090);String line=””;BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream())); PrintWriter out = new PrintWriter(s.getOutputStream()); out.print(“GET /httpclient.htmlnn”);out.flush();System.out.println(“Reading File”);while((line = in.readLine())!=null){ System.out.println(line);} } catch(Exception e){System.out.println(e.toString());}}}

How to reset password for CentOS of root?

Boot the Operating system and “Press any key to enter the menu” press any key. Figure 1 Press e in order to edit commands before booting. Search in the list item having Keyword vmlinuz in it by using the arrow keys. Figure 2 Press e again to Edit. Figure 3 type single or init 1 at the end of

Java HTTP Server and Client

Create chat application using either TCP protocol Making simple chat application using “Socket” Programming. Here is the code for TCP/IP Server and Client.  GTU; Practical 1: Advance  Java : Create chat application using either TCP  protocol   Code of Server /* * To change this license header, choose License Headers in Project Properties. * To change

Turn your Mobile to Wireless Video Cam

Here I am introducing tool which turn your “android mobile device to wireless cam”. Using live streaming technology this tool Named “DroidCam” capture Audio/Video and Broadcast over Wife/USB*. Here Server application capture the stream and convert to the Audio-Video in Laptop Screen. Look at the Simple steps. Step 1: Download Desktop client from [1]. Install