Display Today’s (Current) Date Dynamically in HTML Pages

The Easy Way <script language=”javascript”> <!– document.write(Date()); –> </script> The easy way provides date, time and timezone information. If you want to display the date only, the following way will do that. The Hard Way <script language=”javascript”> <!– Today = new Date(); TodayDay = Today.getDate(); TodayMon = Today.getMonth(); TodayYear = Today.getYear(); if (TodayYear < 2000) […]

How to recover missing, lost, or deleted files from Windows XP, Vista, Server 2003 and 2008 and Windows 7 as well as Apple Macs

Before reviewing the below recommendations and suggestions, verify that the files have actually been deleted; in some cases the files may have simply been moved. You can search the hard disk drive for the files you believe to be missing by running find or search on the computer. Recover file from backupIf the file has […]

Linux Command: iwconfig

NAME iwconfig – configure a wireless network interface SYNOPSIS iwconfig [interface]iwconfig interface [essid X] [nwid N] [mode M] [freq F][channel C][sens S ][ap A ][nick NN ][rate R] [rts RT] [frag FT] [txpower T][enc E] [key K] [power P] [retry R][commit]iwconfig –helpiwconfig –version DESCRIPTION Iwconfig is similar to ifconfig(8), but is dedicated to the wireless […]

Creating Client SSL VPN on Cisco ASAs

Introduction This document how to allow remote access VPN connections to the ASA from the Cisco AnyConnect 2.0 client.PrerequisitesRequirements Ensure that you meet these requirements before you attempt this configuration: * Basic ASA configuration that runs software version 8.0* ASDM 6.0(2) Components Used The information in this document is based on these software and hardware […]

Password recovery procedure Cisco catalyst fixed configuration layer 2 and 3 switches

IntroductionThis document describes the password recovery procedure for the Cisco Catalyst Layer 2 fixed configuration switches 2900XL/3500XL, 2940, 2950/2955, 2960, and 2970 Series, as well as the Cisco Catalyst Layer 3 fixed configuration switches 3550, 3560, and 3750 Series. Before You BeginConventionsFor more information on document conventions, see the Cisco Technical Tips Conventions. PrerequisitesThere are […]

Time Windows 2000 SERVER

C:>net time /querysntpThis computer is not currently configured to use a specific SNTP server.The command completed successfully. For a list of NTP servers, see this page. Let’s configure it for clock.isc.org: C:>net time /setsntp:clock.isc.orgThe command completed successfully. Verify that it stuck: C:>net time /querysntpThe current SNTP value is: clock.isc.orgThe command completed successfully. You may need […]

Host-based routes Windows Server 2000 2003 XP

To display the entire contents of the IP routing table, type: route print To display the routes in the IP routing table that begin with 10., type: route print 10.* To add a default route with the default gateway address of 192.168.12.1, type: route add 0.0.0.0 mask 0.0.0.0 192.168.12.1 To add a route to the […]