Saturday, February 9, 2013

Netsh:
Netsh is expanded as Network shell deployed in windows NT and higher systems begining with windows 2000 operating systems. It allows local or remote configuration as an interface.

A common use of Netsh is to reset TCP/IP stack to default.


Common Usage of Netsh Commonds are:


netsh interface ip reset C:\resetlog.txt                                              <<For resettting the log file>>
netsh interface ip set address name="Local Area Connection" static 192.168.1.105 255.255.255.0 192.168.1.1 <<For setting ip address manually>>
netsh interface ip set address name="Local Area Connection" dhcp <<To attain the IP Address through DHCP>>
netsh interface ip add address local 234.234.234.234 255.255.255.0 <<To add secondary ip (Dual IP)>>

Tuesday, February 5, 2013

Date() in Javascript

Display Date in a webpage using Javascript:

<!Doctype html>
<head>
<title>Basic_webpage</title>
<body>
<h1>Today Date</h1>
<br />
<script>
document.write(Date());
</script>
</body>
<head>
</html>

--------------------------------------------------------------

It will display results as 

Today Date


Tue Feb 05 2013 16:48:32 GMT+0530 (India Standard Time)


Web Programming

Web Programming: 


                                   Construction of webpages or web content through scripting and coding using markup and programming languages is described as Web Programming. Basically, webpage can be created using HTML (Hyper text markup language) with the help of basic editors like Microsoft notepad, wordpad and contents can be categorized and can be derived with attractive features by CSS (Cascade style sheets). Images and content of webpage can be animated using Javascript, CGI, perl, ruby, php etc. PHP can be used to create webpages of both server and client side also and data of the tables or database can be stored in MySQL database management systems. 

Basic HTML Webpage

Markup (codeview)
-------------------



BASIC HTML Page: (Viewed in Google Chrome)