Sunday, October 31, 2010

HTML Continue

In these Blog spot.com we can’t use the HTML Program format. So I have removed the (<)(/>) symbols and I have Bolded the Letters which had Come inside the Bracket.

2. Eg: Link with Web pages

a href=http://www.bankofindia.com This is a link /a

Note: The link address is specified in the href attribute.

3. Eg: HTML Headings

HTML headings are defined with the h1 to h6 tags.

Example

h1This is a heading/h1
h2This is a heading/h2
h3This is a heading/h3

4.Eg:HTML Paragraphs

HTML paragraphs are defined with the p tag.

Example

pThis is a paragraph./p
p
This is another paragraph./p

5. Eg: HTML Images

HTML images are defined with the img tag.

Example

img src="w3schools.jpg" width="104" height="142" /

Note: The name and the size of the image are provided as attributes.

PC Troubleshooting


Diagnostics with Beep Codes

·         1 short beep specifies a normal post
·         2 short beeps tell about POST errors that can be finding on screen.
·         Continuous beeps indicate power supply and other cards errors.
·         One long and short beep indicates system board problems
·         3 long beeps defines keyboard errors
·         No system beep tells about power supply errors.

PC Troubleshooting


Data Recovery Tips
Accidental loss or deletion of the critical data of your organization can cause big problems for you and for your company.
 If you are a system administrator or a hardware technician and responsible for your company’s data,

·         Use some good data recovery utilities such as File recovery, Recovery My Files, R-tt and a free utility Handy Recovery.
·         If you are responsible for the data and system administrations, use backup tapes drives and regularly take backups of your server’s data.
·         Use UPS and diesel generators if power failure occurs regularly in your area because sudden shutdown can crash your server and other systems.
·         Make a clean humid and dust free environment for your server room.

Saturday, October 30, 2010

REGULAR EXPRESSION – Cont.

Some Definitions:

Literal:

Any Character used in a search or matching expressions.

Metacharacter:

One or more special characters that have a unique meaning and are not used as literals.

Target String:

The string that we will be searching.

Search Expression:

The expression that we will be using to search our target string.

Meta Characters:

  • “[ ]” – Match anything inside the square brackets for one character position once and only once. Eg: [12] searches 1 and 2.
  • “-“ - Range Sperator. Allows us to define a range. Eg: [0-9] searches 0 to 9.
  • “^” – Negates the expression. [^Ff] searches anything except upper/lower case F. And also it looks at the beginning of the word. I.e. “^Hai” looks at the beginning of the word Hai
  • “$” - Looks at the end of the Target String.
  • “.” - Any character in this position. Eg: “ton.” Searches and finds “tons” and "tonneau” and not the “wanton”.

Iteration Metacharacters:

Quantifiers that can control the number of times a character or string is found in our searches.

  • “?” – Matches the preceding character 0 or 1 time only. Eg: “Colou?r” will find both “Colors” and “Colours”
  • “*” – Matches the preceding character 0 or more times. Eg: “tre*” will find “tree” and “tread”.
  • “+” – Matches the previous character 1 or more times exactly.
  • “{n}” – Matches the preceding character n times exactly. Eg: For searching phone no. we can as “[0-9]{3} – [0-9] {4}” which will find as 123 – 4567.
  • “{n,m}” – Matches the preceding character atleast n times but not more than m times. Eg: “ba{2,3}b” will find “baab” and “baaab” but not “bab” or “baaaab”.

Other Metacharacters:

§ “()” – Used to group parts of our search expression together.

§ “|” – Alteration in techspeak means find the left hand or right hand values. Eg: “gra(a|e)y” will find “gray” or “grey”