Posts

Command Prompt Full Screen on Windows 8/7

Image
In Windows 8/7 and Vista we could not open full screen Command Prompt. It makes more trouble especially for the Developers who majorly work on the command prompt. By following the simple steps we can open our Windows Vista / 7 / 8 Operating System Command Prompt in full screen. Full Screen Command Prompt Step 1: Open the command prompt by typing "cmd" in the Windows Run. Step 2: Right click on the title bar of the command prompt and select "default" option to open the "Console Window Properties". Step 3: Open the Layout tab and change the Screen Buffer Size as Width:1500 and Height: 500 and change the Window Size as Width: 168 and Height: 55 and press OK. Step 4: Close the current command prompt and open the command Prompt using Step 1 and enjoy the full screen Command Prompt in Windows Vista / 7 / 8.

Read Java Properties File

The properties files are generally used as configuration file for java programs.In Java, there is a special class for manipulating properties file called java.util.Properites. Properties are configuration values managed as key and value pairs since it is basically a Hashtable that can be saved/loaded from stream. In each pair, both key and value are String values. Example Program for Reading Properties File ReadProperties.java import java.util.Properties; import java.io.FileInputStream; class ReadProperties { public static void main(String arg[]) { try { Properties properties=new Properties(); properties.load(new FileInputStream("D:\\config.properties")); System.out.println("Message from Properties file: "+ properties.getProperty("message")); } catch(Exception e) { e.printStackTrace(); } } } config.properties message=All The Best Output: Message from Properties file: All The Best

Create New User Account in Windows Server 2008

Image
The steps for creating Local User Account and Domain User Account (if the server is an Active Directory Domain Controller) in the Windows Server 2008 Operating System. Local User Account Step 1: Click Start -> Administrative Tools -> Computer Management Step 2: In Computer Management, click Local Users and group Step 3: Double click the Users folder Step 4: Right click in the users list and click New User Step 5: Fill the information for the new user and click create and close. Domain User Account Step 1: Click Start, select Administrative Tools and click Active Directory Users and Computers. Step 2: In Active Directory Users and Computers, navigate to the folder where you want to store the new user.     Step 3: Right in click the user list and click New User. Step 4: Fill in the new user information and click Next. Step 5: Fill in the password information and click Next.

Backup Restore MySql Database

How to backup databases from the MySQL server and restore to another MySQL server? The efficient tool to backup database from MySQL server is "mysqldump". Since we are having many UI tools to backup and restore the database for MySQL server, But I personally recommend to use "mysqldump" command for backup and restore MySQL databases. The following are commands for backup the databases. To execute the mysqldump commands, open terminal in Linux or command prompt in windows with MySQL Server <version>\bin directory. Backup Single Specific Database Syntax: mysqldump -u root -p[root_password] [database_name] > dumpfilename.sql Example: mysqldump -u root -p employee > D:\employee.sql Backup Multiple Specific Databases Syntax: mysqldump -u root -p[root_password] --databases [database1_name] [database2_name] > dumpfilename.sql Example: mysqldump -u root -p --databases employee department > D:\employee_department.sql Backup All ...

Distributed Database Management System

Image
Distributed Computing A computer program  that runs in a distributed system is called distributed program and distributed programming is the process of writing such programs A distributed system may have common goal, such as solving a large computational problem. Alternatively each computer may have its own user with individual needs and the purpose of the distributed system is to coordinate the use of shared resources or provide communication services to the users. There are several autonomous computational entities, each of which has its own local memory.These entities communicate with each other by message passing. Typical properties of distributed systems. The system has to tolerate failures in individual computers. The structure of the system(network topology, network latency, number of computers) is not know in advance, the system may consist of different kinds of computers and network links. and the system may change during the execution of a distributed prog...

A2Z Linux Commands

List of Linux Commands: Command Description alias Create an alias apropos Search manual for keyword at Schedule a job to run in the future. awk Find and Replace text within file(s) break Exit from a loop builtin Run a shell builtin bunzip2 Decompress file from bzip2 format bzip2 Compress file to bzip2 format cal Display a calendar case Conditionally perform a command cat Concatenate files to standard output cd Change Directory cfdisk Partition table manipulator for Linux chgrp Change group ownership chmod Change access permissions chown Change file owner and group chroot Run a command with a different root directory chvt Change the virtual Terminal cksum Print CRC checksum and byte counts clear Clear terminal screen cmp Compare two files comm Compare two sorted files line by line command Run a command – ignoring shell functions compress Compress file(s) to old Unix compress format continue Resume the next iteration of a loop convmv A perl script that c...

Free EBooks List

This post has collection of Free EBooks for all the latest technology available online Meta-Lists 25 Free Computer Science Ebooks Book Training - On Video Cheat Sheets (Free) CodePlex List of Free E-Books Free Tech Books Galileo Computing   (German) How to Design Programs: An Introduction to Computing and Programming Microsoft Press: Free E-Books MindView Inc O'Reilly's Open Books Project Sofware Program Managers Network TechBooksForFree.com Theassayer.org Wikibooks: Programming Graphics Programming DirectX manual   (draft) Learning Modern 3D Graphics Programming   (draft) GPU Gems GPU Gems 2   -   ch 8,14,18,29,30 as pdf GPU Gems 3 Graphics Programming Black Book ShaderX series Language Agnostic 97 Things Every Programmer Should Know Algorithms and Data-Structures   (PDF) Algorithms   (draft) The Architecture of Open Source Applications The Art of Unix Programming Best Kept Secrets of Peer Code Review Binary Trees...