13 March, 2008

An A-Z Index of the Windows XP command line

ADDUSERS Add or list users to/from a CSV file
ARP Address Resolution Protocol
ASSOC Change file extension associations
ASSOCIAT One step file association
AT Schedule a command to run at a later time
ATTRIB Change file attributes

BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info

CACLS Change file permissions
CALL Call one batch program from another
CD Change Directory - move to a specific Folder
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk - check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen
CLUSTER Windows Clustering
CMD Start a new CMD shell
COLOR Change colors of the CMD window
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location
CSCcmd Client-side caching (Offline Files)
CSVDE Import or Export Active Directory data

DATE Display or set the date
Dcomcnfg DCOM Configuration Utility
DEFRAG Defragment hard drive
DEL Delete one or more files
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSADD Add user (computer, group..) to active directory
DSQUERY List items in active directory
DSMOD Modify user (computer, group..) in active directory

ECHO Display message on screen
ENDLOCAL End localisation of environment changes in a batch file
ERASE Delete one or more files
EXIT Quit the CMD shell
EXPAND Uncompress files
EXTRACT Uncompress CAB files

FC Compare two files
FDISK Disk Format and partition
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files
FOR /F Loop command: against the results of another command
FOR Loop command: all options Files, Directory, List
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations

GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line

HELP Online Help
HFNETCHK Network Security Hotfix Checker

IF Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup

KILL Remove a program from memory

LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer.
LOGOFF Log a user off
LOGTIME Log the date and time in a file

MAPISEND Send email from the command line
MEM Display memory usage
MD Create new folders
MKLINK Create a symbolic link (linkd)
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO Windows NT diagnostics
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MUNGE Find and Replace text within file(s)
MV Copy in-use files

NET Manage network resources
NETDOM Domain Manager
NETSH Configure network protocols
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights

PATH Display or set a search path for executable files
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD
PORTQRY Display the status of ports and services
PRINT Print a text file
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who's logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory

QGREP Search file(s) for lines that match a given pattern.

RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Registry: Read, Set, Export, Delete keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file
REN Rename a file or files.
REPLACE Replace or update one file with another
RD Delete folder(s)
RDISK Create a Recovery Disk
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)

SC Service Control
SCHTASKS Create or Edit Scheduled Tasks
SCLIST Display NT Services
ScriptIt Control GUI applications
SET Display, set, or remove environment variables
SETLOCAL Control the visibility of environment variables
SETX Set environment variables permanently
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SOON Schedule a command to run in the near future
SORT Sort input
START Start a separate window to run a specified program or command
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration

TASKLIST List running applications and services
TIME Display or set the system time
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TYPE Display the contents of a text file

USRSTAT List domain usernames and last login

VER Display version information
VERIFY Verify that files have been saved
VOL Display a disk label

WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSD Windows system diagnostics
WINMSDP Windows system diagnostics II
WMIC WMI Commands

XCACLS Change file permissions
XCOPY Copy files and folders

20 Websites That Made Me A Better Web Developer

1) Alertbox: Current Issues in Web Usability

Alertbox: Jakob Nielsen’s Newsletter on Web UsabilityAlertbox is Jakob Nielsen’s
bi-weekly column that discusses web usability. I’ve been a fan of his
for almost as long as I’ve been professionally developing websites.
Most of his recommendations makes sense and is backed by real-world
studies and carefully-constructed surveys.

His columns cover topics such as the merits of breadcrumb navigation to Top-10 Application-Design Mistakes. A great link to provide people when you’re asked about optimal web page design is the column on Screen Resolution and Page Layout.

2) TheBestDesigns.com

days when your creative juices don’t seem to be flowing as it should,
it often helps to look at other people’s work to help inspire you. TheBestDesigns.com
is a gallery site to visit on such days. TBD has a few things that
distinguish them from other web design galleries — among them are:
choosing quality over quantity, showcasing
flash-based as well as CSS-based layouts, and tagging each design with
relevant keywords so that users can conveniently find similar designs.

They showcase truly innovative and skillfully-crafted designs and
they abstain from showcasing the “yet another recycled web 2.0 look”
websites. It might not be updated with hundreds of websites everyday,
but having a strict guideline on what gets displayed on TBD ensures
that you don’t have to filter out the noise to get to the signal.

3) A List Apart

A List Apart: A List Apart logoA List Apart
inspired me to become a proponent of web-standards and semantic code.
Starting out, most of us probably didn’t care about capitalized,
unclosed html tags (… that won’t validate with a strict doctype) or understood the real value of accessibility in web pages.

One of the major influences in my views on web-standards, best
practices, accessibility, and usability can be attributed to a
significant part… to A List Apart. ALA articles are high-quality and
they only come out with two articles a month, but they are worth the
wait. Articles are written by some of the leading experts in the
industry, and their staff include well-renowned pro’s such as Eric Meyer and Jeffrey Zeldman.

4) Getting Real by 37 Signals

Getting Real by 37 SignalsGetting Real
is a book that’s available online, written by 37 Signals. It’s about
creating web-based applications in a productive and successful way. The
book covers topics ranging from philosophies that help push out quality
products to views on hiring the right people to do the job.

Favorite topics covered in the book are: asking users what they don’t want and dealing with problems only when there is one.

5) Digg / Technology

Digg - Technology SectionDigg
is a site where people submit links and vote which content is worthy to
be read by its users and which articles don’t deserve the light of day.
A large part of my ability to keep up with emerging technologies,
techniques, and new standards is because of frequenting Digg’s
Technology section. The community is picky of what is good news and bad
news, so it allows you to skip the junk and get to the good stuff right

Other social-bookmarking sites that will help you stay sharp and current, and that should be mentioned here are: StumbleUpon , del.iciou.us, reddit, and popurls.

6) Web Design from Scratch

Web Design From Scratch logoWeb Design from Scratch is a website run by Ben Hunt, that’s about (straight from the front page) “A complete guide to designing web sites that work“.
It caters primarily to web builders just starting out, but it’s always
good to “go back to the basics” and get a refresher on things that
you’ve taken for granted.

The section on Copy Writing
taught me that web developers shouldn’t be limited to the coding part
or the design part of the project; writing effective copy comes
naturally with the experience we’ve had with developing websites that
succeed and fail.

7) mootools

mootools logomootools
is a lightweight framework that simplifies the way you write JavaScript
and provides you with powerful AJAX classes, effects, and fuctions.
It’s helped with the development of complex web pages in a rapid and elegant way.

There are other JavaScript frameworks similar to mootools, and you
can’t go wrong with any of the popular ones, but a developer’s got to
choose his or her favorite — and for me, mootools is the one I’ve come
to love and use.

8) ReadWriteWeb

Read Write Web logoReadWriteWeb
is a long-standing (five years and counting) weblog about web
technology news. It caters to web professionals that have a need for
knowing what’s up right now. It was founded by Richard MacManus, who also co-founded the Web 2.0 Workgroup - a network of blogs that cover the Web 2.0 generation.

It’s a website that allows you to keep your knowledge up-to-date,
and is a source I consistently cite when talking about current web
technologies with colleagues and fellow developers.

9) Zend Developer Zone

Zend Developer Zone logoThis
is a website written by some of the PHP core developers and they
provide news, articles, tutorials and other stuff related to PHP. If
you’re looking for a reliable source of information about PHP, there’s
no other place to look than the Zend Developer Zone.

Worth taking a look at is the five-part article series about the xdebug extension (here’s the link to Part One: Introducing xdebug), which is, as author Cal Evans puts it, “a free and open source swiss army knife tool for PHP developers”.

10) css Zen Garden

Css Zen Garden - logocss Zen Garden
is an eye-opener for newer CSS developers. css Zen Garden explores the
power of external style sheets by showcasing a variety of designs
contributed by developers throughout the industry.

If you haven’t seen the website before, the concept is: using the same html mark-up, CSS developers submit external stylesheets and images to style the web page into beautifully-looking designs.

It’s a great place to inspire you to push your limits and knowledge regarding CSS.

11) CSSplay: Experiments with Cascading Style Sheets

CSS play logoAnother
wonderful website about CSS. It features demos of CSS-based solutions
such as image galleries, drop shadows, image maps, etc.

The website is authored by a married couple, Stuart (Stu) and Fran
Nicholls, who have been in the computer industry since the 1980’s. Most
of the demos are (or were) cutting edge; the examples are practical and
easy to follow and the website’s easy to navigate.

It’s a commendable resource to check out when you want to gather information about CSS-based solutions.

12) W3Schools Online Web Tutorials

W3 Schools logoThis
is an amazing center of knowledge for all things web development,
covering topics such as JavaScript, HTML, PHP, SQL, and more. At the
bottom of their logo, they quote, “The best things in life are free” -
this is indeed true in their case.

The website is a great starting point towards learning about web
development and design topics and an effective online reference for
those who know about the subject but need a quick refresher.

13) Books24×7.com - ITPro Collection

Books 24×7 - logoThe ITPro Collection at Books24×7.com
features digitalized versions of the top IT books. It’s a fee-based
website, but if you’re able to afford it (or can convince the boss to
get you a subscription), it’s the best way to access quality literature
through the convenience of your computer.

It will also allow you to select the books worthy of buying and adding to your collection.

14) Drupal

drupal.org - logoDrupal restored my faith in open-source applications. Prior to Drupal, I worked on Oscommerce, Zen Cart and Moodle.
All projects had bloated PHP and CSS, poor HTML mark-up (default
layouts used tables, little care for semantic mark-up, amongst a few
things) and were designed with little usability/accessibility in mind.

Drupal’s code — in contrast — was clean, modular (but not excessively so), had a robust API so that you don’t have to tinker with the core files, and most importantly,
the community’s willingness to help out, share information, contribute,
and commitment to quality is my vision of the “Utopian” open-source
community. Since then, projects like Wordpress, Magento, and Joomla!
re-assures us that effective quality solutions don’t come from shelling
out the cash, but rather promoting and contributing as much as you can
to these remarkable communities.

15) Webmonkey: The Web Developer’s Resource

Web Monkey - icon logoHere’s a throw-back to the past! This is here as a reminder to the (slightly)
older/more experienced developers that the site is still up and
running. It was, during their time, a place to visit and learn about
web development, covering topics such as web programming, E-business,
and page design. It also has a “Quick Reference” section on the sidebar.

I remember being amazed at how their “folder navigation” on the
sidebar worked — ever since then, the functionality can now be achieved
quite easily using the DOM and/or a JavaScript framework like mootools.

16) Meyerweb.com: Eric’s Writing

Meyerweb.com - logoThis
is a collection of Eric Meyer’s writings, an accomplished author on the
topic of CSS. Not only is he a CSS expert, but also an advocate of
semantic code. His work was, and is, truly revolutionary. I attribute
my appreciation and understanding of “resetting CSS” to him.

Eric Meyer is one of the key influential people that I truly find to
be talented and knowledgeable in the field of web building. His current
and previous works are worth the time to read.

17) 456 Berea Street

456 Berea St logo456 Berea Street is the creation of Roger Johansson, a web professional from Sweden. His writing is a primary inspiration for starting up of Six Revisions. Topics include book reviews, written work about CSS and XHTML, and web development news and events.

Some pages worth bookmarking are Efficient CSS with shorthand properties (which can be used as a reference to writing “shorthand” CSS - reducing file size and page length) The CSS and XHTML Lab (which features some demonstrations as well as a list of works translated into other languages) and Accessibility myths and misconceptions (a helpful resource to link to when asked about the value of accessibility in web pages).

18) The Web Standards Project

Web Standards Project - logoThe Web Standards Project “fights for standards
that reduce the cost and complexity of development while increasing the
accessibility and long-term viability of any site published on the Web”.

Whether it’s suggesting correct mark-up or rallying web browser developers to render styles/html a certain way, The Web Standards Project
aims to help web developers reduce the amount of time committed to
troubleshooting browser-display issues. The website features articles,
tutorials, and the Acid3 Browser Test (visual rendering tests of your browser).

19) Fiftyfoureleven.com

fiftyfoureleven.com - logoA marvelous website for the modern web developer. The website “is intended to be a resource for web developers: people who design, code and program websites and applications for the web“. The website is part of the 9rules network and is written primarily by Mike Papageorge who chooses to blog about topics such as “Marketing on the Internet” and more specific subjects such as “Olympic Logos“.

Aside from the Web Development Resources sidebar, there’s also a list of the author’s most recent Web Development resources that’s worth a bookmark.

20) SitePoint

SitePoint - logoSitePoint
is one of the older websites that has survived the constantly-changing
tastes of web developers and designers. A co-founder of the website,
Matt Mickiewicz, first had a website called Webmaster-Resources.com Community Forums launched in 1999.

SitePoint had a bit of a lull for a period of time in terms of
popularity; the site’s prominence was replaced by newer, more
“forward-thinking” web development sites.

The site has found its “second wind” with it’s young and modern web
developer audience with an updated design/user interface, frequent
updates, and a new and notable” CSS Reference” section.

Einstein obce said

Einstein at his home in Princeton, New Jersey

"How strange is the lot of us mortals! Each of us is here for a

brief sojourn; for what purpose he knows not, though he sometimes

thinks he senses it. But without deeper reflection one knows from

daily life that one exists for other people -- first of all for

those upon whose smiles and well-being our own happiness is wholly

dependent, and then for the many, unknown to us, to whose destinies

we are bound by the ties of sympathy. A hundred times every day

I remind myself that my inner and outer life are based on the labors

of other men, living and dead, and that I must exert myself in order

to give in the same measure as I have received and am still receiving...

"I have never looked

upon ease and happiness as ends in themselves -- this critical basis

I call the ideal of a pigsty. The ideals that have lighted my way,

and time after time have given me new courage to face life cheerfully,

have been Kindness, Beauty, and Truth. Without the sense of kinship

with men of like mind, without the occupation with the objective

world, the eternally unattainable in the field of art and scientific

endeavors, life would have seemed empty to me. The trite objects

of human efforts -- possessions, outward success, luxury -- have

always seemed to me contemptible.

"My passionate sense

of social justice and social responsibility has always contrasted

oddly with my pronounced lack of need for direct contact with other

human beings and human communities. I am truly a 'lone traveler'

and have never belonged to my country, my home, my friends, or even

my immediate family, with my whole heart; in the face of all these

ties, I have never lost a sense of distance and a need for solitude..."

"My political ideal is

democracy. Let every man be respected as an individual and no man

idolized. It is an irony of fate that I myself have been the recipient

of excessive admiration and reverence from my fellow-beings, through

no fault, and no merit, of my own. The cause of this may well be the

desire, unattainable for many, to understand the few ideas to which

I have with my feeble powers attained through ceaseless struggle.

I am quite aware that for any organization to reach its goals, one

man must do the thinking and directing and generally bear the responsibility.

But the led must not be coerced, they must be able to choose their

leader. In my opinion, an autocratic system of coercion soon degenerates;

force attracts men of low morality... The really valuable thing in

the pageant of human life seems to me not the political state, but

the creative, sentient individual, the personality; it alone creates

the noble and the sublime, while the herd as such remains dull in

thought and dull in feeling.

"This topic brings

me to that worst outcrop of herd life, the military system, which

I abhor... This plague-spot of civilization ought to be abolished

with all possible speed. Heroism on command, senseless violence,

and all the loathsome nonsense that goes by the name of patriotism

-- how passionately I hate them!

"The most beautiful

experience we can have is the mysterious. It is the fundamental

emotion that stands at the cradle of true art and true science.

Whoever does not know it and can no longer wonder, no longer marvel,

is as good as dead, and his eyes are dimmed. It was the experience

of mystery -- even if mixed with fear -- that engendered religion.

A knowledge of the existence of something we cannot penetrate, our

perceptions of the profoundest reason and the most radiant beauty,

which only in their most primitive forms are accessible to our minds:

it is this knowledge and this emotion that constitute true religiosity.

In this sense, and only this sense, I am a deeply religious man...

I am satisfied with the mystery of life's eternity and with a knowledge,

a sense, of the marvelous structure of existence -- as well as the

humble attempt to understand even a tiny portion of the Reason that

manifests itself in nature."

Albert Einstein (signature)

Gmail inline messages

GMail has a wonderful rich text editor to compose emails but there are
some desirable things that you cannot accomplish in GMail using
standard techniques. For example:

1. GMail allows plain text signatures but there's no way to embed HTML signatures with images like the ones you see in Yahoo, Hotmail or Microsoft Outlook email.

Gmail Rich text editor has standard text formatting features like font
sizes, colors, bullets, hyperlinks, indentation, etc. but there's no
way to add other HTML tags like TABLE, DIV, EMBED, etc. So how do
you embed Youtube videos, sophisticated table layouts, Flash animation
movies, inline podcast players like odeo, etc. in GMail

You can compose new email in either Plain text or Rich text but how to
do you compose a new GMail message in native HTML something like a
webpage created in Microsoft Frontpage ?

4. Gmail lets you attach pictures to outgoing email but it shows up as an attachment on the recipients' screen. How do make embed a photograph that appears inline with the actual email message ?

5. You want to embed
the Feedburner Headline Animator graphic or the Feedburner Subscriber
Counter to your GMail signature which is an animated GIF file

Now the really good news is that you can do all the above easily with GMail and here's how to do it:

To embed an HTML signature with Images in GMail ?

an HTML signature snippet using notepad or WYSIWYG editors like
Dreamweaver/Frontpage/Golive or online with
Geocities/GooglePages/Tripod Lycos. Your signature can have all kind of
HTML tags (including DIV, EMBED, TABLE) but all linked Image files,
audio files and video clips must be pointing somewhere the web and not
on your desktop.

Once you are satisfied with the layout, select
the entire portion of the webpage that you want to appear in the GMail
signature and drag it to the GMail compose window. Alternatively you
can copy it to the clipboard and then press Ctrl+V in the Gmail window.

Step 1: The HTML signature is created in Google Page Creator. Select the entire signature and press ctrl+c.

Step 2: Open a new Gmail compose message window. Now either drag the
signature in this GMail window or press Ctrl+V to paste it.

The same technique can be applied to embed anything in your gmail
message. Say you want to embed an image between two sentences, just
drag the image to your gmail compose window and drop it there. It's
that simple but makes you email more appealing as if it's composed
inside Microsoft Word or Outlook.

To embed Feedburner RSS feed
animator, open that graphic in your browser window and drag-n-drop it
anywhere in your gmail message.

You can even point images to
your blog or embed HTML forms so that recipients can subscribe to your
blog directly from your gmail message. Or create tables in Microsoft
word and place them in your email. Or even send entire webpages as
email so readers can view the page in the message itself without having
to click the link. The possibilities are endless.