Skip to main content

Posts

IE shortcuts

Ctrl + F Brings up the Find dialog box F5 Refreshes the page Ctrl + N Opens a new browser window Alt + Home Takes you to your homepage Escape Stops loading the current page Ctrl + A Selects the entire page F1

Windows shortcut keys

F2 Select a file and press F2 to rename the file F3 In Windows Explorer and on Desktop, pressing F3 brings up the Find dialog box Alt + Enter Select a file and press Alt + Enter to bring up its Properties dialog box Alt + Space bar Inside a window, press Alt + Spacebar to bring up the system menu of that window Ctrl + Escape Brings up the wi

some OOPS concepts and examples

The class is the description of the object and the object in an instance of the class. For example the class of humans would describe us as having the attributes such as arms, hands, legs and heads; and methods such as talk, think, eat, and sit. However each of us would be an instance of that class, an object. If I can jump it’s because humans can jump, if I can laugh, it’s because humans can laugh. That is, the class defines the methods and attributes for each object belonging to that class. POLYMORPHISM : Polymorphism is the ability for objects to respond differently to the same message, depending upon what type of object they are. For example, members from each of the following classes; Spouse, YoungerBrother, TotalStranger or LawEnforcementOfficer, are likely to behave differently when the hug method is called upon them. Polymorphism becomes very useful when we have a group of related objects upon which we want to perform an operation, but those objects may need to react in differe

Use of Hashes.

Hashes are an advanced form of array. One of the limitations of an array is that the information contained within it can be difficult to get to. For example, imagine that you have a list of people and their ages. The hash solves this problem very neatly by allowing us to access that @ages array not by an index, but by a scalar key. For example to use age of different people we can use thier names as key to define a hash. %ages = ('Martin' => 28, 'Sharon' => 35, 'Rikke' => 29,); print "Rikke is $ages{Rikke} years old\n"; This will produce following result Rikke is 29 years old

currency conversion ( yen to INR )

1 yen = 0.40 rupee Currency Conversion Results Symbol Indian Rupee Exchange Rate Japanese Yen Bid Ask INRJPY=X 1 Sep 5 2.3716 2.3716 2.3716 2.3724 Symbol Japanese Yen Exchange Rate Indian Rupee Bid Ask JPYINR=X 1 Sep 5 0.4205 0.4205 0.4205 0.4206

How to set a crontab

How to Use the Cron and Crontab commands The 'Cron' Command The cron command starts a process that executes commands at specified dates and times. Regularly scheduled commands can be specified according to instructions found in the crontab files in the directory /var/spool/cron/crontabs. Users can submit their own crontab files via the crontab command. The 'Crontab' Command Crontab copies the specified file or standard input if no file is specified, into a directory that holds all users' crontab s. SYNOPSIS : crontab [file] crontab -e [-u username] crontab -r [-u username] crontab -l [-u username] The -e option edits a copy of the current users' crontab file or creates an empty file to edit if crontab does not exist. The -r option removes a user's crontab from the crontab directory. The -l options lists the crontab file for the invoking user. Setting up a Crontab job A crontab file consists of lines of six fields each.The fields are separated by

Dia, a Drawing Tool.

Dia is a GTK+ based diagram creation program for Linux, Unix and Windows released under the GPL license. Dia is inspired by the commercial Windows program 'Visio', though more geared towards informal diagrams for casual use. It is an editor for diagrams, graphs, charts etc. There is support for UML static structure diagrams (class diagrams), Entity-Relationship diagrams, network diagrams and much more. Diagrams can be exported to postscript and many other formats. To install DIA try >sudo apt-get install dia. for more information on Dia follow the links below : Link 1: https://help.ubuntu.com/community/Dia Link 2: http://live.gnome.org/Dia Link 3: http://www.gnome.org/projects/dia/ Dia for windows : Link 4: http://dia-installer.de/index_en.html Tutorials and documentation Dia Tutorial Dia tutorial written by Harry George Dia documentation A chapter about Dia from the book "The GNU/Linux Desktop" by Kayon Toga Dia/UML Tutorial A nic